fix: fix some typo errors (#3988)

Co-authored-by: woody <yaodiwu618@gmail.com>
This commit is contained in:
cyberslack_lee
2026-06-23 11:08:44 +08:00
committed by GitHub
parent ab0085362c
commit 7c94b5a822
9 changed files with 28 additions and 28 deletions

View File

@@ -138,11 +138,11 @@ func parseOverrideRuleConfig(json gjson.Result, global config.PluginConfig, plug
pluginConfig.FromJson(json)
if err := pluginConfig.Validate(); err != nil {
log.Errorf("overriden rule config is invalid: %v", err)
log.Errorf("overridden rule config is invalid: %v", err)
return err
}
if err := pluginConfig.Complete(); err != nil {
log.Errorf("failed to apply overriden rule config: %v", err)
log.Errorf("failed to apply overridden rule config: %v", err)
return err
}

View File

@@ -577,7 +577,7 @@ func (c *ProviderConfig) FromJson(json gjson.Result) {
if compatible := json.Get("qwenEnableCompatible"); compatible.Exists() {
c.qwenEnableCompatible = compatible.Bool()
} else {
// Default use official compatiable mode
// Default use official compatible mode
c.qwenEnableCompatible = true
}
c.qwenDomain = json.Get("qwenDomain").String()