mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-07 02:58:15 +00:00
Merge pull request #1572 from RooVetGit/fix_openrouter_generation_check
Use baseURL in OpenRouter generation check
This commit is contained in:
commit
99258e4a9c
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