Commit c693f1c
committed
fix: Remove premature fallback in vercel-ai-gateway model validation
- Pass raw apiConfiguration.vercelAiGatewayModelId to getValidatedModelId()
- Remove ?? defaultModelId fallback that bypassed validation logic
- Now consistent with all other dynamic providers (openrouter, requesty, etc)
- Ensures helper function properly validates undefined cases1 parent 9da1589 commit c693f1c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| |||
0 commit comments