fix(ai-gateway): gate fallback reasoning variants - #5086
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Executive SummaryIncremental review of the latest commit: making Files Reviewed (8 files)
Previous Review Summary (commit fe99f5d)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit fe99f5d)Status: No Issues Found | Recommendation: Merge Executive SummaryThe fallback-variant gating is applied consistently across OpenRouter model enhancement, direct-BYOK conversion, and models.dev sync; the new optional Files Reviewed (7 files)
Reviewed by kimi-k3 · Input: 39.4K · Output: 5.6K · Cached: 263.2K Review guidance: REVIEW.md from base branch |
Summary
reasoningis advertised insupported_parametersVerification
pnpm --filter web test -- --runInBand src/lib/ai-gateway/providers/openrouter/index.test.ts src/lib/ai-gateway/providers/direct-byok/index.test.ts src/lib/ai-gateway/providers/direct-byok/sync-direct-byok.test.tspnpm --filter web typecheckoxlint,oxfmt --check, andgit diff --check