We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b5f6e37 + 76f9181 commit 99258e4Copy full SHA for 99258e4
src/api/providers/openrouter.ts
@@ -162,7 +162,7 @@ export class OpenRouterHandler extends BaseProvider implements SingleCompletionH
162
await delay(200) // FIXME: necessary delay to ensure generation endpoint is ready
163
164
try {
165
- const response = await axios.get(`https://openrouter.ai/api/v1/generation?id=${genId}`, {
+ const response = await axios.get(`${this.client.baseURL}/generation?id=${genId}`, {
166
headers: {
167
Authorization: `Bearer ${this.options.openRouterApiKey}`,
168
},
0 commit comments