mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-16 07:33:06 +08:00
fix(openai): pass service_tier by default
This commit is contained in:
@@ -784,14 +784,7 @@ func TestAPIContracts(t *testing.T) {
|
||||
"payment_visible_method_wxpay_enabled": false,
|
||||
"openai_advanced_scheduler_enabled": true,
|
||||
"openai_fast_policy_settings": {
|
||||
"rules": [
|
||||
{
|
||||
"service_tier": "priority",
|
||||
"action": "filter",
|
||||
"scope": "all",
|
||||
"fallback_action": "pass"
|
||||
}
|
||||
]
|
||||
"rules": []
|
||||
},
|
||||
"custom_menu_items": [],
|
||||
"custom_endpoints": [],
|
||||
@@ -999,14 +992,7 @@ func TestAPIContracts(t *testing.T) {
|
||||
"payment_visible_method_wxpay_enabled": false,
|
||||
"openai_advanced_scheduler_enabled": false,
|
||||
"openai_fast_policy_settings": {
|
||||
"rules": [
|
||||
{
|
||||
"service_tier": "priority",
|
||||
"action": "filter",
|
||||
"scope": "all",
|
||||
"fallback_action": "pass"
|
||||
}
|
||||
]
|
||||
"rules": []
|
||||
},
|
||||
"payment_enabled": false,
|
||||
"payment_min_amount": 0,
|
||||
|
||||
Reference in New Issue
Block a user