mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-11 22:51:26 +00:00
Use baseURL in OpenRouter generation check
This commit is contained in:
parent
ff54c63ffa
commit
76f91819c1
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ export class OpenRouterHandler extends BaseProvider implements SingleCompletionH
|
|||
await delay(200) // FIXME: necessary delay to ensure generation endpoint is ready
|
||||
|
||||
try {
|
||||
const response = await axios.get(`https://openrouter.ai/api/v1/generation?id=${genId}`, {
|
||||
const response = await axios.get(`${this.client.baseURL}/generation?id=${genId}`, {
|
||||
headers: {
|
||||
Authorization: `Bearer ${this.options.openRouterApiKey}`,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue