-
Notifications
You must be signed in to change notification settings - Fork 19.3k
Labels
feature requestrequest for an enhancement / additional functionalityrequest for an enhancement / additional functionality
Description
Checked other resources
- This is a feature request, not a bug report or usage question.
- I added a clear and descriptive title that summarizes the feature request.
- I used the GitHub search to find a similar feature request and didn't find it.
- I checked the LangChain documentation and API reference to see if this feature already exists.
- This is not related to the langchain-community package.
Feature Description
To better support structured output, create_agent no longer supports pre-bound models with tools or configuration:
BUT w/o pre-bound models, we cannot pass model.with_fallback to create_agent, that means we lost the capability of failover when openai outage
Use Case
I want to build agent support failover when openai outage, w/ create_react_agent it can support pre-bound model.with_fallback().
but langchain.agents create_agent disabled it.
Proposed Solution
I request create_agent support pre-bound model.with_fallback()
Alternatives Considered
No response
Additional Context
No response
mahimairaja
Metadata
Metadata
Assignees
Labels
feature requestrequest for an enhancement / additional functionalityrequest for an enhancement / additional functionality