Repository navigation
v2.3.9-no-tools
v2.3.9-no-tools - 上下文裁剪 + 路径修复 + 错误兜底
🛠 新增
- 上下文自动裁剪 — 新增
context_manager.py,请求发出前检查 token 数,超长时自动裁剪避免 DeepSeek 报 "Content is too long" /v1/v1/双前缀修复 — Claude Code CLI 等客户端 base URL 带/v1时自动修复路径- Anthropic 流式错误兜底 — 上游返回错误时返回标准 Anthropic error 事件
💡 完整版(含工具调用)见 v2.3.9
English
🛠 Added
- Proactive context pruning — new
context_manager.pychecks token count before sending requests, auto-prunes when exceeding DeepSeek context limit /v1/v1/double-prefix fix — auto-rewrites paths when Claude Code CLI and similar clients include/v1in base URL- Anthropic streaming error handling — returns standard Anthropic error events when upstream errors occur
💡 Full version (with tool calling): v2.3.9