Agent stops working: "The AI service rejected the request due to an error. This could be caused by an invalid API key or an improperly formatted request." #4819
Unanswered
leondape
asked this question in
Troubleshooting
Replies: 1 comment 2 replies
-
Issues are for reproducible errors and I can’t reproduce this. However I will keep trying and handle the null content edge case. try to reproduce it reliably. Are you switching agents mid conversation? Switching endpoints? it could be a context window issue. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What happened?
I've built multiple agents with tools (Dalle but also custom tools)
All Chats with various agents get this bug after a while. From that point on such a chat is completely broken.
You must start a new chat, otherwise you will always receive the error.
I cannot pin down what is causing it: Tool usage, long system prompts, or a specific model. For now I think it happens on all cases.
I have the feeling that the issue appears more on longer chats, but I am absolutely not sure about that.
I belive it hast nothing to do with any API key, as it just happens!
Steps to Reproduce
What browsers are you seeing the problem on?
No response
Relevant log output
Screenshots
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions