add todo
This commit is contained in:
parent
ca14987c8e
commit
44555cf4f4
1 changed files with 2 additions and 1 deletions
|
|
@ -120,7 +120,8 @@ export namespace Provider {
|
||||||
return {
|
return {
|
||||||
autoload: false,
|
autoload: false,
|
||||||
async getModel(sdk: any, modelID: string, _options?: Record<string, any>) {
|
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.responses(modelID)
|
||||||
}
|
}
|
||||||
return sdk.chat(modelID)
|
return sdk.chat(modelID)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue