WeKnora/internal/models/chat
MEKXH c2cdc16712 fix(chat): strip thinking content from model output
Handle thinking models that return wrapped content even when
Thinking=false is configured. This is a fallback strategy for models
like MiniMax-M2.1 that do not fully support the Thinking parameter.
The thinking tags and their enclosed content are completely stripped.
2026-02-04 19:35:55 +08:00
..
chat.go feat: add thinking mode support for agents 2026-01-20 18:19:44 +08:00
lkeap.go feat: add thinking mode support for agents 2026-01-20 18:19:44 +08:00
ollama.go feat: 增强模型选择和错误处理机制 2025-12-31 15:36:20 +08:00
provider_chat.go feat: add thinking mode support for agents 2026-01-20 18:19:44 +08:00
qwen.go feat: add thinking mode support for agents 2026-01-20 18:19:44 +08:00
remote_api.go fix(chat): strip thinking content from model output 2026-02-04 19:35:55 +08:00
remote_api_test.go refactor: Clean up code by removing unnecessary blank lines and improving comments for better readability and maintainability 2025-11-28 16:10:37 +08:00
sse_reader.go feat: add thinking mode support for agents 2026-01-20 18:19:44 +08:00