Merge pull request #7477 from fbricon/fix-autodetect-model-regression
fix: prevent AUTODETECT model from being queried on Ollama
This commit is contained in:
commit
aa79ae6835
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