Skip to content

v1.9.90 Claude Code tool parse + package layout

Latest

Choose a tag to compare

@HM2899 HM2899 released this 15 Jul 16:01

Highlights

  • 修复 Claude Code The model's tool call could not be parsed (retry also failed)
  • 空 schema 工具(EnterPlanMode / TaskList / ExitPlanMode 等)补 input: {}
  • stop_reason=tool_use 仅在实际发出 tool_use 内容块时返回
  • 丢弃不完整 tool arguments,不再下发 {"_raw":...} 触发 malformed
  • 流式 / 非流式 Anthropic 兼容路径同一规则

Package layout

业务代码迁入 grok2api/

  • grok2api/admin/ — 管理台、API Key、设置、任务日志、用量
  • grok2api/pool/ — 账号池、认证、配额、模型健康、token 维护、会话粘性
  • grok2api/protocol/ — Anthropic / OpenAI Responses 协议兼容
  • grok2api/upstream/ — Grok 上游、OIDC、sub2api、代理
  • grok2api/store/ — Redis + PostgreSQL 适配

根目录与 store/* 保留兼容 shim,旧 import config / python app.py 仍可用。

Image

docker pull ghcr.io/hm2899/grokcli-2api:1.9.90
docker pull ghcr.io/hm2899/grokcli-2api:latest

Inherit

  • v1.9.89 使用明细思考强度英文标签
  • free-usage 硬冷却踢号 / 负载分散轮换 / CPA 会话粘性