chenchun
ca43879cc3
fix: 优化 Anthropic 流式对话错误提示并移除 -thinking 处理
- 统一并增强错误消息:在响应包含 "prompt is too long" 或 "提示词太长" 时,增加友好提示,建议在 claudecode 中执行 /compact 或开启新会话重试。
- 将流式与非流式的异常信息处理统一,抛出包含详细提示的异常并保留日志。
- 移除对 input.Model.EndsWith("-thinking") 及替换 "-thinking" 的处理(清理冗余逻辑)。
2026-01-26 11:37:31 +08:00
..
2026-01-26 11:37:31 +08:00
2025-08-15 23:41:01 +08:00
2026-01-19 22:12:07 +08:00
2025-08-09 13:14:15 +08:00
2026-01-24 01:16:38 +08:00
2026-01-25 14:13:24 +08:00
2025-12-24 00:22:46 +08:00
2025-12-17 18:47:28 +08:00