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
2026-01-01 22:39:55 +08:00
2024-12-08 03:43:04 +08:00
2025-12-10 15:11:44 +08:00
2026-01-01 22:36:24 +08:00
2024-07-27 17:04:30 +08:00
2025-08-27 23:42:46 +08:00
2026-01-18 17:21:07 +08:00
2024-06-28 00:14:15 +08:00
2025-03-09 16:21:47 +08:00
2025-02-21 18:00:06 +08:00