fix: prevent AUTODETECT model from being queried on Ollama
Signed-off-by: Fred Bricon <fbricon@gmail.com>
This commit is contained in:
parent
9f68638e32
commit
472c00f27c
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ class Ollama extends BaseLLM implements ModelInstaller {
|
|||
constructor(options: LLMOptions) {
|
||||
super(options);
|
||||
|
||||
if (options.isFromAutoDetect) {
|
||||
if (options.model === "AUTODETECT") {
|
||||
return;
|
||||
}
|
||||
const headers: Record<string, string> = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue