Skip to content

feat(ai-gateway): store model reasoning metadata - #5027

Merged
chrarnoldus merged 3 commits into
mainfrom
store-openrouter-reasoning-capabilities
Aug 5, 2026
Merged

feat(ai-gateway): store model reasoning metadata#5027
chrarnoldus merged 3 commits into
mainfrom
store-openrouter-reasoning-capabilities

Conversation

@chrarnoldus

Copy link
Copy Markdown
Contributor

Summary

  • preserve OpenRouter model reasoning metadata during gateway model sync
  • store only mandatory and optional supported_efforts, stripping unsupported response fields
  • cover models with and without supported effort lists

Validation

  • scripts/typecheck-all.sh --changes-only
  • pnpm --filter @kilocode/db lint
  • pnpm exec oxfmt --check packages/db/src/schema-types.ts packages/db/src/schema-types.test.ts
  • direct TypeScript parsing assertion against representative OpenRouter model data

Testing note

  • focused Jest execution was blocked because the web Jest config does not discover external packages/db tests from the Agent Manager worktree path

@chrarnoldus chrarnoldus self-assigned this Aug 5, 2026
@chrarnoldus
chrarnoldus merged commit faa832a into main Aug 5, 2026
45 checks passed
@chrarnoldus
chrarnoldus deleted the store-openrouter-reasoning-capabilities branch August 5, 2026 10:23
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