cyhhao
a05b8b56e3
fix(网关): SSE 缓冲 input_json_delta 反向转换
2026-01-19 03:46:31 +08:00
cyhhao
8917a3ea8f
fix(网关): 修复 golangci-lint
2026-01-17 00:27:36 +08:00
cyhhao
0c011b889b
fix(网关): Claude Code OAuth 补齐 oauth beta
2026-01-16 23:38:09 +08:00
cyhhao
0962ba43c0
fix(网关): 补齐非 Claude Code OAuth 兼容
2026-01-16 23:38:09 +08:00
cyhhao
b8c48fb477
fix(网关): 区分 Claude Code OAuth 适配
2026-01-16 23:38:09 +08:00
cyhhao
2a7d04fec4
fix(网关): 对齐 Claude OAuth 请求适配
2026-01-16 23:36:57 +08:00
cyhhao
675e61385f
Merge branch 'main' of github.com:Wei-Shaw/sub2api
2026-01-12 22:36:14 +08:00
cyhhao
67acac1082
fix: adjust OpenCode OpenAI example store placement
2026-01-12 22:31:43 +08:00
cyhhao
aa1a3b9a74
fix: update OpenCode use-key examples
2026-01-11 20:29:32 +08:00
cyhhao
abbde130ab
Revert Codex OAuth fallback handling
2026-01-11 18:43:47 +08:00
cyhhao
80c1cdf024
fix(lint): trim unused codex helpers
2026-01-10 22:45:29 +08:00
cyhhao
1a641392d9
Merge up/main
2026-01-10 21:57:57 +08:00
cyhhao
36b817d008
Align OAuth transform with OpenCode instructions
2026-01-10 20:53:16 +08:00
cyhhao
eb06006d6c
Make Codex CLI passthrough
2026-01-10 03:12:56 +08:00
cyhhao
7a06c4873e
Fix Codex OAuth tool mapping
2026-01-09 18:35:58 +08:00
cyhhao
5b8d4fb047
feat(openai): add AI SDK content format compatibility for OAuth accounts
...
- Add normalizeInputForCodexAPI function to convert AI SDK multi-part
content format to simplified format expected by ChatGPT Codex API
- AI SDK sends: {"content": [{"type": "input_text", "text": "..."}]}
- Codex API expects: {"content": "..."}
- Only applies to OAuth accounts (ChatGPT internal API)
- API Key accounts remain unchanged (OpenAI Platform API supports both)
2026-01-09 00:34:49 +08:00