+ {t( + 'Routes with the same incoming path are split by client model rules. Unmatched requests use the final fallback.' + )} +
+ {groupHasError && validationError ? ( ++ {validationError.routeIndex !== undefined + ? `${t('Route')} ${validationError.routeIndex + 1}: ` + : ''} + {t(validationError.message)} +
+ ) : null} +
{t(upstreamPathDescriptionKey)}
@@ -651,7 +1092,7 @@ function RouteEditor({
>
{t(errorMessage)}
+ ) : null} + {authMode === 'header' || authMode === 'query' ? ( <>+ {t( + 'Use exact model names such as gpt-4o, or regex rules prefixed with re: such as re:^gemini-.' + )} +
++ {t( + 'Separate multiple rules with English commas. For regex patterns that need commas, switch to JSON Text.' + )} +
++ {t( + 'Leave the final split empty as the fallback for models not matched above.' + )} +
+