Fix: Apikey getting md5 when calling MCP Server at service level

This commit is contained in:
Liujian
2025-04-22 18:08:24 +08:00
parent b68496a82a
commit 7ba8a57793
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -718,7 +718,8 @@ func (i *imlProviderModule) getAiProviders(ctx context.Context) ([]*gateway.Dyna
}
model, has := driver.GetModel(l.DefaultLLM)
if !has {
return nil, fmt.Errorf("model not found: %s", l.DefaultLLM)
continue
//return nil, fmt.Errorf("model not found: %s", l.DefaultLLM)
}
cfg := make(map[string]interface{})
cfg["provider"] = l.Id