mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2026-06-13 13:53:55 +03:00
@@ -172,7 +172,7 @@ class OllamaAILLM {
|
||||
this.#slog(
|
||||
"No context windows cached - Context window may be inaccurately reported."
|
||||
);
|
||||
return process.env.OLLAMA_MODEL_TOKEN_LIMIT || 4096;
|
||||
return Number(process.env.OLLAMA_MODEL_TOKEN_LIMIT) || 4096;
|
||||
}
|
||||
|
||||
let userDefinedLimit = null;
|
||||
|
||||
Reference in New Issue
Block a user