eliza icon indicating copy to clipboard operation
eliza copied to clipboard

Error in recognizeWithOpenAI

Open Laurentiu-Andronache opened this issue 2 months ago • 1 comments

Describe the bug

For example, for this tweet with a photo: I guess it's supposed to generate a description for the image, to "understand" it.

Getting:

  [37m The symbol of behavioral economics is a fly etched into a urinal to reduce spillage.
  
  Apparently, no scientific study of the effect exists.
  
  It's becoming hard to avoid the impression that behavioral economics, broadly speaking, is a collection of made-up cocktail-party stories. https://t.co/8XjMS3lh8U [0m

[31m ⛔ ERRORS
  [31m OpenAI request failed (attempt 1): [0m
  [31m {} [0m

[31m ⛔ ERRORS
  [31m OpenAI request failed (attempt 2): [0m
  [31m {} [0m

[31m ⛔ ERRORS
  [31m OpenAI request failed (attempt 3): [0m
  [31m {} [0m

[31m ⛔ ERRORS
  [31m Error in recognizeWithOpenAI: [0m
  [31m {} [0m

Error engaging with search terms: Error: HTTP error! status: 404
    at _ImageDescriptionService.requestOpenAI (file:///home/laur/dev/eliza/packages/plugin-node/dist/index.js:500:27)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async _ImageDescriptionService.recognizeWithOpenAI (file:///home/laur/dev/eliza/packages/plugin-node/dist/index.js:462:26)
    at async TwitterSearchClient.engageWithSearchTerms (file:///home/laur/dev/eliza/packages/client-twitter/dist/index.js:1329:37)
[37m ["◎ Generating text..."] [0m```


**To Reproduce**

<!-- Steps to reproduce the behavior. -->

**Expected behavior**

<!-- A clear and concise description of what you expected to happen. -->

**Screenshots**

<!-- If applicable, add screenshots to help explain your problem. -->

**Additional context**

<!-- Add any other context about the problem here. -->

Laurentiu-Andronache avatar Dec 15 '24 19:12 Laurentiu-Andronache