Requesty: Correctly set image and computer use support #1449
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.
Context
Fixing model info for the Requesty provider.
Implementation
Correctly set the information read from the /v1/model endpoint of the Requesty router.
maxTokens value was correctly set in our DB (and hence reflected via /v1/models) to 8192.
We will push another PR later to correctly identify extended thinking when set via the Roo Code extension and change that to 64000.
Screenshots
After:

Before:

How to Test
Open the extension.
Go to settings.
Select 'Requesty' as your provider.
From the dropdown, select 'anthropic/claude-3-7-sonnet-latest'.
Make sure all three features (caching, images, computer use) are enabled.
Get in Touch
@ditti.o on Discord.
Important
Fix
getRequestyModelsinrequesty.tsto correctly setsupportsImagesandsupportsComputerUsefromrawModeldata, removing manual switch logic.getRequestyModelsinrequesty.tsnow correctly setssupportsImagesandsupportsComputerUsefromrawModeldata.supportsImages,supportsComputerUse, andmaxTokensfor specific model IDs.requesty.tscomments.This description was created by
for 29094b8b657ce0499e96e15bf071495d78968fc3. It will automatically update as commits are pushed.