Skip to content

fix(ai-gateway): maximize Auto Free reasoning - #5061

Merged
chrarnoldus merged 1 commit into
mainfrom
amplified-ancient
Aug 6, 2026
Merged

fix(ai-gateway): maximize Auto Free reasoning#5061
chrarnoldus merged 1 commit into
mainfrom
amplified-ancient

Conversation

@chrarnoldus

Copy link
Copy Markdown
Contributor

Summary

  • hardcode the strongest supported reasoning configuration for every Auto Free candidate
  • carry candidate reasoning settings through weighted routing so client defaults cannot weaken them
  • cover the full candidate map and resolved Auto Free result with unit tests

Verification

  • pnpm format
  • web TypeScript check (apps/web/node_modules/.bin/tsgo --noEmit -p apps/web/tsconfig.json)
  • targeted oxlint on the four changed files
  • targeted Jest suites: 58 tests passed

@chrarnoldus chrarnoldus self-assigned this Aug 5, 2026
@kilo-code-bot

kilo-code-bot Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (4 files)
  • apps/web/src/lib/ai-gateway/models.ts
  • apps/web/src/lib/ai-gateway/models.test.ts
  • apps/web/src/lib/ai-gateway/auto-model/resolution.ts
  • apps/web/src/lib/ai-gateway/auto-model/resolution.test.ts

Reviewed by kimi-k3 · Input: 68K · Output: 9.6K · Cached: 696.3K

Review guidance: REVIEW.md from base branch main

@chrarnoldus
chrarnoldus merged commit af2daf5 into main Aug 6, 2026
16 checks passed
@chrarnoldus
chrarnoldus deleted the amplified-ancient branch August 6, 2026 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants