Commit 452a7b0e by Seefs Committed by GitHub

Merge pull request #1401 from feitianbubu/pr/add-qwen-channel-auto-disabled

feat: add qwen channel auto disabled
parents 2b39ae55 9b051199
......@@ -75,6 +75,8 @@ func ShouldDisableChannel(channelType int, err *types.NewAPIError) bool {
return true
case "pre_consume_token_quota_failed":
return true
case "Arrearage":
return true
}
switch oaiErr.Type {
case "insufficient_quota":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment