eyre
5e6effd79c
feat: 模型感知 Codex prompt / client_metadata / anthropic SSE 补全
- 模型感知 instructions:刷新 instructions.txt 至最新 GPT-5-Codex prompt,新增
GPT-5.1 / GPT-5.2 真实 Codex 编码 agent prompt;新增 openai.CodexBaseInstructionsForModel
按模型选用(codex 系→GPT-5-Codex,gpt-5.2→GPT-5.2,gpt-5.1/gpt-5→GPT-5.1),
defaultCodexSynthInstructions 改为按 model 选择
- client_metadata:OAuth /responses 请求用账号真实 openai_device_id 注入
client_metadata["x-codex-installation-id"];加法式、幂等、不覆盖既有项,
无 device_id(非 OAuth 账号)则不写入、不伪造
- anthropic 转换补全 SSE 事件 reasoning_text.delta 与 custom_tool_call_input.delta
(含 custom_tool_call item 注册为 tool_use),与 chat completions 路径对齐
- 新增单元测试覆盖以上行为(apicompat / openai / service)
承接上一提交,仍为加法式改进,不改动既有可工作的请求头。
2026-06-06 00:59:27 +08:00
..
2026-05-29 09:56:48 +08:00
2026-06-06 00:59:27 +08:00
2026-05-29 09:56:48 +08:00
2026-06-05 18:12:33 +08:00
2026-02-28 15:01:20 +08:00
2026-05-20 09:28:46 +08:00
2026-05-20 09:28:46 +08:00
2026-02-05 20:17:53 +08:00
2026-03-19 23:48:37 +08:00
2026-04-29 22:11:45 +08:00
2026-02-28 15:01:20 +08:00
2026-04-14 17:35:27 +08:00
2026-03-28 00:55:55 +08:00
2026-06-06 00:59:27 +08:00
2026-05-14 11:46:24 +08:00
2026-04-09 18:14:28 +08:00
2026-03-02 16:04:20 +08:00
2026-03-02 16:04:20 +08:00
2026-03-16 20:22:10 +08:00
2026-01-04 19:28:20 +08:00
2026-05-26 10:49:20 +08:00
2026-05-11 17:27:04 +08:00
2026-05-20 15:48:38 +08:00
2026-04-14 12:19:44 +08:00