You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Agent tries to use ImageDescriptionService but can't get image description from a twitter post, API respond with this error message when trying to send a request : "You uploaded an unsupported image. Please make sure your image has of one the following formats: ['png', 'jpeg', 'gif', 'webp']."
To Reproduce
Download the latest repo and use any character with a twitter client. Make sure to add the fix in this PR.
set ENABLE_ACTION_PROCESSING=true in your .env file to enable your agent to interact with pictures and wait for it.
Once your agent tries to get an image description from a tweet, you get this error :
`
["◎ Processing images in tweet for context"]
⛔ ERRORS
OpenAI API error:
400
{
"error": {
"message": "You uploaded an unsupported image. Please make sure your image has of one the following formats: ['png', 'jpeg', 'gif', 'webp'].",
"type": "invalid_request_error",
"param": null,
"code": "invalid_image_format"
}
}
⛔ ERRORS
OpenAI request failed (attempt
1
):
{}
⛔ ERRORS
OpenAI API error:
400
{
"error": {
"message": "You uploaded an unsupported image. Please make sure your image has of one the following formats: ['png', 'jpeg', 'gif', 'webp'].",
"type": "invalid_request_error",
"param": null,
"code": "invalid_image_format"
}
}
⛔ ERRORS
OpenAI request failed (attempt
2
):
{}
⛔ ERRORS
OpenAI API error:
400
{
"error": {
"message": "You uploaded an unsupported image. Please make sure your image has of one the following formats: ['png', 'jpeg', 'gif', 'webp'].",
"type": "invalid_request_error",
"param": null,
"code": "invalid_image_format"
}
}
⛔ ERRORS
OpenAI request failed (attempt
3
):
{}
⛔ ERRORS
Error in recognizeWithOpenAI:
{}
⛔ ERRORS
Error in handleTextOnlyReply:
{}
`
Expected behavior
Screenshots
Additional context
I will be adding a PR to solve this issue shortly
The text was updated successfully, but these errors were encountered:
What is the version of ElizaOS you running ? Any other details of the configuration to inspect the issue ?
1.7 release.
I solved this issue with this PR
What is the version of ElizaOS you running ? Any other details of the configuration to inspect the issue ?
1.7 release.
I solved this issue with this PR
I had to fix another part and i was getting errors so i wil push probably a different version.
tnks mate to contribute.
Describe the bug
Agent tries to use ImageDescriptionService but can't get image description from a twitter post, API respond with this error message when trying to send a request : "You uploaded an unsupported image. Please make sure your image has of one the following formats: ['png', 'jpeg', 'gif', 'webp']."
To Reproduce
`
["◎ Processing images in tweet for context"]
⛔ ERRORS
OpenAI API error:
400
{
"error": {
"message": "You uploaded an unsupported image. Please make sure your image has of one the following formats: ['png', 'jpeg', 'gif', 'webp'].",
"type": "invalid_request_error",
"param": null,
"code": "invalid_image_format"
}
}
⛔ ERRORS
OpenAI request failed (attempt
1
):
{}
⛔ ERRORS
OpenAI API error:
400
{
"error": {
"message": "You uploaded an unsupported image. Please make sure your image has of one the following formats: ['png', 'jpeg', 'gif', 'webp'].",
"type": "invalid_request_error",
"param": null,
"code": "invalid_image_format"
}
}
⛔ ERRORS
OpenAI request failed (attempt
2
):
{}
⛔ ERRORS
OpenAI API error:
400
{
"error": {
"message": "You uploaded an unsupported image. Please make sure your image has of one the following formats: ['png', 'jpeg', 'gif', 'webp'].",
"type": "invalid_request_error",
"param": null,
"code": "invalid_image_format"
}
}
⛔ ERRORS
OpenAI request failed (attempt
3
):
{}
⛔ ERRORS
Error in recognizeWithOpenAI:
{}
⛔ ERRORS
Error in handleTextOnlyReply:
{}
`
Expected behavior
Screenshots
Additional context
I will be adding a PR to solve this issue shortly
The text was updated successfully, but these errors were encountered: