Skip to content

fix(provider): tweak reasoning option driven max budget variants#36626

Merged
rekram1-node merged 2 commits into
devfrom
budget-variants
Jul 13, 2026
Merged

fix(provider): tweak reasoning option driven max budget variants#36626
rekram1-node merged 2 commits into
devfrom
budget-variants

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • always derive high and max variants for token-budget reasoning controls
  • use half of the effective allocation for high and allocation minus one for max
  • default missing models.dev maximums to a 32,000-token allocation while respecting model output limits

Testing

  • bun test test/provider/transform.test.ts --test-name-pattern reasoningVariants
  • bun typecheck

@rekram1-node rekram1-node changed the title fix(provider): restore max budget variants fix(provider): tweak reasoning option driven max budget variants Jul 13, 2026
@rekram1-node rekram1-node merged commit 99668cf into dev Jul 13, 2026
11 checks passed
@rekram1-node rekram1-node deleted the budget-variants branch July 13, 2026 14:18
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.

1 participant