Skip to content

Conversation

@mrubens
Copy link
Collaborator

@mrubens mrubens commented Mar 12, 2025

#1571 (comment)


Important

Make OpenRouter URL configurable in getOpenRouterModels and handleOpenRouterCallback to support different environments.

  • Behavior:
    • getOpenRouterModels in openrouter.ts now accepts options to configure openRouterBaseUrl.
    • handleOpenRouterCallback in ClineProvider.ts uses apiConfiguration.openRouterBaseUrl for the auth endpoint.
  • Functions:
    • Updated getOpenRouterModels calls in ClineProvider.ts to pass apiConfiguration.
    • Modified handleOpenRouterCallback to extract base domain from openRouterBaseUrl.
  • Misc:
    • Adjusted refreshOpenRouterModels case in ClineProvider.ts to use configForRefresh for model fetching.

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

@changeset-bot
Copy link

changeset-bot bot commented Mar 12, 2025

⚠️ No Changeset found

Latest commit: 774248b

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:XL This PR changes 500-999 lines, ignoring generated files. label Mar 12, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 12, 2025
@mrubens mrubens force-pushed the more_open_router_base_url_fixing branch from bf947f7 to 774248b Compare March 12, 2025 18:57
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:XL This PR changes 500-999 lines, ignoring generated files. labels Mar 12, 2025
@mrubens mrubens merged commit b63c136 into main Mar 12, 2025
10 of 11 checks passed
@mrubens mrubens deleted the more_open_router_base_url_fixing branch March 12, 2025 19:10
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Mar 12, 2025
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.

3 participants