Ran prettier formatting
This commit is contained in:
parent
67ee9eff53
commit
59a10d7d00
7 changed files with 55 additions and 46 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue