Skip to content

[Enhancement]: Ability to switch LLM models if an API encounters errors for an agent #6517

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
distardao opened this issue Mar 25, 2025 · 3 comments
Open
1 task done
Labels
✨ enhancement New feature or request

Comments

@distardao
Copy link

What features would you like to see added?

A feature to set up a list of LLM APIs for an agent, allowing the agent to choose one or more of them under specific conditions.

More details

I noticed that the Anthropic API has been very unstable recently. Can we have a feature to configure LLM APIs in a specific order, by priority, or based on conditions to ensure agents always remain operational?

Which components are impacted by your request?

No response

Pictures

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@distardao distardao added the ✨ enhancement New feature or request label Mar 25, 2025
@distardao
Copy link
Author

I think this list of LLM APIs could come from different providers. This would allow the service provided by the agent to be more stable, which is very important for the user experience in any business.

@harrisonhxy
Copy link

I've encountered this question a lot in my use.
Although I'm looking forward to this feature, I'm considering whether the feature should be better implemented at the backend or API proxy level?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants
@distardao @harrisonhxy and others