mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-31 12:03:33 +00:00
fix(models): use 1M context for openai-codex gpt-5.4 (#37876)
Merged via squash.
Prepared head SHA: c41020779e
Co-authored-by: yuweuii <82372187+yuweuii@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
This commit is contained in:
@@ -7,7 +7,7 @@ const OPENAI_CODEX_MODEL = {
|
||||
api: "openai-codex-responses",
|
||||
baseUrl: "https://chatgpt.com/backend-api",
|
||||
input: ["text"],
|
||||
contextWindow: 272000,
|
||||
contextWindow: 1_050_000,
|
||||
maxTokens: 128000,
|
||||
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user