Skip to content

Commit 2abd4a8

Browse files
authored
Gate Kimi outside deployment hours
Add Kimi K2.6 to the Fireworks hours-gated model set so non-lite requests return the outside-hours availability error instead of hitting serverless.
1 parent beecd7c commit 2abd4a8

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

web/src/llm-api/fireworks.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ const FIREWORKS_MODEL_MAP: Record<string, string> = {
3939
'z-ai/glm-5.1': 'accounts/fireworks/models/glm-5p1',
4040
}
4141

42-
/** Models that stay limited to freebuff deployment hours even on serverless.
43-
* Kimi/DeepSeek now run 24/7 via the freebuff selector; only legacy GLM 5.1
44-
* is left under the deployment-hours gate so old clients hitting it during
45-
* off-hours get a clear `model_unavailable` instead of a serverless surprise. */
46-
const FIREWORKS_HOURS_GATED_MODELS = new Set<string>(['z-ai/glm-5.1'])
42+
/** Models that stay limited to freebuff deployment hours even on serverless. */
43+
const FIREWORKS_HOURS_GATED_MODELS = new Set<string>([
44+
'moonshotai/kimi-k2.6',
45+
'z-ai/glm-5.1',
46+
])
4747

4848
/** Flag to enable custom Fireworks deployments (set to false to use global API only) */
4949
const FIREWORKS_USE_CUSTOM_DEPLOYMENT = true

0 commit comments

Comments
 (0)