File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,9 +70,10 @@ export function RoutingContent() {
7070 < CardHeader >
7171 < CardTitle > Vercel Routing Percentage</ CardTitle >
7272 < CardDescription >
73- Control the percentage of traffic routed to the Vercel AI Gateway (vs OpenRouter). Leave
74- empty to use the default ({ DEFAULT_VERCEL_PERCENTAGE } %). Stored in Redis for
75- sub-millisecond reads on the hot path.
73+ For models available on the Vercel AI Gateway, controls the percentage of traffic routed
74+ to Vercel (vs OpenRouter). Models not available on Vercel always go to OpenRouter, so
75+ overall traffic may still be skewed towards OpenRouter. Leave empty to use the default (
76+ { DEFAULT_VERCEL_PERCENTAGE } %).
7677 </ CardDescription >
7778 </ CardHeader >
7879 < CardContent className = "flex flex-col gap-4" >
Original file line number Diff line number Diff line change 11import * as z from 'zod' ;
22
3- export const DEFAULT_VERCEL_PERCENTAGE = 10 ;
3+ export const DEFAULT_VERCEL_PERCENTAGE = 50 ;
44
55const vercelRoutingPercentage = z . number ( ) . int ( ) . min ( 0 ) . max ( 100 ) ;
66
You can’t perform that action at this time.
0 commit comments