mirror of
https://gitgud.io/reanon/nonono.git
synced 2026-05-11 00:40:11 -07:00
Edit openai.ts
This commit is contained in:
+2
-2
@@ -369,8 +369,8 @@ const setupChunkedTransfer: RequestHandler = (req, res, next) => {
|
|||||||
|
|
||||||
// Functions to handle model-specific API routing
|
// Functions to handle model-specific API routing
|
||||||
function shouldUseResponsesApi(model: string): boolean {
|
function shouldUseResponsesApi(model: string): boolean {
|
||||||
return model === "o1-pro" || model.startsWith("o1-pro-") ||
|
return model === "o1-pro" || model.startsWith("o1-pro") ||
|
||||||
model === "o3-pro" || model.startsWith("o3-pro-") ||
|
model === "o3-pro" || model.startsWith("o3-pro") ||
|
||||||
model === "codex-mini-latest" || model.startsWith("codex-mini") ||
|
model === "codex-mini-latest" || model.startsWith("codex-mini") ||
|
||||||
model === "gpt-5-codex-latest" || model.startsWith("gpt-5-codex");
|
model === "gpt-5-codex-latest" || model.startsWith("gpt-5-codex");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user