feat: add ali qwen channel autoDisabled
This commit is contained in:
parent
6c1e053529
commit
9b051199b0
@ -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":
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user