User customizable context window for ollama models.
This commit is contained in:
parent
115e6b2a71
commit
2bdcbf20fb
10 changed files with 118 additions and 2 deletions
|
|
@ -197,6 +197,8 @@ const useSocket = (
|
|||
'openAIBaseURL',
|
||||
localStorage.getItem('openAIBaseURL')!,
|
||||
);
|
||||
} else {
|
||||
searchParams.append('ollamaContextWindow', localStorage.getItem('ollamaContextWindow') || '2048')
|
||||
}
|
||||
|
||||
searchParams.append('embeddingModel', embeddingModel!);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue