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.
1 parent ff54c63 commit 76f9181Copy full SHA for 76f9181
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