mirror of
https://github.com/alibaba/higress.git
synced 2026-06-06 03:07:28 +08:00
fix: baidu api issue (#1685)
This commit is contained in:
@@ -16,7 +16,7 @@ const (
|
||||
|
||||
type togetherAIProviderInitializer struct{}
|
||||
|
||||
func (m *togetherAIProviderInitializer) ValidateConfig(config ProviderConfig) error {
|
||||
func (m *togetherAIProviderInitializer) 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