HypoxanthineOvO
a749673de3
fix(accounts): route CN provider anthropic-protocol tests to the native endpoint
...
CN-provider accounts explicitly configured with api_protocol=anthropic
(the frontend offers per-provider presets such as GLM Anthropic) fell
through the account-test router to the generic Claude tester, which:
- appended ?beta=true, which the native passthrough deliberately avoids
for third-party Anthropic endpoints, and
- defaulted a missing base_url to https://api.anthropic.com — sending
the provider's API key to Anthropic instead of the provider's own
Anthropic-compatible endpoint (guaranteed 401 plus cross-provider
credential exposure).
Route them to a dedicated probe that mirrors the adaptive Anthropic
check: resolve the endpoint via GetAnthropicProtocolBaseURL (same
resolution as real /v1/messages forwarding, including per-platform
defaults), use the shared API-key auth header, and mark 401/403 as the
account error state.
Also fail fast with an actionable hint when the anthropic-protocol
base_url still points at an OpenAI-compatible endpoint (paas path,
version segment, or chat/completions suffix): the naive {base}/v1/messages
join would 404 (e.g. /api/paas/v4/v1/messages) without any pointer to
the actual misconfiguration.
2026-08-21 16:37:25 +08:00
shaw
3548256745
chore: update gitignore
2026-08-21 10:01:29 +08:00
Wesley Liddick
4033387fd4
Merge pull request #5925 from IanShaw027/fix/grok-compatibility
...
fix(grok): 对齐官方目录与计费,并修复容量重试、Realtime 握手与媒体兼容
2026-08-21 08:34:38 +08:00
IanShaw
1bff06ea50
修复 Grok Realtime 关闭检查与 rollup 时区断言
...
golangci 要求检查 Realtime 上游 Close 返回值,并删除已无调用的 heavy-model 冷却函数。分组日汇总集成测试在 UTC 晚上跨上海零点时会把水位写成 UTC 日期,将会话时区钉到 Asia/Shanghai。
2026-08-20 09:50:23 -07:00
IanShaw
2e68b10aad
完善 Grok 内容拒绝计费与媒体兼容
2026-08-20 09:12:52 -07:00
IanShaw
39aaf2fea3
收紧 Grok 容量重试与兼容性分类
2026-08-20 08:07:04 -07:00
IanShaw
d78e366db5
补齐 Grok Realtime 握手失败账号冷却
2026-08-20 07:31:19 -07:00
IanShaw
cca235365b
修正 Grok 默认模型测试断言
2026-08-20 07:19:51 -07:00
IanShaw
c628b3eea7
让 Grok stream idle 重试上限作用于主路径
2026-08-20 07:07:55 -07:00
IanShaw
f7bc1970ef
同步 Grok 默认模型回归断言
2026-08-20 07:00:42 -07:00
IanShaw
0b1f79c83c
同步 Grok 429 bridge 回归断言
2026-08-20 06:43:54 -07:00
IanShaw
2ab24a1e77
修正 Grok 429 边界与 stream idle 重试上限
2026-08-20 06:43:31 -07:00
IanShaw
ab9cb69e7e
Revert "修复 Grok WebSearch SSE action 兼容"
...
This reverts commit 726de30101 .
2026-08-20 06:36:42 -07:00
IanShaw
5ae254f771
补齐 Grok CC bridge 同号重试
2026-08-20 06:25:57 -07:00
IanShaw
17c0ee3859
支持 Grok compaction 422 重试
2026-08-20 06:08:34 -07:00
IanShaw
ad87ddee12
补齐 Grok CC 重试与 compaction 恢复
2026-08-20 06:08:09 -07:00
IanShaw
8db8791a73
为 Grok 普通 429 增加有限同号重试
2026-08-20 05:53:55 -07:00
IanShaw
e62ec2c42f
Revert "feat(429): add configurable cooldown and retry strategies"
...
This reverts commit 6c3edc0956 .
2026-08-20 05:44:21 -07:00
IanShaw
6c3edc0956
feat(429): add configurable cooldown and retry strategies
2026-08-20 05:43:43 -07:00
IanShaw
726de30101
修复 Grok WebSearch SSE action 兼容
2026-08-20 05:41:26 -07:00
IanShaw
3243983b72
完善 Grok Realtime 与默认映射测试
2026-08-20 04:26:24 -07:00
IanShaw
f7145c7508
迁移 Grok 默认模型到 4.6
2026-08-20 04:26:15 -07:00
IanShaw
0e05c61d36
修复 Grok 容量冷却与用量计费
2026-08-20 04:26:02 -07:00
IanShaw
e85348be80
调整 Grok 媒体超时与重试语义
2026-08-20 02:39:13 -07:00
IanShaw
61c2f5ad28
复用 Grok Realtime 预握手连接
2026-08-20 02:38:51 -07:00
IanShaw
611a7c8ed3
修复 Grok Realtime 预接入切号
2026-08-20 02:32:51 -07:00
IanShaw
ad26172b83
完善 Grok 限流冷却与用量兼容
2026-08-20 02:32:43 -07:00
IanShaw
39485f2e28
更新 Grok 默认模型与官方计费目录
2026-08-20 02:32:22 -07:00
IanShaw
ed4207a16f
校正 Grok 模型目录计费与工具出站
2026-08-20 01:03:29 -07:00
IanShaw
5ade094318
优化 Grok 传输超时与 Realtime 握手
2026-08-20 01:02:49 -07:00
IanShaw
953028718d
修复 Grok 错误分类与容量重试
2026-08-20 01:02:40 -07:00
github-actions[bot]
2bc139ab52
chore: sync VERSION to 0.1.179 [skip ci]
2026-08-20 07:06:50 +00:00
shaw
c0e073a798
chore: update sponsors
2026-08-20 14:56:47 +08:00
Wesley Liddick
75f88be5f7
Merge pull request #5876 from wucm667/fix/issue-5872-exclude-model-not-found-sla
...
fix(ops): exclude model configuration errors from SLA
v0.1.179
2026-08-20 14:45:08 +08:00
Wesley Liddick
740f580801
Merge pull request #5842 from SavitarC/feat/adaptive-api-protocol
...
feat(accounts): 添加账号支持自适应API 协议
2026-08-20 14:43:41 +08:00
Wesley Liddick
752b3d8574
Merge pull request #5881 from X-T-E-R/codex/promote-grok-tool-search-discoveries
...
fix(grok): promote Codex tool-search discoveries into callable tools
2026-08-20 14:00:17 +08:00
SavitarC
b3092145db
fix(accounts): harden adaptive protocol compatibility
2026-08-20 13:57:25 +08:00
Wesley Liddick
fb94fd352b
Merge pull request #5834 from xuhaihan/feat/configurable-proxy-probe-targets
...
feat(proxy): allow configurable probe targets
2026-08-20 13:40:35 +08:00
Wesley Liddick
cb7fef14c0
Merge pull request #5838 from xuhaihan/fix/admin-user-role-select-styling
...
fix(frontend): align admin role selector styling
2026-08-20 13:40:21 +08:00
Nai Long 7th
06fc0055cd
Merge remote-tracking branch 'origin/main' into codex/promote-grok-tool-search-discoveries
2026-08-20 12:37:45 +08:00
Nai Long 7th
9ede0f7165
fix(grok): promote tool-search discoveries into callable tools
2026-08-20 12:37:39 +08:00
SavitarC
85051616f9
feat(accounts): add adaptive API protocol routing
2026-08-20 11:52:05 +08:00
wucm667
6b0ec50f24
fix(ops): exclude model configuration errors from SLA
...
404 model_not_found remains unchanged while ops attribution becomes routing/business-limited.
2026-08-20 10:52:29 +08:00
Wesley Liddick
1b5dc676a9
Merge pull request #5851 from IanShaw027/feat/channel-pricing-tier-multipliers
...
fix(billing): restore Fast tier pricing under channel overrides, add configurable multipliers
2026-08-20 10:13:17 +08:00
Wesley Liddick
394b12afdc
Merge pull request #5875 from hansnow/fix/admin-platform-filter-options
...
fix(admin): 补全平台筛选选项
2026-08-20 10:07:46 +08:00
Wesley Liddick
2d03e40fd6
Merge pull request #5868 from X-T-E-R/codex/fix-grok-tool-search-output
...
fix(grok): lower Codex tool-search discovery outputs
2026-08-20 10:07:11 +08:00
hansnow
1f2a87adb0
fix(admin): 补全平台筛选选项
2026-08-20 10:00:09 +08:00
Nai Long 7th
5b2089c5a3
fix(grok): lower Codex tool-search discovery outputs
2026-08-20 06:55:47 +08:00
IanShaw
d4d2c746c5
前端:修正账号长上下文开关门控
2026-08-19 06:35:11 -07:00
IanShaw
d536795e93
测试:同步长上下文计费断言
2026-08-19 06:35:11 -07:00