- 27 Feb, 2026 2 commits
-
-
Wesley Liddick authored
fix(frontend): 批量编辑添加跨平台模型映射警告与智能过滤
-
Wesley Liddick authored
fix(gateway): count_tokens 不支持时返回 404 而非伪造的 200
-
- 26 Feb, 2026 19 commits
-
-
alfadb authored
-
alfadb authored
PR #635 returned HTTP 200 with {"input_tokens": 0} when upstream doesn't support count_tokens (404). This caused Claude Code CLI to trust the zero value, believing context uses 0 tokens, so auto-compression never triggers. Fix: return 404 with proper error body so CLI falls back to its local tokenizer for accurate estimation. Return nil (not error) to avoid polluting ops error metrics with expected 404s. Affected paths: - Passthrough APIKey accounts: upstream 404 now passed through as 404 - Antigravity accounts: same fix (was also returning fake 200) -
cagedbird043 authored
- useModelWhitelist.ts 添加 gpt-5.3-codex、gpt-5.3-codex-spark - BulkEditAccountModal.vue 添加 5.3 模型选项与预设按钮(含 5.2→5.3 升级映射)
-
shaw authored
-
cagedbird043 authored
-
cagedbird043 authored
- 新增 selectedPlatforms prop,从父组件传入选中账号的平台集合 - 根据选中平台过滤模型列表与预设映射按钮,避免误操作 - 混选多平台时显示 amber 警告横幅,提醒用户注意映射适用性 - 仅警告不阻断,保持加法兼容
-
Wesley Liddick authored
refactor(admin): 消除测试连接 Gemini 模型硬编码,统一由 DefaultModels 提供
-
Wesley Liddick authored
feat(antigravity): 更新 opencode.json 模板至 Claude 4.6 并补齐模型支持
-
cagedbird043 authored
-
cagedbird043 authored
-
cagedbird043 authored
-
cagedbird043 authored
-
shaw authored
FetchGoogleOneTier 原先在方法内部直接创建 DriveClient 实例, 导致单元测试中对 googleapis.com 发起真实 HTTP 请求,在 CI 环境 产生 401 错误。 将 DriveClient 作为依赖注入到 GeminiOAuthService,遵循项目 端口与适配器架构规范: - 新增 repository/gemini_drive_client.go 作为 Provider - 注册到 repository Wire ProviderSet - 测试中使用 mockDriveClient 替代真实调用
-
Wesley Liddick authored
fix: count_tokens 端点不支持时降级返回空值
-
Wesley Liddick authored
移除 PostgreSQL 容器多余重复的 PGDATA 环境变量
-
alfadb authored
第三方 Anthropic 中转站通常不支持 /v1/messages/count_tokens 端点, 上游返回 404 时降级返回 {input_tokens: 0},客户端 fallback 到本地估算。 - 仅匹配 404 状态码,语义明确:端点不存在 - 其他错误 (400/429/500) 保留原始处理链和 ops 遥测 - 无需解析错误消息内容,不依赖字符串匹配 - 新增 table-driven 测试覆盖 fallback 和 non-fallback 路径 -
Lemon authored
-
Wesley Liddick authored
fix(antigravity): 补全测试连接 Gemini 模型列表并新增 3.1 Pro High/Low 支持
-
Wesley Liddick authored
feat: 对齐 Gemini v1beta 模型模板与映射顺序
-
- 25 Feb, 2026 18 commits
-
-
cagedbird043 authored
-
cagedbird043 authored
-
cagedbird043 authored
-
cagedbird043 authored
-
Wesley Liddick authored
feat: 补齐 OpenCode 模板中的 OpenAI 与 Antigravity 模型配置
-
cagedbird043 authored
-
cagedbird043 authored
-
shaw authored
-
Wesley Liddick authored
Sora 平台: SDK 重构、JSON 转义修复及 AT 手动导入
-
huangenjun authored
使用安全的 comma-ok 模式替代裸类型断言,避免 golangci-lint errcheck 报错。 Co-Authored-By:Claude Opus 4.6 <noreply@anthropic.com>
-
huangenjun authored
新增 Access Token 输入方式,支持批量粘贴(每行一个)直接创建账号, 无需经过 OAuth 授权流程。 Co-Authored-By:Claude Opus 4.6 <noreply@anthropic.com>
-
huangenjun authored
新增 jsonMarshalRaw 使用 SetEscapeHTML(false) 替代 json.Marshal, 避免 HTML 字符转义导致客户端无法直接使用返回的 URL。 Co-Authored-By:Claude Opus 4.6 <noreply@anthropic.com>
-
huangenjun authored
使用 go-sora2api v1.1.0 SDK 替代原有 ~2000 行自建 HTTP/PoW/TLS 指纹代码, SDK 提供高并发性能优化(实例级 rand、PoW 缓冲区复用、context.Context 支持)。 - 新增 SoraSDKClient 适配器实现 SoraClient 接口 - 精简 sora_client.go 为仅保留接口和类型定义 - 更新 Wire 绑定使用 SoraSDKClient - 删除 SoraDirectClient、sora_curl_cffi_sidecar、sora_request_guard 等旧代码 Co-Authored-By:Claude Opus 4.6 <noreply@anthropic.com>
-
shaw authored
-
Wesley Liddick authored
feat: 补充 Antigravity 的 Gemini 3.1 Pro 透传快捷按钮
-
Wesley Liddick authored
fix: 默认补全 Antigravity 的 Gemini 3.1 Pro 透传映射
-
Wesley Liddick authored
docs: 增加跨平台批量修改导致模型映射丢失的排障经验
-
Wesley Liddick authored
feat: 反重力(Antigravity)增强、Failover 重构及新模型支持
-
- 24 Feb, 2026 1 commit
-
-
cagedbird043 authored
-