Experimental Agents broken with custom endpoints #4303
Unanswered
returnofblank
asked this question in
Troubleshooting
Replies: 6 comments 1 reply
|
I will confirm that I had the issue. I use custom and litellm as a backend. |
0 replies
|
This is expected since functionality with custom endpoints is not currently supported. I have not advertised this feature to be used. If you find it great, you're welcome to try it out and report issues, I may even start a dedicated discussion for this once I make a proper announcement for users to test this. |
0 replies
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
What happened?
Note: This is only tested with OpenRouter, this may not apply to other custom endpoints. Unfortunately I do not have the resources to try with something else.
When choosing a custom endpoint in the agent creation menu, and then choosing a model (any model from what I found), exiting out will lead to this error.
I have no concrete theory as to what is causing this. But I assume something on the front end is passing a broken input to the
chatCompletionfunction atapi/server/controllers/agents/client.jssince the error appears in the logs.Again, this theory is mostly baseless. I unfortunately do not have the time to go more in depth, as I wish to rewatch The Orville at this moment, not make another issue.
Steps to Reproduce
What browsers are you seeing the problem on?
No response
Relevant log output
2024-10-02T02:03:46.493Z debug: [api/server/controllers/agents/client.js] chatCompletion { baseURL: undefined, // 1 payload(s) payload: [{"role":"user","content":"\nUnexpected Application Error!\nn.toLowerCase is not a function\ni_@ht... [truncated]], }Screenshots
No response
Code of Conduct
All reactions