feat: Beta策略支持按模型区分处理(模型白名单)
This commit is contained in:
@@ -359,6 +359,9 @@ export interface BetaPolicyRule {
|
||||
action: 'pass' | 'filter' | 'block'
|
||||
scope: 'all' | 'oauth' | 'apikey' | 'bedrock'
|
||||
error_message?: string
|
||||
model_whitelist?: string[]
|
||||
fallback_action?: 'pass' | 'filter' | 'block'
|
||||
fallback_error_message?: string
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user