pull/8393/head
Aiden Cline 2026-01-14 01:22:39 -06:00
parent ca14987c8e
commit 44555cf4f4
1 changed files with 2 additions and 1 deletions

View File

@ -120,7 +120,8 @@ export namespace Provider {
return {
autoload: false,
async getModel(sdk: any, modelID: string, _options?: Record<string, any>) {
if (modelID.includes("codex")) {
// TODO: REMOVE THAT XTRA CHECK BEFORE MERGE!!!!!!!!!
if (modelID.includes("codex") || modelID.includes("gpt-5")) {
return sdk.responses(modelID)
}
return sdk.chat(modelID)