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 on Kimi K2.6 #23827
Problem
Using Kimi K2.6 with , long sessions fail with:
When it happens
Historical assistant messages that contain parts but no parts don't get injected. The existing fix () only covers messages after the last user turn.
Repro
Start a session with Kimi K2.6
Trigger a tool call (e.g. On branch fix/permission-reasoning-truncation
Your branch is up to date with 'origin/fix/permission-reasoning-truncation'.
Untracked files:
(use "git add ..." to include in what will be committed)
fkyah3_dev/
nothing added to commit but untracked files present (use "git add" to track))
3. Continue conversation until ~80+ messages
4. Re-open the session and send any message → error on historical tool-call assistants
Fix approach
In , force empty for all assistant messages containing parts when is enabled, not just post-last-user messages.
Activity
github-actions commentedon Apr 22, 2026
This issue might be a duplicate of existing issues. Please check:
All of these reports describe the same root cause and reference the same fix implementation. Please consolidate into a single issue.