Ran prettier formatting
This commit is contained in:
parent
67ee9eff53
commit
59a10d7d00
7 changed files with 55 additions and 46 deletions
|
|
@ -98,7 +98,7 @@ export const POST = async (req: Request) => {
|
|||
llm = chatModelProviders[chatModelProvider][chatModel]
|
||||
.model as unknown as BaseChatModel | undefined;
|
||||
}
|
||||
|
||||
|
||||
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