This commit is contained in:
Liujian
2025-03-14 15:51:33 +08:00
parent 33c61f6131
commit bc85e59352
5 changed files with 33 additions and 26 deletions
+2 -1
View File
@@ -614,7 +614,8 @@ func (i *imlLocalModel) getLocalModels(ctx context.Context, v string) ([]*gatewa
var has bool
v, has = i.settingService.Get(ctx, "system.ai_model.ollama_address")
if !has {
return nil, errors.New("ollama_address not set")
//return nil, errors.New("ollama_address not set")
return nil, nil
}
}
provider := ai_provider_local.ProviderLocal