Skip to content

fix(thinking): use camelCase budgetTokens for AI SDK compatibility#27

Merged
vtemian merged 1 commit intomainfrom
fix/thinking-budget-tokens
Mar 9, 2026
Merged

fix(thinking): use camelCase budgetTokens for AI SDK compatibility#27
vtemian merged 1 commit intomainfrom
fix/thinking-budget-tokens

Conversation

@vtemian
Copy link
Owner

@vtemian vtemian commented Mar 9, 2026

Summary

  • Fixes thinking mode error AI_UnsupportedFunctionalityError: 'thinking requires a budget' by renaming budget_tokens to budgetTokens (camelCase) as expected by the AI SDK.

Fixes #25

budget_tokens (snake_case) caused AI_UnsupportedFunctionalityError because
the AI SDK expects budgetTokens (camelCase).

Fixes #25
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@vtemian vtemian merged commit 88bc789 into main Mar 9, 2026
2 checks passed
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.

Thinking is broken ('thinking requires a budget')

1 participant