This repository was archived by the owner on May 15, 2026. It is now read-only.
Commit 3a8dea8
committed
feat: use custom Base URL for OpenRouter model list fetch
When a custom Base URL is configured for the OpenRouter provider,
Roo Code now uses that URL to fetch the list of available models
instead of always hitting the public OpenRouter API.
Changes:
- webviewMessageHandler.ts: Pass openRouterBaseUrl to the openrouter candidate options
- modelCache.ts: Forward baseUrl option to getOpenRouterModels()
Fixes #111501 parent ede1d29 commit 3a8dea8
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
894 | 894 | | |
895 | 895 | | |
896 | 896 | | |
897 | | - | |
| 897 | + | |
898 | 898 | | |
899 | 899 | | |
900 | 900 | | |
| |||
0 commit comments