Is there a way to have ChatOpenAI with_fallback function to use circuitbreaker? #31187
Replies: 1 comment 2 replies
-
Hello @polavishnu4444! I'm Dosu, a friendly bot here to help you with bugs, answer questions, and assist you in becoming a contributor. While you're waiting for a human maintainer, feel free to share your thoughts or issues, and I'll do my best to assist you! Yes, you can implement a circuit breaker mechanism in the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
-
Currently the with_fallback needs to wait for the actual config LLM agent to fail and then only it would go to fallback. In case of any outages, the actual LLM would anyways be failing after a while, is there a way to have some form of circuit breaker that can by pass the first one and directly go to the fallback one instead?
Beta Was this translation helpful? Give feedback.
All reactions