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
{{ message }}
Repository navigation
fix(provider): assistant tool-call messages missing reasoning_content for interleaved models #23824
Bug: When using interleaved reasoning models (e.g. Kimi K2.5, K2.6 via OpenAI-compatible), historical assistant messages containing tool calls but no reasoning parts fail validation with:
thinking is enabled but reasoning_content is missing in assistant tool call message at index X
Root cause: only adds empty for messages after the last user turn. Historical assistant messages with tool calls are skipped.
Fix: Force (empty string) on all interleaved assistant messages that contain tool calls, not just post-user messages.
No issue template was used. Please use the Bug Report template, which requires a Description field with real content, steps to reproduce, and system information.
The title uses a commit-message format (fix(provider): ...). Bug report titles should describe the problem, not the proposed fix.
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
Activity
github-actions commentedon Apr 22, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
fix(provider): ...). Bug report titles should describe the problem, not the proposed fix.Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
If you believe this was flagged incorrectly, please let a maintainer know.