style(ui): keep cache routing config within line limit

This commit is contained in:
Tin Chi Lo 2026-10-05 18:16:05 -07:00
parent 1f55274e77
commit e84bc69c1f

View file

@ -845,9 +845,7 @@ export const buildComplexityRouterConfig = ({
...(cacheAwareRoutingOutputTokens !== undefined && {
cache_aware_routing_output_tokens: cacheAwareRoutingOutputTokens,
}),
...(cacheAwareRoutingTimeoutMs !== undefined && {
cache_aware_routing_timeout_ms: cacheAwareRoutingTimeoutMs,
}),
...(cacheAwareRoutingTimeoutMs !== undefined && { cache_aware_routing_timeout_ms: cacheAwareRoutingTimeoutMs }),
...((forecast || enableContextWindowEscalation !== undefined) && {
enable_context_window_escalation: enableContextWindowEscalation ?? false,
}),