Spaces:
Running
Running
Update config.json
Browse files- config.json +77 -7
config.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"encryption_key": "env.ENCRYPTION_KEY",
|
| 4 |
"client": {
|
| 5 |
"initial_pool_size": 600,
|
| 6 |
-
"drop_excess_requests":
|
| 7 |
"enable_logging": true,
|
| 8 |
"disable_content_logging": true,
|
| 9 |
"log_retention_days": 60,
|
|
@@ -28,6 +28,7 @@
|
|
| 28 |
"name": "lll",
|
| 29 |
"value": "env.VK_LLL",
|
| 30 |
"is_active": true,
|
|
|
|
| 31 |
"provider_configs": [
|
| 32 |
{
|
| 33 |
"provider": "cerebras",
|
|
@@ -37,6 +38,20 @@
|
|
| 37 |
}
|
| 38 |
]
|
| 39 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
]
|
| 41 |
},
|
| 42 |
"providers": {
|
|
@@ -46,37 +61,92 @@
|
|
| 46 |
"name": "cerebras-key-1",
|
| 47 |
"value": "env.CEREBRAS_API_KEY_1",
|
| 48 |
"models": ["gpt-oss-120b", "zai-glm-4.7"],
|
| 49 |
-
"weight": 1.0
|
|
|
|
| 50 |
},
|
| 51 |
{
|
| 52 |
"name": "cerebras-key-2",
|
| 53 |
"value": "env.CEREBRAS_API_KEY_2",
|
| 54 |
"models": ["gpt-oss-120b", "zai-glm-4.7"],
|
| 55 |
-
"weight": 1.0
|
|
|
|
| 56 |
},
|
| 57 |
{
|
| 58 |
"name": "cerebras-key-3",
|
| 59 |
"value": "env.CEREBRAS_API_KEY_3",
|
| 60 |
"models": ["gpt-oss-120b", "zai-glm-4.7"],
|
| 61 |
-
"weight": 1.0
|
|
|
|
| 62 |
},
|
| 63 |
{
|
| 64 |
"name": "cerebras-key-4",
|
| 65 |
"value": "env.CEREBRAS_API_KEY_4",
|
| 66 |
"models": ["gpt-oss-120b", "zai-glm-4.7"],
|
| 67 |
-
"weight": 1.0
|
|
|
|
| 68 |
},
|
| 69 |
{
|
| 70 |
"name": "cerebras-key-5",
|
| 71 |
"value": "env.CEREBRAS_API_KEY_5",
|
| 72 |
"models": ["gpt-oss-120b", "zai-glm-4.7"],
|
| 73 |
-
"weight": 1.0
|
|
|
|
| 74 |
},
|
| 75 |
{
|
| 76 |
"name": "cerebras-key-6",
|
| 77 |
"value": "env.CEREBRAS_API_KEY_6",
|
| 78 |
"models": ["gpt-oss-120b", "zai-glm-4.7"],
|
| 79 |
-
"weight": 1.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
}
|
| 81 |
]
|
| 82 |
}
|
|
|
|
| 3 |
"encryption_key": "env.ENCRYPTION_KEY",
|
| 4 |
"client": {
|
| 5 |
"initial_pool_size": 600,
|
| 6 |
+
"drop_excess_requests": false,
|
| 7 |
"enable_logging": true,
|
| 8 |
"disable_content_logging": true,
|
| 9 |
"log_retention_days": 60,
|
|
|
|
| 28 |
"name": "lll",
|
| 29 |
"value": "env.VK_LLL",
|
| 30 |
"is_active": true,
|
| 31 |
+
"rate_limit_id": "rl_vk_lll",
|
| 32 |
"provider_configs": [
|
| 33 |
{
|
| 34 |
"provider": "cerebras",
|
|
|
|
| 38 |
}
|
| 39 |
]
|
| 40 |
}
|
| 41 |
+
],
|
| 42 |
+
"rate_limits": [
|
| 43 |
+
{
|
| 44 |
+
"id": "rl_vk_lll",
|
| 45 |
+
"request_max_limit": 32,
|
| 46 |
+
"request_reset_duration": "1m",
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"id": "rl_cerebras_free_tier",
|
| 50 |
+
"request_max_limit": 5,
|
| 51 |
+
"request_reset_duration": "1m",
|
| 52 |
+
"token_max_limit": "30000",
|
| 53 |
+
"token_reset_duration": "1m"
|
| 54 |
+
}
|
| 55 |
]
|
| 56 |
},
|
| 57 |
"providers": {
|
|
|
|
| 61 |
"name": "cerebras-key-1",
|
| 62 |
"value": "env.CEREBRAS_API_KEY_1",
|
| 63 |
"models": ["gpt-oss-120b", "zai-glm-4.7"],
|
| 64 |
+
"weight": 1.0,
|
| 65 |
+
"rate_limit_id": "rl_cerebras_free_tier"
|
| 66 |
},
|
| 67 |
{
|
| 68 |
"name": "cerebras-key-2",
|
| 69 |
"value": "env.CEREBRAS_API_KEY_2",
|
| 70 |
"models": ["gpt-oss-120b", "zai-glm-4.7"],
|
| 71 |
+
"weight": 1.0,
|
| 72 |
+
"rate_limit_id": "rl_cerebras_free_tier"
|
| 73 |
},
|
| 74 |
{
|
| 75 |
"name": "cerebras-key-3",
|
| 76 |
"value": "env.CEREBRAS_API_KEY_3",
|
| 77 |
"models": ["gpt-oss-120b", "zai-glm-4.7"],
|
| 78 |
+
"weight": 1.0,
|
| 79 |
+
"rate_limit_id": "rl_cerebras_free_tier"
|
| 80 |
},
|
| 81 |
{
|
| 82 |
"name": "cerebras-key-4",
|
| 83 |
"value": "env.CEREBRAS_API_KEY_4",
|
| 84 |
"models": ["gpt-oss-120b", "zai-glm-4.7"],
|
| 85 |
+
"weight": 1.0,
|
| 86 |
+
"rate_limit_id": "rl_cerebras_free_tier"
|
| 87 |
},
|
| 88 |
{
|
| 89 |
"name": "cerebras-key-5",
|
| 90 |
"value": "env.CEREBRAS_API_KEY_5",
|
| 91 |
"models": ["gpt-oss-120b", "zai-glm-4.7"],
|
| 92 |
+
"weight": 1.0,
|
| 93 |
+
"rate_limit_id": "rl_cerebras_free_tier"
|
| 94 |
},
|
| 95 |
{
|
| 96 |
"name": "cerebras-key-6",
|
| 97 |
"value": "env.CEREBRAS_API_KEY_6",
|
| 98 |
"models": ["gpt-oss-120b", "zai-glm-4.7"],
|
| 99 |
+
"weight": 1.0,
|
| 100 |
+
"rate_limit_id": "rl_cerebras_free_tier"
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"name": "cerebras-key-7",
|
| 104 |
+
"value": "env.CEREBRAS_API_KEY_7",
|
| 105 |
+
"models": ["gpt-oss-120b", "zai-glm-4.7"],
|
| 106 |
+
"weight": 1.0,
|
| 107 |
+
"rate_limit_id": "rl_cerebras_free_tier"
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"name": "cerebras-key-8",
|
| 111 |
+
"value": "env.CEREBRAS_API_KEY_8",
|
| 112 |
+
"models": ["gpt-oss-120b", "zai-glm-4.7"],
|
| 113 |
+
"weight": 1.0,
|
| 114 |
+
"rate_limit_id": "rl_cerebras_free_tier"
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"name": "cerebras-key-9",
|
| 118 |
+
"value": "env.CEREBRAS_API_KEY_9",
|
| 119 |
+
"models": ["gpt-oss-120b", "zai-glm-4.7"],
|
| 120 |
+
"weight": 1.0,
|
| 121 |
+
"rate_limit_id": "rl_cerebras_free_tier"
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"name": "cerebras-key-10",
|
| 125 |
+
"value": "env.CEREBRAS_API_KEY_10",
|
| 126 |
+
"models": ["gpt-oss-120b", "zai-glm-4.7"],
|
| 127 |
+
"weight": 1.0,
|
| 128 |
+
"rate_limit_id": "rl_cerebras_free_tier"
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"name": "cerebras-key-11",
|
| 132 |
+
"value": "env.CEREBRAS_API_KEY_11",
|
| 133 |
+
"models": ["gpt-oss-120b", "zai-glm-4.7"],
|
| 134 |
+
"weight": 1.0,
|
| 135 |
+
"rate_limit_id": "rl_cerebras_free_tier"
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"name": "cerebras-key-12",
|
| 139 |
+
"value": "env.CEREBRAS_API_KEY_12",
|
| 140 |
+
"models": ["gpt-oss-120b", "zai-glm-4.7"],
|
| 141 |
+
"weight": 1.0,
|
| 142 |
+
"rate_limit_id": "rl_cerebras_free_tier"
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"name": "cerebras-key-13",
|
| 146 |
+
"value": "env.CEREBRAS_API_KEY_13",
|
| 147 |
+
"models": ["gpt-oss-120b", "zai-glm-4.7"],
|
| 148 |
+
"weight": 1.0,
|
| 149 |
+
"rate_limit_id": "rl_cerebras_free_tier"
|
| 150 |
}
|
| 151 |
]
|
| 152 |
}
|