mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-09 16:59:21 +00:00
test(grok): 补齐模型映射与调度设置契约
This commit is contained in:
1 parent
5bb206ee99
commit
be5e4226d4
1 file changed
+6
@@ -884,6 +884,8 @@ func TestAPIContracts(t *testing.T) {
|
|||||||
"invitation_code_enabled": false,
|
"invitation_code_enabled": false,
|
||||||
"home_content": "",
|
"home_content": "",
|
||||||
"hide_ccs_import_button": false,
|
"hide_ccs_import_button": false,
|
||||||
|
"grok_default_text_model": "grok-4.5",
|
||||||
|
"grok_cross_client_model_map_enabled": false,
|
||||||
"purchase_subscription_enabled": false,
|
"purchase_subscription_enabled": false,
|
||||||
"purchase_subscription_url": "",
|
"purchase_subscription_url": "",
|
||||||
"table_default_page_size": 20,
|
"table_default_page_size": 20,
|
||||||
@@ -975,6 +977,7 @@ func TestAPIContracts(t *testing.T) {
|
|||||||
"payment_alipay_mobile_precreate_deep_link": false,
|
"payment_alipay_mobile_precreate_deep_link": false,
|
||||||
"balance_low_notify_enabled": false,
|
"balance_low_notify_enabled": false,
|
||||||
"account_quota_notify_enabled": false,
|
"account_quota_notify_enabled": false,
|
||||||
|
"account_scheduling_thresholds": {"anthropic":100,"grok":100,"openai":100},
|
||||||
"subscription_expiry_notify_enabled": true,
|
"subscription_expiry_notify_enabled": true,
|
||||||
"balance_low_notify_threshold": 0,
|
"balance_low_notify_threshold": 0,
|
||||||
"balance_low_notify_recharge_url": "",
|
"balance_low_notify_recharge_url": "",
|
||||||
@@ -1159,6 +1162,8 @@ func TestAPIContracts(t *testing.T) {
|
|||||||
"doc_url": "",
|
"doc_url": "",
|
||||||
"home_content": "",
|
"home_content": "",
|
||||||
"hide_ccs_import_button": false,
|
"hide_ccs_import_button": false,
|
||||||
|
"grok_default_text_model": "grok-4.5",
|
||||||
|
"grok_cross_client_model_map_enabled": false,
|
||||||
"purchase_subscription_enabled": false,
|
"purchase_subscription_enabled": false,
|
||||||
"purchase_subscription_url": "",
|
"purchase_subscription_url": "",
|
||||||
"table_default_page_size": 20,
|
"table_default_page_size": 20,
|
||||||
@@ -1278,6 +1283,7 @@ func TestAPIContracts(t *testing.T) {
|
|||||||
"payment_alipay_mobile_precreate_deep_link": false,
|
"payment_alipay_mobile_precreate_deep_link": false,
|
||||||
"balance_low_notify_enabled": false,
|
"balance_low_notify_enabled": false,
|
||||||
"account_quota_notify_enabled": false,
|
"account_quota_notify_enabled": false,
|
||||||
|
"account_scheduling_thresholds": {"anthropic":100,"grok":100,"openai":100},
|
||||||
"subscription_expiry_notify_enabled": true,
|
"subscription_expiry_notify_enabled": true,
|
||||||
"balance_low_notify_threshold": 0,
|
"balance_low_notify_threshold": 0,
|
||||||
"balance_low_notify_recharge_url": "",
|
"balance_low_notify_recharge_url": "",
|
||||||
|
|||||||
Reference in new issue
Block a user