feat: add reasoning effort support to Chutes provider models #8905
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.
Summary
This PR adds reasoning effort support to the Chutes provider, addressing Issue #8904.
What's Changed
✨ Features Added
📋 Models with Reasoning Effort Support
The following models now support reasoning effort configuration:
🧪 Testing
📝 Implementation Details
Related Issue
Fixes #8904
Screenshots
The reasoning effort UI now appears in Chutes provider settings similar to other providers:
Review Notes
The implementation follows established patterns and maintains consistency with existing provider implementations. No breaking changes or security issues were introduced.
Important
Adds reasoning effort support to Chutes models, updates UI for configuration, and ensures API calls handle the new parameter with comprehensive testing.
chutes.tswith default "medium" level.ChutesHandlerinchutes.tsto passreasoning_effortparameter in API calls.ThinkingBudgetcomponent inChutes.tsxfor UI configuration of reasoning effort levels.chutes.spec.tsto validate reasoning effort handling for supported and unsupported models.getModelParamsandgetModelMaxOutputTokensinchutes.ts.This description was created by
for 3fd79db. You can customize this summary. It will automatically update as commits are pushed.