refactor(open-sse): D1c — forceStream hardcode → PROVIDERS schema (#5)

chatCore providerRequiresStreaming: switch provider-name →
PROVIDERS[provider].forceStream. Thêm forceStream:true vào registry
openai/codex/commandcode. verify-providers allowlist added-fields
(forceStream/urlSuffix verified bằng golden + runtime test riêng).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
decolua
2026-06-13 22:05:01 +07:00
co-authored by Cursor
parent ad2a3e5de3
commit 4da1d6dad4
6 changed files with 30 additions and 3 deletions
+1
View File
@@ -6,6 +6,7 @@ export default {
transport: {
baseUrl: "https://chatgpt.com/backend-api/codex/responses",
format: "openai-responses",
forceStream: true,
headers: {
"originator": "codex_cli_rs",
"User-Agent": "codex_cli_rs/0.136.0"