Skip to content

Conversation

@dtrugman
Copy link
Contributor

@dtrugman dtrugman commented Mar 7, 2025

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:
image

Before:
image

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 getRequestyModels in requesty.ts to correctly set supportsImages and supportsComputerUse from rawModel data, removing manual switch logic.

  • Behavior:
    • getRequestyModels in requesty.ts now correctly sets supportsImages and supportsComputerUse from rawModel data.
    • Removes switch statement that manually set supportsImages, supportsComputerUse, and maxTokens for specific model IDs.
  • Misc:
    • Fixes indentation in requesty.ts comments.

This description was created by Ellipsis for 29094b8b657ce0499e96e15bf071495d78968fc3. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Mar 7, 2025

⚠️ No Changeset found

Latest commit: 129f158

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Mar 7, 2025
@dtrugman dtrugman force-pushed the feat/requesty-image-and-computer-use-flags branch from 29094b8 to 129f158 Compare March 7, 2025 13:00
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 7, 2025
@mrubens mrubens merged commit 05edd97 into RooCodeInc:main Mar 7, 2025
11 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Mar 7, 2025
ipattis pushed a commit to ipattis/roo-code that referenced this pull request Mar 15, 2025
…nder chat field (RooCodeInc#1449)

* Fix bug where auto-approving commands would not stream output back to webview

* Fix model id under chat field

* Amend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants