Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

Resolve conflicts with release/v3.7.0

diegosouzapw1568c53faa5d
diff --cc src/app/(dashboard)/dashboard/combos/page.tsx
index 64a4b91853,6406158e7b..376f037b49
--- a/src/app/(dashboard)/dashboard/combos/page.tsx
+++ b/src/app/(dashboard)/dashboard/combos/page.tsx
@@@ -140,14 -140,26 +140,28 @@@ const STRATEGY_GUIDANCE_FALLBACK =
const ADVANCED_FIELD_HELP_FALLBACK = {
maxRetries: "How many retries are attempted before failing the request.",
retryDelay: "Initial delay between retries. Higher values reduce burst pressure.",
- timeout: "Maximum request time before aborting. Set higher for long generations.",
- healthcheck: "Skips unhealthy models/providers from routing decisions when enabled.",
- concurrencyPerModel: "Max simultaneous requests sent to each model in round-robin.",
- queueTimeout: "How long a request can wait in queue before timeout in round-robin.",
+ concurrencyPerModel:
+ "Round-robin combo/model limit: max simultaneous requests sent to each model target. This is separate from any provider account-only cap.",
+ queueTimeout:
+ "How long a request can wait for a round-robin model slot before timing out. This queue is separate from any account-only concurrency cap.",
};
+ const LEGACY_COMBO_RESILIENCE_KEYS = new Set([
+ "timeoutMs",
+ "healthCheckEnabled",
+ "healthCheckTimeoutMs",
+ ]);
+
+ function sanitizeComboRuntimeConfig(config) {
+ if (!config || typeof config !== "object") return {};
+ return Object.fromEntries(
+ Object.entries(config).filter(
+ ([key, value]) =>
+ value !== undefined && value !== null && !LEGACY_COMBO_RESILIENCE_KEYS.has(key)
+ )
+ );
+ }
+
const STRATEGY_RECOMMENDATIONS_FALLBACK = {
priority: {
title: "Fail-safe baseline",