mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Merge pull request #468 from RooVetGit/mrubens-patch-1
Update openrouter.ts
This commit is contained in:
@@ -36,7 +36,7 @@ describe("OpenRouterHandler", () => {
|
|||||||
apiKey: mockOptions.openRouterApiKey,
|
apiKey: mockOptions.openRouterApiKey,
|
||||||
defaultHeaders: {
|
defaultHeaders: {
|
||||||
"HTTP-Referer": "https://github.com/RooVetGit/Roo-Cline",
|
"HTTP-Referer": "https://github.com/RooVetGit/Roo-Cline",
|
||||||
"X-Title": "Roo-Code",
|
"X-Title": "Roo Code",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ export class OpenRouterHandler implements ApiHandler, SingleCompletionHandler {
|
|||||||
apiKey: this.options.openRouterApiKey,
|
apiKey: this.options.openRouterApiKey,
|
||||||
defaultHeaders: {
|
defaultHeaders: {
|
||||||
"HTTP-Referer": "https://github.com/RooVetGit/Roo-Cline",
|
"HTTP-Referer": "https://github.com/RooVetGit/Roo-Cline",
|
||||||
"X-Title": "Roo-Code",
|
"X-Title": "Roo Code",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user