feat(providers): share GPT-5 prompt overlay

This commit is contained in:
Peter Steinberger
2026-04-22 23:13:49 +01:00
parent 7b2c9a6fa3
commit 2cd3164a0f
19 changed files with 420 additions and 216 deletions

View File

@@ -100,8 +100,8 @@ export function buildCodexProvider(options: BuildCodexProviderOptions = {}): Pro
...(isKnownXHighCodexModel(modelId) ? [{ id: "xhigh" as const }] : []),
],
}),
resolveSystemPromptContribution: ({ modelId }) =>
resolveCodexSystemPromptContribution({ modelId }),
resolveSystemPromptContribution: ({ config, modelId }) =>
resolveCodexSystemPromptContribution({ config, modelId }),
isModernModelRef: ({ modelId }) => isModernCodexModel(modelId),
};
}