Commit 9b051199 by feitianbubu

feat: add ali qwen channel autoDisabled

parent 6c1e0535
......@@ -67,6 +67,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