Просмотр исходного кода

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

Update openrouter.ts
Matt Rubens 11 месяцев назад
Родитель
Сommit
2b17eeb7c5
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      src/api/providers/__tests__/openrouter.test.ts
  2. 1 1
      src/api/providers/openrouter.ts

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

@@ -36,7 +36,7 @@ describe("OpenRouterHandler", () => {
 			apiKey: mockOptions.openRouterApiKey,
 			defaultHeaders: {
 				"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,
 			defaultHeaders: {
 				"HTTP-Referer": "https://github.com/RooVetGit/Roo-Cline",
-				"X-Title": "Roo-Code",
+				"X-Title": "Roo Code",
 			},
 		})
 	}