Add GPT 5 support (#902)

This commit is contained in:
Will Chen
2025-08-11 15:00:02 -07:00
committed by GitHub
parent adc724cadf
commit ab757d2b96
8 changed files with 99 additions and 16 deletions

View File

@@ -183,7 +183,7 @@ function getRegularModelClient(
const provider = createOpenAI({ apiKey });
return {
modelClient: {
model: provider(model.name),
model: provider.responses(model.name),
builtinProviderId: providerId,
},
backupModelClients: [],