Ran prettier formatting

This commit is contained in:
Willie Zutz
2025-04-20 13:12:23 -06:00
parent 67ee9eff53
commit 59a10d7d00
7 changed files with 55 additions and 46 deletions

View File

@@ -234,7 +234,7 @@ export const POST = async (req: Request) => {
}) as unknown as BaseChatModel;
} else if (chatModelProvider && chatModel) {
llm = chatModel.model;
// Set context window size for Ollama models
if (llm instanceof ChatOllama && body.chatModel?.provider === 'ollama') {
llm.numCtx = body.chatModel.ollamaContextWindow || 2048;