mirror of
https://github.com/alibaba/higress.git
synced 2026-05-31 08:07:26 +08:00
fix: baidu api issue (#1685)
This commit is contained in:
@@ -15,7 +15,7 @@ const (
|
||||
|
||||
type mistralProviderInitializer struct{}
|
||||
|
||||
func (m *mistralProviderInitializer) ValidateConfig(config ProviderConfig) error {
|
||||
func (m *mistralProviderInitializer) ValidateConfig(config *ProviderConfig) error {
|
||||
if config.apiTokens == nil || len(config.apiTokens) == 0 {
|
||||
return errors.New("no apiToken found in provider config")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user