mirror of
https://github.com/alibaba/higress.git
synced 2026-05-22 11:47:27 +08:00
fix: baidu api issue (#1685)
This commit is contained in:
@@ -24,7 +24,7 @@ const (
|
||||
type moonshotProviderInitializer struct {
|
||||
}
|
||||
|
||||
func (m *moonshotProviderInitializer) ValidateConfig(config ProviderConfig) error {
|
||||
func (m *moonshotProviderInitializer) ValidateConfig(config *ProviderConfig) error {
|
||||
if config.moonshotFileId != "" && config.context != nil {
|
||||
return errors.New("moonshotFileId and context cannot be configured at the same time")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user