-
Notifications
You must be signed in to change notification settings - Fork 19.8k
feat(openai): Include support for reasoning blocks when using openai compatible llm gateways #34049
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
base: master
Are you sure you want to change the base?
Conversation
CodSpeed Performance ReportMerging #34049 will not alter performanceComparing Summary
Footnotes
|
|
TODO:
|
Description:
Include reasoning and thinking blocks inside additional_args for AIMessage when using reasoning models with custom llm gateway proxies.
This makes the openai chatmodel compatible with OpenAI compatible LLM Gateways such as the LiteLLM proxy with reasoning and thinking models like anthropic and deepseek:
https://docs.litellm.ai/docs/reasoning_content
Issue:
Fixes #30530
Dependencies:
Lint and test