You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(js/plugins/compat-oai): Add reasoning_content support to OpenAI conversions
This commit adds support for handling reasoning_content in both streaming
and non-streaming for OpenAI Compatible API Chat Completions responses, allowing models that support reasoning_content
to properly return their reasoning traces.
ref: https://docs.x.ai/docs/guides/reasoning
CHANGELOG:
- [x] Add reasoning_content handling in fromOpenAIChoice
- [x] Add reasoning_content handling in fromOpenAIChunkChoice
- [x] Add test cases for reasoning_content in both functions
0 commit comments