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
fix: strip Kimi thinking tokens from model responses
Fixes#6 - Raw session tool outputs with Kimi thinking tokens were
visible on Telegram/TUI despite verboseDefault being off.
- Add KIMI_BLOCK_RE to strip full thinking blocks
- Add KIMI_TOKEN_RE to strip standalone tokens like <|end▁of▁thinking|>
- Add THINKING_BLOCK_RE and THINKING_TAG_RE for standard <think> tags
- Apply stripThinkingTokens() to response content in SSE conversion
0 commit comments