fix(openrouter.ts): HTTP-Referer and X-Title (#35)

This commit is contained in:
lloydchang
2024-12-01 16:26:35 -08:00
committed by GitHub
parent b9c274add2
commit 99c7e45cb7

View File

@@ -32,8 +32,8 @@ export class OpenRouterHandler {
headers: {
"Authorization": `Bearer ${this.apiKey}`,
"Content-Type": "application/json",
"HTTP-Referer": "https://github.com/mattvr/roo-cline",
"X-Title": "Cline CLI"
"HTTP-Referer": "https://github.com/RooVetGit/Roo-Cline",
"X-Title": "Roo Cline"
},
body: JSON.stringify({
model: this.model,