fix: clarify affinity disabled channel retry message

This commit is contained in:
Seefs
2026-04-25 17:43:42 +08:00
parent f2f3410dcf
commit 355307223a
5 changed files with 17 additions and 13 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ func Distribute() func(c *gin.Context) {
if err == nil && preferred != nil {
if preferred.Status != common.ChannelStatusEnabled {
if service.ShouldSkipRetryAfterChannelAffinityFailure(c) {
abortWithOpenAiMessage(c, http.StatusForbidden, i18n.T(c, i18n.MsgDistributorChannelDisabled))
abortWithOpenAiMessage(c, http.StatusForbidden, i18n.T(c, i18n.MsgDistributorAffinityChannelDisabled))
return
}
} else if usingGroup == "auto" {