Commit Graph
11 Commits
Author SHA1 Message Date
Chenyme cc578d551c fix: make response header timeout hot-reloadable and migration-safe 2026-07-23 02:36:45 +08:00
Chenyme 413eb39667 perf: reduce cached acquisition contention with immutable snapshots and atomic load tracking 2026-07-23 00:21:50 +08:00
Chenyme 9c583fd167 perf: finalize concurrency safety and infrastructure validation 2026-07-23 00:19:22 +08:00
Chenyme 603176c31c feat: implement build bot flag caching and model synchronization improvements 2026-07-18 11:25:54 +08:00
Chenyme c050086530 refactor: update reasoning replay cache configuration 2026-07-18 01:43:52 +08:00
yang 90b5e6b2a3 fix: prevent slice capacity overflow in reasoning replay insert
Address CodeQL high alert on PR #676: guard len(input)+len(replayItems)
before make() with overflow/size bounds check.
2026-07-17 23:28:25 +08:00
yang d55eb6eab7 feat: add server-side reasoning replay cache for multi-turn Grok Build
对齐 CLIProxyAPI 的 xAI Reasoning Replay:在客户端不回传 thinking
signature / encrypted_content 时,由网关代持并注入上一轮可回放 items。

变更摘要:
- 新增 ReasoningReplayRepository 与 Memory/Redis 实现
- 新增 pkg/reasoningreplay:normalize/filter/insert/store/apply/capture
- CLI Adapter:出站前 Apply,成功响应 CaptureBody 写回;compact 清理
- 配置 routing.reasoningReplayEnabled/TTL/maxEntries(默认开启)
- settings 热更新时保留回放配置;补充改造文档与场景单测

不包含:通用 HTTP 响应缓存、Console/Web 路径、管理端 UI 开关。
2026-07-17 18:07:04 +08:00
Chenyme d2eecc4041 feat: Improved gateway multi-Provider routing and runtime concurrency management. 2026-07-15 10:58:25 +08:00
Chenyme 9244306352 fix: separate Grok Build and Web proxy transports 2026-07-13 23:21:07 +08:00
Chenyme d626a26db4 feat: Implement model quota management and enhance routing candidate selection 2026-07-13 22:02:55 +08:00
Chenyme a16837c9ea feat: Refactor the project using Go to support Grok Build & Grok Web. 2026-07-13 15:28:07 +08:00