We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4e33d3 commit 4a67905Copy full SHA for 4a67905
1 file changed
packages/opencode/src/plugin/codex.ts
@@ -390,6 +390,16 @@ export async function CodexAuthPlugin(input: PluginInput): Promise<Hooks> {
390
output: 0,
391
cache: { read: 0, write: 0 },
392
}
393
+
394
+ // gpt-5.5 models temporarily have restricted context window size for codex plans
395
+ if (model.id.includes("gpt-5.5")) {
396
+ model.limit = {
397
+ context: 400_000,
398
+ //@ts-expect-error incorrect type for v1 sdk but works
399
+ input: 272_000,
400
+ output: 128_000,
401
+ }
402
403
404
405
return {
0 commit comments