Merge branch 'feature/sunanzhi/1.6' into 'main'

fix: resolve build failure due to unused model variable

See merge request apipark/APIPark!243
This commit is contained in:
孙安智
2025-03-07 15:09:25 +08:00
+1 -1
View File
@@ -582,7 +582,7 @@ func (i *imlProviderModule) UpdateProviderConfig(ctx context.Context, id string,
return err
}
}
model, has := p.GetModel(input.DefaultLLM)
_, has := p.GetModel(input.DefaultLLM)
if !has {
return fmt.Errorf("ai provider model not found")
}