Add thinking to Requesty provider #4041
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related GitHub Issue
Closes: #4040
Description
Show either the budget or effort control when choosing a model that supports it.
Limited to the Requesty provider.
Test Procedure
Select Requesty as your provider.
Choose any Anthropic reasoning model from any provider (anthropic/vertex/etc) and make sure the reasoning budget slider is visible.
Choose any OpenAI reasoning model and make sure the effort dropdown is visible.
Type of Change
srcor test files.Pre-Submission Checklist
npm run lint).console.log) has been removed.npm test).mainbranch.npm run changesetif this PR includes user-facing changes or dependency updates.Screenshots / Videos
No changes to components. The ThinkingBudget component now shows for Requesty. Example:

Documentation Updates
Does this PR necessitate updates to user-facing documentation?
Additional Notes
Thank you
Important
Add reasoning budget and effort controls to Requesty provider for Anthropic and OpenAI models.
getRequestyModels()inrequesty.ts.RequestyHandlerinrequesty.tsto includereasoning_effortandthinkingparameters increateMessage()andcompletePrompt().RequestyChatCompletionParamsto includethinkingobject withtypeandbudget_tokens.This description was created by
for 6f9b50531855de4ed00cba3359f1adb2f9765cce. You can customize this summary. It will automatically update as commits are pushed.