Chenyme
|
c7b4a51aa0
|
Merge branch 'main' of https://github.com/chenyme/grok2api
v3.0.6
|
2026-07-20 15:48:59 +08:00 |
|
Chenyme
|
cf859b5bf3
|
chore: bump version to v3.0.6
|
2026-07-20 15:47:48 +08:00 |
|
Chenyme
|
0e0026679e
|
Merge pull request #718 from chenyme/grok_build_0.2.106
feat: align Grok Build 0.2.106 protocol compatibility
|
2026-07-20 15:47:28 +08:00 |
|
Chenyme
|
3019b0cbfa
|
feat: align Grok Build 0.2.106 protocol compatibility
|
2026-07-20 15:43:16 +08:00 |
|
Chenyme
|
dbdf065670
|
Merge pull request #717 from chenyme/key
feat: implement unlimited RPM and concurrency options for client keys and enhance related tests
|
2026-07-20 15:14:24 +08:00 |
|
Chenyme
|
a801c5c7e5
|
feat: implement unlimited RPM and concurrency options for client keys and enhance related tests
|
2026-07-20 15:10:40 +08:00 |
|
Chenyme
|
39b22f3f4c
|
Merge pull request #716 from chenyme/dialog
refactor: improve ModelsPage dialog layout and enhance i18n descriptions
|
2026-07-20 14:55:27 +08:00 |
|
Chenyme
|
b1a80d3dd2
|
refactor: improve ModelsPage dialog layout and enhance i18n descriptions
|
2026-07-20 14:49:47 +08:00 |
|
Chenyme
|
1c13dc6195
|
Merge pull request #714 from chenyme/trace
fix: enhance stream failure handling and diagnostics in gateway
|
2026-07-20 14:16:41 +08:00 |
|
Chenyme
|
bf13ce1b55
|
Merge branch 'main' into trace
|
2026-07-20 14:12:32 +08:00 |
|
Chenyme
|
e169ae1dd1
|
Merge pull request #713 from damowang2507/fix/responses-multimodal-tool-output
fix: preserve multimodal Responses tool outputs
|
2026-07-20 14:12:20 +08:00 |
|
Chenyme
|
2690a38066
|
Merge branch 'main' into fix/responses-multimodal-tool-output
|
2026-07-20 14:07:02 +08:00 |
|
Chenyme
|
c936ab110f
|
feat: enhance media audit logging and response summarization for text and image content
|
2026-07-20 14:06:35 +08:00 |
|
Chenyme
|
d091294e06
|
fix: enhance stream failure handling and diagnostics in gateway
|
2026-07-20 11:36:42 +08:00 |
|
Chenyme
|
3f6ea870d6
|
Merge pull request #708 from YuJunZhiXue/fix/official-prompt-cache-cpa
fix: align official Grok prompt cache with CPA for Sub2API
|
2026-07-20 11:16:27 +08:00 |
|
Chenyme
|
3c4e0ef174
|
fix: enhance build session identity handling and response ownership tracking
|
2026-07-20 10:26:59 +08:00 |
|
大魔王
|
fb5932bdcf
|
fix: preserve multimodal Responses tool outputs
|
2026-07-20 02:48:31 +08:00 |
|
yang
|
539a6ae20e
|
fix: harden cache affinity and stream usage capture for all protocols
补齐复核发现的遗漏,确保 Codex(OpenAI)/Anthropic 缓存统计与亲和更稳:
1) soft session 纳入顶层 instructions/system(Responses/Chat 常见)
2) 流式 usage 不再要求 TotalTokens>0 才采纳;合并多帧避免半截帧抹掉 cached
3) conversation streamConverter 在仅有 cached_tokens 时也更新 usage
回归:stream merge Anthropic/Chat、instructions soft session、既有三协议解析。
|
2026-07-19 18:13:21 +08:00 |
|
yang
|
4d48031900
|
fix: record Anthropic/Chat cache tokens and recover decrypt-failed credentials
1) Usage 统计:
- Anthropic Messages 的 cache_read_input_tokens 写入统一 CachedInputTokens
- OpenAI Chat Completions 的 prompt_tokens_details.cached_tokens 同样写入
- Responses input_tokens_details.cached_tokens 行为保持
- Chat completion_tokens_details.reasoning_tokens 一并兼容
- 增加 Messages / Chat / 优先级回归测试
2) 凭据刷新:
- credential_decrypt_failed 不再标 Permanent(本地加密密钥问题可恢复)
- 已标记 permanent 的 decrypt_failed 允许 force/批量调度重试
- invalid_grant 等真正 OAuth 永久失败仍阻断
- 增加密钥恢复后可重试 + invalid_grant 仍永久 的回归测试
|
2026-07-19 17:37:19 +08:00 |
|
yang
|
f65a07e794
|
fix: align official Grok prompt cache with CPA for Sub2API
官方 cached_tokens 长期为 0 的根因不是 reasoning-replay,而是会话亲和被打散:
空 session 时每请求随机 x-grok-conv-id,且无消息 hash 粘滞兜底。
对齐 CLIProxyAPI 行为:
- 无稳定 session 时不再伪造随机 conv-id / session-id
- 显式 prompt_cache_key / Claude session 生成跨轮稳定 upstreamID
- 无 session 时用 system+首条 user 消息锚点 soft session(多轮不漂移)
- 扩展 Sub2API 会话信号提取:session_id / conversation_id / prompt_cache_key / x-grok-conv-id
- 租户隔离与按模型 affinity 保持不变
测试覆盖:gateway soft session、Sub2API e2e 身份、adapter 空 key、inference seed 提取。
|
2026-07-19 16:16:56 +08:00 |
|
Chenyme
|
d74b153966
|
chore: bump version from v3.0.4 to v3.0.5
v3.0.5
|
2026-07-19 15:46:19 +08:00 |
|
Chenyme
|
c581e9fe14
|
Merge pull request #707 from chenyme/creative_console
feat: add marked library and enhance creative console API for chat response handling
|
2026-07-19 15:44:35 +08:00 |
|
Chenyme
|
269a81bc4c
|
feat: add marked library and enhance creative console API for chat response handling
|
2026-07-19 15:38:54 +08:00 |
|
Chenyme
|
39b6175bc2
|
Merge pull request #706 from chenyme/settings
refactor: update UI components and styles for consistency and improved user experience
|
2026-07-19 14:20:05 +08:00 |
|
Chenyme
|
98c1bb24d7
|
refactor: update UI components and styles for consistency and improved user experience
|
2026-07-19 14:15:58 +08:00 |
|
Chenyme
|
2bd9d1a4e0
|
Merge pull request #705 from chenyme/price
fix: update pricing calculations and improve tooltip display for bot risk
|
2026-07-19 12:11:55 +08:00 |
|
Chenyme
|
7a731cf07e
|
Merge branch 'main' into price
|
2026-07-19 12:08:30 +08:00 |
|
Chenyme
|
ba3beaf1ff
|
fix: update pricing calculations and improve tooltip display for bot risk
|
2026-07-19 12:06:34 +08:00 |
|
Chenyme
|
b94e620513
|
Merge pull request #703 from chenyme/table
refactor: standardize pagination and batch ID normalization across services
|
2026-07-19 11:53:13 +08:00 |
|
Chenyme
|
03469c00b4
|
fix: improve ResizeObserver initialization in VirtualTableBody component
|
2026-07-19 11:48:15 +08:00 |
|
Chenyme
|
d10d6496da
|
refactor: standardize pagination and batch ID normalization across services
|
2026-07-19 11:38:23 +08:00 |
|
Chenyme
|
6d3b43b8a9
|
Merge pull request #702 from chenyme/delete
fix: allow safe deletion with terminal video jobs
|
2026-07-19 11:31:27 +08:00 |
|
Chenyme
|
c1b6957399
|
fix: allow safe deletion with terminal video jobs
|
2026-07-19 11:16:11 +08:00 |
|
Chenyme
|
b28133ee4b
|
Merge pull request #701 from chenyme/account
feat: implement batch token refresh and account cleanup functionality
|
2026-07-19 10:53:18 +08:00 |
|
Chenyme
|
9714712e3a
|
feat: implement batch token refresh and account cleanup functionality
|
2026-07-19 10:46:07 +08:00 |
|
Chenyme
|
d6ed4ff36a
|
Merge pull request #699 from chenyme/compaction
fix: stabilize remote compaction streams
|
2026-07-19 01:39:23 +08:00 |
|
Chenyme
|
2e5a30d455
|
fix: stabilize remote compaction streams
|
2026-07-19 01:33:46 +08:00 |
|
Chenyme
|
8e6f85e238
|
Merge pull request #697 from chenyme/401
feat: enhance account identity synchronization and error handling for SSO credentials
v3.0.4
|
2026-07-18 23:43:06 +08:00 |
|
Chenyme
|
a5f87e0a72
|
feat: enhance account identity synchronization and error handling for SSO credentials
|
2026-07-18 23:38:25 +08:00 |
|
Chenyme
|
267d3c566f
|
Merge pull request #696 from chenyme/provide
feat: update web account settings to include terms versioning and enhance acceptance tracking
|
2026-07-18 22:48:31 +08:00 |
|
Chenyme
|
c57af3d7f0
|
Merge branch 'main' into provide
|
2026-07-18 22:41:41 +08:00 |
|
Chenyme
|
a60e92e856
|
feat: update web account settings to include terms versioning and enhance acceptance tracking
|
2026-07-18 22:41:20 +08:00 |
|
Chenyme
|
6a8d3ce329
|
Merge pull request #695 from chenyme/provide
feat: unify cross-provider identity and Resin affinity
|
2026-07-18 21:07:24 +08:00 |
|
Chenyme
|
4a56afb101
|
feat: enhance account identity synchronization and web account settings management.
|
2026-07-18 20:59:12 +08:00 |
|
Chenyme
|
2c1582860c
|
Merge pull request #692 from chenyme/setup_tools
feat: support Grok Web account setup scripts (Tos, NSFW)
|
2026-07-18 17:16:53 +08:00 |
|
Chenyme
|
eb70ea4a4b
|
feat: support Grok Web account setup scripts (Tos, NSFW)
|
2026-07-18 17:08:42 +08:00 |
|
Chenyme
|
ea3a8524ff
|
Merge pull request #691 from chenyme/copy
fix: improve clipboard copy functionality and update secret display logic
|
2026-07-18 15:03:15 +08:00 |
|
Chenyme
|
3412e65a05
|
fix: improve clipboard copy functionality and update secret display logic
|
2026-07-18 14:48:02 +08:00 |
|
Chenyme
|
ab8edf5e90
|
Merge pull request #689 from chenyme/cc_adaptation
fix: Optimizing a potential decryption error 400 in multi-round thinking.
|
2026-07-18 14:28:29 +08:00 |
|
Chenyme
|
a88036b20c
|
chore: update recommended build client version and user agent to 0.2.103 across multiple files
|
2026-07-18 14:08:00 +08:00 |
|