Merge branch 'staging' into reasoning-parsing-streaming

This commit is contained in:
Cohee
2025-02-16 23:12:41 +02:00
11 changed files with 101 additions and 8 deletions

View File

@ -106,7 +106,7 @@ export function isHiddenReasoningModel() {
{ name: 'gemini-2.0-pro-exp', func: FUNCS.startsWith },
];
const model = getChatCompletionModel();
const model = getChatCompletionModel() || '';
const isHidden = hiddenReasoningModels.some(({ name, func }) => func(model, name));
return isHidden;