Explorar el Código

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

Update openrouter.ts
Matt Rubens hace 11 meses
padre
commit
2b17eeb7c5

+ 1 - 1
src/api/providers/__tests__/openrouter.test.ts

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

+ 1 - 1
src/api/providers/openrouter.ts

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