Merge pull request #468 from RooVetGit/mrubens-patch-1

Update openrouter.ts
This commit is contained in:
Matt Rubens
2025-01-21 19:34:55 -05:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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",
}, },
}) })
}) })

View File

@@ -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",
}, },
}) })
} }