mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix chat render when OpenRouter "website setting" model used
This commit is contained in:
@ -94,7 +94,7 @@ export function isHiddenReasoningModel() {
|
|||||||
{ name: 'gemini-2.0-pro-exp', func: FUNCS.startsWith },
|
{ name: 'gemini-2.0-pro-exp', func: FUNCS.startsWith },
|
||||||
];
|
];
|
||||||
|
|
||||||
const model = getChatCompletionModel();
|
const model = getChatCompletionModel() || '';
|
||||||
|
|
||||||
const isHidden = hiddenReasoningModels.some(({ name, func }) => func(model, name));
|
const isHidden = hiddenReasoningModels.some(({ name, func }) => func(model, name));
|
||||||
return isHidden;
|
return isHidden;
|
||||||
|
Reference in New Issue
Block a user