Repository navigation
v2.1.20-beta.0543eaa
Pre-release
Pre-release
·
39 commits
to dev
since this release
✨ 本次更新
- 优化了响应截断的处理逻辑,当 AI 回复因达到长度限制而中断时,现在能更准确地向客户端反馈“达到最大 Token”或“被拒绝”状态。
- 修复了在开启系统代理或断网时,发往本地模型(如 Ollama/localhost)的请求被错误拦截导致连接失败的问题。
- 修复了账户列表无法正确统计和显示 Antigravity 账户的问题,避免在仅有此类账户时错误显示“暂无已连接账户”。
- 修复了流式请求失败时错误地返回“成功”状态码(200)的问题,确保客户端(如 Claude Code)能正确识别错误并触发重试。
- 显著提升了 Anthropic、Gemini 与 OpenAI 协议之间的转换兼容性,修复了图片输入、工具调用(Tool Use)及结构化输出在跨平台转发时的多项异常。
- 修复了在账号登录模式下,使用图片生成功能(DALL-E)可能返回 400 错误的问题。
- 修复了 Docker 部署中新版本配置文件(如价格表)无法自动同步到旧配置卷的问题,解决了 Token 计费估算显示为 0 的故障。
- 修复了长连接会话在网络波动导致 WebSocket 断开后,后续请求可能陷入永久 502 错误的问题,现在支持自动尝试恢复会话。
What's New
- Improved handling of truncated responses; when an AI response is cut off due to length limits, it now correctly reports "max_tokens" or "refusal" status to the client.
- Fixed an issue where connections to local models (e.g., Ollama on localhost) would fail when a system proxy was active or the network was disconnected.
- Fixed the account list UI to correctly count and display Antigravity accounts, preventing the "No accounts connected" message when only these accounts are present.
- Fixed a bug where failed streaming requests incorrectly returned a "Success" (200) status, ensuring clients like Claude Code can properly trigger retries.
- Enhanced compatibility for protocol translation between Anthropic, Gemini, and OpenAI, fixing issues with image inputs, tool calls, and structured outputs.
- Fixed an issue where the image generation (DALL-E) endpoint might return a 400 error when using the app in account login mode.
- Fixed a Docker deployment issue where new default configuration files (like pricing tables) were not updated in existing volumes, which caused token cost estimates to stay at zero.
- Fixed an issue where long-running sessions could get stuck in a permanent 502 error state after a WebSocket disconnection; the app now attempts to recover the session automatically.
完整提交记录 / Full commit list
- fix(translation): report truncation from response.incomplete as max_tokens/refusal