opencode-agent[bot] 3 mesi fa
parent
commit
bbec00fbd5
1 ha cambiato i file con 1 aggiunte e 6 eliminazioni
  1. 1 6
      packages/opencode/src/plugin/openai/codex.ts

+ 1 - 6
packages/opencode/src/plugin/openai/codex.ts

@@ -14,12 +14,7 @@ const ISSUER = "https://auth.openai.com"
 const CODEX_API_ENDPOINT = "https://chatgpt.com/backend-api/codex/responses"
 const OAUTH_PORT = 1455
 const OAUTH_POLLING_SAFETY_MARGIN_MS = 3000
-const ALLOWED_MODELS = new Set([
-  "gpt-5.5",
-  "gpt-5.3-codex-spark",
-  "gpt-5.4",
-  "gpt-5.4-mini",
-])
+const ALLOWED_MODELS = new Set(["gpt-5.5", "gpt-5.3-codex-spark", "gpt-5.4", "gpt-5.4-mini"])
 
 interface PkceCodes {
   verifier: string