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

fix(docs): improve docs provider layout and fix missing i18n keys

diegosouzapw091b1238da17
diff --git a/src/app/docs/page.tsx b/src/app/docs/page.tsx
index 5049a46cde..5289e472b0 100644
--- a/src/app/docs/page.tsx
+++ b/src/app/docs/page.tsx
@@ -16,13 +16,16 @@ function ProviderTable({
title,
providers,
colorDot,
+ maxHeight,
}: {
title: string;
providers: Record<string, any>;
colorDot: string;
+ maxHeight?: string;
}) {
const t = useTranslations("docs");
const entries = Object.values(providers) as any[];
+ const isLargeList = entries.length > 20;
return (
<div className="rounded-lg border border-border bg-bg p-4">
@@ -33,16 +36,17 @@ function ProviderTable({
{t("providersCount", { count: entries.length })}
</span>
</div>
- <div className="grid grid-cols-1 sm:grid-cols-2 gap-x-6 gap-y-1 text-sm">
+ <div
+ className={`${isLargeList ? "grid grid-cols-2 sm:grid-cols-3 gap-1.5" : "grid grid-cols-1 sm:grid-cols-2 gap-x-6 gap-y-1"} text-sm`}
+ style={maxHeight ? { maxHeight, overflowY: "auto" } : undefined}
+ >
{entries.map((p) => (
<div
key={p.id}
- className="flex items-center justify-between py-1.5 border-b border-border/40 last:border-0"
+ className={`flex items-center ${isLargeList ? "gap-1.5 py-1 px-2 rounded-md bg-bg-subtle border border-border/30" : "justify-between py-1.5 border-b border-border/40 last:border-0"}`}
>
- <span className="font-medium">{p.name}</span>
- <code className="text-xs text-text-muted px-1.5 py-0.5 rounded bg-bg-subtle">
- {p.alias}/
- </code>
+ <code className="text-xs text-text-muted shrink-0">{p.alias}/</code>
+ <span className={`${isLargeList ? "text-xs truncate" : "font-medium"}`}>{p.name}</span>
</div>
))}
</div>
@@ -238,7 +242,7 @@ export default function DocsPage() {
{t("manageProviders")}
</Link>
</div>
- <div className="grid grid-cols-1 lg:grid-cols-3 gap-3">
+ <div className="grid grid-cols-1 md:grid-cols-2 gap-3">
<ProviderTable
title={t("providerTypeFree")}
providers={FREE_PROVIDERS}
@@ -249,10 +253,13 @@ export default function DocsPage() {
providers={OAUTH_PROVIDERS}
colorDot="bg-blue-500"
/>
+ </div>
+ <div className="mt-3">
<ProviderTable
title={t("providerTypeApiKey")}
providers={APIKEY_PROVIDERS}
colorDot="bg-amber-500"
+ maxHeight="400px"
/>
</div>
</section>
diff --git a/src/i18n/messages/en.json b/src/i18n/messages/en.json
index 4286b53820..76dca9e8d0 100644
--- a/src/i18n/messages/en.json
+++ b/src/i18n/messages/en.json
@@ -351,7 +351,7 @@
"safeSearch": "Safe Search",
"protocolLastActivity": "Protocol Last Activity",
"openMcpDashboard": "Open Mcp Dashboard",
- "testBenchTab": "Test Bench Tab",
+ "testBenchTab": "Test Bench",
"chatPathLabel": "Chat Path Label",
"retryDelay": "Retry Delay",
"errorUpdating": "Error Updating",
@@ -555,7 +555,7 @@
"searchTypeNews": "Search Type News",
"durationMillisecondsShort": "Duration Milliseconds Short",
"addOpenAICompatible": "Add Open Ai Compatible",
- "chatTesterTab": "Chat Tester Tab",
+ "chatTesterTab": "Chat Tester",
"queued": "Queued",
"domainPlaceholder": "Domain Placeholder",
"durationMinutesShort": "Duration Minutes Short",
@@ -1334,13 +1334,13 @@
}
}
},
- "autoConfiguredTab": "Auto Configured Tab",
- "toolCategoriesDesc": "Tool Categories Desc",
- "allToolsTab": "All Tools Tab",
- "guidedClientsTab": "Guided Clients Tab",
- "mitmClientsTab": "Mitm Clients Tab",
+ "autoConfiguredTab": "Auto-Configured",
+ "toolCategoriesDesc": "Configure AI coding assistants to route through OmniRoute",
+ "allToolsTab": "All Tools",
+ "guidedClientsTab": "Guided Clients",
+ "mitmClientsTab": "MITM Clients",
"toolCategories": "Tool Categories",
- "visibleToolsCount": "Visible Tools Count"
+ "visibleToolsCount": "{count} tools available"
},
"combos": {
"title": "Combos",
@@ -2288,12 +2288,12 @@
"noEntries": "No audit log entries found",
"previous": "Previous",
"next": "Next",
- "providerWarningTitle": "Provider Warning Title",
+ "providerWarningTitle": "Provider Warnings",
"viewDetails": "View Details",
"eventMetadata": "Event Metadata",
"eventPayload": "Event Payload",
"requestId": "Request Id",
- "providerWarningDesc": "Provider Warning Desc",
+ "providerWarningDesc": "Some providers returned warnings during request processing",
"a": "A",
"offset": "Offset",
"limit": "Limit",
@@ -2301,7 +2301,7 @@
"resourceType": "Resource Type",
"totalEntries": "Total Entries",
"tab": "Tab",
- "auditModalSubtitle": "Audit Modal Subtitle",
+ "auditModalSubtitle": "Event details and metadata",
"close": "Close"
},
"onboarding": {
@@ -3347,35 +3347,35 @@
"noWildcardAliasesConfigured": "No wildcard aliases configured.",
"overview": "Overview",
"unknownError": "Unknown Error",
- "pricingSourceLiteLLM": "Pricing Source Lite Llm",
- "clearSyncedPricingConfirm": "Clear Synced Pricing Confirm",
- "clearSyncedPricingFailed": "Clear Synced Pricing Failed",
- "pricingSourceUser": "Pricing Source User",
- "pageDescription": "Page Description",
- "pricingSyncStatus": "Pricing Sync Status",
+ "pricingSourceLiteLLM": "LiteLLM (Community)",
+ "clearSyncedPricingConfirm": "Clear all synced pricing data? Provider defaults will be used instead.",
+ "clearSyncedPricingFailed": "Failed to clear synced pricing",
+ "pricingSourceUser": "User Override",
+ "pageDescription": "Manage application settings, model aliases, pricing, and routing rules",
+ "pricingSyncStatus": "Sync Status",
"whitelist": "Whitelist",
"syncDisabled": "Sync Disabled",
- "pricingLoadFailed": "Pricing Load Failed",
- "pricingSyncDescription": "Pricing Sync Description",
- "clearSyncedPricingSuccess": "Clear Synced Pricing Success",
- "clearSyncedPricingFailedWithReason": "Clear Synced Pricing Failed With Reason",
- "pricingSourceDefault": "Pricing Source Default",
- "pricingSyncSuccess": "Pricing Sync Success",
- "enableSyncError": "Enable Sync Error",
+ "pricingLoadFailed": "Failed to load pricing data",
+ "pricingSyncDescription": "Automatically sync model pricing from external sources to keep cost calculations accurate",
+ "clearSyncedPricingSuccess": "Synced pricing data cleared",
+ "clearSyncedPricingFailedWithReason": "Failed to clear pricing: {reason}",
+ "pricingSourceDefault": "Built-in Default",
+ "pricingSyncSuccess": "Pricing synced successfully",
+ "enableSyncError": "Failed to toggle pricing sync",
"syncEnabled": "Sync Enabled",
"blacklist": "Blacklist",
- "pricingSourceModelsDev": "Pricing Source Models Dev",
+ "pricingSourceModelsDev": "Models.dev",
"syncedModels": "Synced Models",
"budget": "Budget",
- "pricingSyncTitle": "Pricing Sync Title",
- "pricingResetFailedWithReason": "Pricing Reset Failed With Reason",
+ "pricingSyncTitle": "Pricing Sync",
+ "pricingResetFailedWithReason": "Failed to reset pricing: {reason}",
"tab": "Tab",
- "pricingSavedProvider": "Pricing Saved Provider",
- "pricingSyncFailed": "Pricing Sync Failed",
- "pricingSaveFailedWithReason": "Pricing Save Failed With Reason",
- "pricingResetProvider": "Pricing Reset Provider",
+ "pricingSavedProvider": "Pricing saved for {provider}",
+ "pricingSyncFailed": "Pricing sync failed",
+ "pricingSaveFailedWithReason": "Failed to save pricing: {reason}",
+ "pricingResetProvider": "Pricing reset for {provider}",
"nextSync": "Next Sync",
- "pricingSyncFailedWithReason": "Pricing Sync Failed With Reason",
+ "pricingSyncFailedWithReason": "Pricing sync failed: {reason}",
"clearSyncedPricing": "Clear Synced Pricing"
},
"translator": {
@@ -3410,8 +3410,8 @@
"liveAutoRefreshing": "Live — Auto-refreshing",
"paused": "Paused",
"eventsAppearHint": "Translation events appear here as requests flow through OmniRoute. Use any of these methods to generate events:",
- "chatTesterTab": "Chat Tester tab",
- "testBenchTab": "Test Bench tab",
+ "chatTesterTab": "Chat Tester",
+ "testBenchTab": "Test Bench",
"externalApiCalls": "External API calls",
"ideCliIntegrations": "IDE/CLI integrations",
"inMemoryNote": "Note: Events are stored in-memory and reset when the server restarts.",
@@ -4004,7 +4004,7 @@
"oauthAutoRefresh": "OAuth connection with automatic token refresh.",
"fullStreaming": "Full streaming support for all models.",
"docsLabel": "Docs",
- "docsHeroDescription": "AI gateway for multi-provider LLMs. One endpoint for OpenAI, Anthropic, Gemini, GitHub Copilot, Claude Code, Cursor, and 20+ more providers.",
+ "docsHeroDescription": "AI gateway for multi-provider LLMs. One endpoint for OpenAI, Anthropic, Gemini, DeepSeek, GitHub Copilot, Claude Code, Cursor, and 100+ more providers.",
"openDashboard": "Open Dashboard",
"endpointPage": "Endpoint Page",
"github": "GitHub",
@@ -4107,7 +4107,58 @@
"troubleshootingCodexFamily": "For GitHub Codex-family models, keep model as gh/codex-model; router selects /responses automatically.",
"troubleshootingTestConnection": "Use Dashboard > Providers > Test Connection before testing from IDEs or external clients.",
"troubleshootingCircuitBreaker": "If a provider shows circuit breaker open, wait for the cooldown or check Health page for details.",
- "troubleshootingOAuth": "For OAuth providers, re-authenticate if tokens expire. Check the provider card status indicator."
+ "troubleshootingOAuth": "For OAuth providers, re-authenticate if tokens expire. Check the provider card status indicator.",
+ "endpointCompletionsNote": "Legacy completions endpoint for text generation.",
+ "endpointModerationsNote": "Content moderation and safety classification.",
+ "endpointRerankNote": "Document reranking for retrieval-augmented generation (Cohere, Jina).",
+ "endpointSearchNote": "Web search with 5 providers (Serper, Brave, Exa, Tavily, Perplexity).",
+ "endpointSearchAnalyticsNote": "Analytics and metrics for search requests.",
+ "endpointVideoNote": "Video generation (ComfyUI, SD WebUI workflows).",
+ "endpointMusicNote": "Music generation via ComfyUI workflows.",
+ "endpointMessagesNote": "Anthropic-native messages endpoint.",
+ "endpointCountTokensNote": "Count tokens for a given message payload.",
+ "endpointFilesNote": "File upload for multimodal inputs.",
+ "endpointBatchesNote": "Batch processing for bulk API requests.",
+ "endpointWsNote": "WebSocket endpoint for real-time streaming.",
+ "mgmtProvidersListNote": "List all registered provider connections.",
+ "mgmtProvidersCreateNote": "Create a new provider connection.",
+ "mgmtProvidersUpdateNote": "Update an existing provider connection.",
+ "mgmtProvidersDeleteNote": "Delete a provider connection.",
+ "mgmtProvidersTestNote": "Test connectivity and authentication for a provider.",
+ "mgmtProvidersModelsNote": "List available models for a specific provider.",
+ "mgmtSettingsGetNote": "Retrieve current application settings.",
+ "mgmtSettingsUpdateNote": "Update application settings.",
+ "mgmtPayloadRulesGetNote": "Get payload transformation rules.",
+ "mgmtPayloadRulesUpdateNote": "Update payload transformation rules.",
+ "mcpToolsTitle": "MCP Tools",
+ "mcpToolsDescription": "OmniRoute exposes {count} tools via Model Context Protocol for agent orchestration.",
+ "mcpToolsCount": "{count} tools",
+ "mcpToolsToc": "MCP Tools",
+ "mcpToolsRoutingTitle": "Routing & Discovery",
+ "mcpToolsRoutingDesc": "Health checks, combo management, quota monitoring, cost reporting, and model catalog access.",
+ "mcpToolsOperationsTitle": "Operations & Strategy",
+ "mcpToolsOperationsDesc": "Route simulation, budget guards, strategy switching, resilience profiles, and provider metrics.",
+ "mcpToolsCacheTitle": "Cache Management",
+ "mcpToolsCacheDesc": "View cache statistics and flush semantic or signature caches.",
+ "mcpToolsMemoryTitle": "Memory",
+ "mcpToolsMemoryDesc": "Search, add, and clear persistent conversational memory entries.",
+ "mcpToolsSkillsTitle": "Skills",
+ "mcpToolsSkillsDesc": "List, enable, execute, and monitor custom skill executions.",
+ "featureAutoComboTitle": "Auto-Combo",
+ "featureAutoComboText": "Automatically create optimized combos based on your connected providers, usage patterns, and model capabilities.",
+ "featureSearchTitle": "Web Search",
+ "featureSearchText": "Integrated web search with 5 providers (Serper, Brave, Exa, Tavily, Perplexity) including analytics and cost tracking.",
+ "featureMemoryTitle": "Memory System",
+ "featureMemoryText": "Persistent conversational memory with extraction, injection, retrieval, and summarization across sessions.",
+ "featureSkillsTitle": "Skills Framework",
+ "featureSkillsText": "Extensible skill system with built-in and custom skills, sandbox execution, request interception, and context injection.",
+ "featureAcpTitle": "Agent Communication",
+ "featureAcpText": "Agent Communication Protocol (ACP) registry for managing agent-to-agent workflows and tool orchestration.",
+ "protocolAcpTitle": "ACP (Agent Communication)",
+ "protocolAcpDesc": "Register and manage agents via the ACP registry for inter-agent communication and tool sharing.",
+ "protocolAcpStep1": "Navigate to Dashboard → Agents to view registered ACP agents.",
+ "protocolAcpStep2": "Register new agents with capabilities and endpoint configuration.",
+ "protocolAcpStep3": "Use CLI Tools to configure agent communication channels."
},
"legal": {
"privacyPolicy": "Privacy Policy",