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