Fix and shorten isHiddenReasoningModel

This commit is contained in:
Wolfsblvt
2025-02-10 06:15:47 +01:00
parent d4e77280fc
commit 703e876f4a
2 changed files with 7 additions and 26 deletions

View File

@ -82,7 +82,6 @@ export {
setOpenAIMessageExamples,
setupChatCompletionPromptManager,
sendOpenAIRequest,
getChatCompletionModel,
TokenHandler,
IdentifierNotFoundError,
Message,
@ -1497,7 +1496,7 @@ async function sendWindowAIRequest(messages, signal, stream) {
}
}
function getChatCompletionModel() {
export function getChatCompletionModel() {
switch (oai_settings.chat_completion_source) {
case chat_completion_sources.CLAUDE:
return oai_settings.claude_model;