Unhandled error type aborted when using Agent #5914
Replies: 4 comments 4 replies
-
Some LLMs are better with tools than others, or it could be a context issue. Are you sure there aren't any more logs for this? Log locations:
There are two types of logs that can help diagnose the issue:
Error logs contain exact stack traces and are especially helpful, but both can provide valuable information. |
Beta Was this translation helpful? Give feedback.
-
We are also experiencing something similar using gpt-4o or gpt-4o-mini through Azure OpenAI with Agents. The error displayed in the UI is: The log from the LibreChat-API Docker container is:
The log from debug-2025-02-27.log in the logs directory is:
Edit: It looks like turning off "Resend files" for the model helps avoid the above error. |
Beta Was this translation helpful? Give feedback.
-
It seems to me these could be connection issues somewhere along the pipeline. with tool usage, the amount of integrations being used at once grows. If there was an error in the codebase, it would show up properly in the logs, but an Abort error, especially an unexpected one, could mean something is timing out or severing the connection |
Beta Was this translation helpful? Give feedback.
-
+1 we're seeing this with an agent that has 260 uploaded small files, less than 2MB altogether. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
As per title, I'm using an agent with a few tools and whenever the agent calls one of its tools I get an error:
At least for me, this only happens for certain models like
us.amazon.nova-pro-v1:0
andus.amazon.nova-lite-v1:0
. Besides from this specific feature, the models work fine in LibreChat, so I'm inclined to think it's an agent specific issue.Likewise, the same exact agent with the same set of tools works fine with other models (i.e.
us.anthropic.claude-3-5-sonnet-20241022-v2:0
), so I would also exclude agent or tool-specific issues.Based on the model's documentation, these models should support tool usage, so I'm unsure about what's happening.
With that said, since the error is quite opaque/non descriptive I'm unsure how to troubleshoot it further and would appreciate some help. These models are quite cheaper, so I'd like to use them in place of the Anthropic ones for this type of task.
Beta Was this translation helpful? Give feedback.
All reactions