crewai - 💡(How to fix) Fix [FEATURE]The latest version of DeepSeek is incompatible with reasoning_content. [2 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

│ Error: OpenAI API call failed: Error code: 400 - {'error': {'message': 'The reasoning_content in the thinking mode │ ERROR:crewai.flow.flow:Error executing listener call_llm_native_tools: Error code: 400 - {'error': {'message': 'The reasoning_content in the thinking mode must be passed back to the API.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_request_error'}}

Fix Action

Fixed

RAW_BUFFERClick to expand / collapse

Feature Area

Core functionality

Is your feature request related to a an existing bug? Please link it here.

LLM Call Failed │ │ Error: OpenAI API call failed: Error code: 400 - {'error': {'message': 'The reasoning_content in the thinking mode │ │ must be passed back to the API.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_request_error'}}

[CrewAIEventsBus] Warning: Event pairing mismatch. 'llm_call_failed' closed 'agent_execution_started' (expected 'llm_call_started') ERROR:crewai.flow.flow:Error executing listener call_llm_native_tools: Error code: 400 - {'error': {'message': 'The reasoning_content in the thinking mode must be passed back to the API.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_request_error'}}

The latest version of DeepSeek has added DeepSeek-V4-Flash and DeepSeek-V4-Pro. In the thinking mode, in addition to the "content" parameter, it will also return the "reasoning_content" parameter. Currently, this may not be compatible.

Describe the solution you'd like

Hope to achieve better compatibility with the return type of deepseek

Describe alternatives you've considered

No response

Additional context

No response

Willingness to Contribute

I can test the feature once it's implemented

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

crewai - 💡(How to fix) Fix [FEATURE]The latest version of DeepSeek is incompatible with reasoning_content. [2 pull requests]