fix: resolve build failure due to unused model variable

This commit is contained in:
sunanzhi
2025-03-07 15:08:50 +08:00
parent 77e6f100b7
commit 69fd1b915b
+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")
}