mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-22 11:25:15 +00:00
rm
This commit is contained in:
parent
44555cf4f4
commit
a6d646b6e6
1 changed files with 1 additions and 2 deletions
|
|
@ -120,8 +120,7 @@ export namespace Provider {
|
|||
return {
|
||||
autoload: false,
|
||||
async getModel(sdk: any, modelID: string, _options?: Record<string, any>) {
|
||||
// TODO: REMOVE THAT XTRA CHECK BEFORE MERGE!!!!!!!!!
|
||||
if (modelID.includes("codex") || modelID.includes("gpt-5")) {
|
||||
if (modelID.includes("codex")) {
|
||||
return sdk.responses(modelID)
|
||||
}
|
||||
return sdk.chat(modelID)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue