Add new provider OpenRouter

This commit is contained in:
wyfyjc
2025-03-02 14:36:16 +08:00
parent f7cde17919
commit 636b234079
13 changed files with 550 additions and 2 deletions

View File

@@ -534,6 +534,17 @@ const cn = {
SubTitle: "样例:",
},
},
OpenRouter: {
ApiKey: {
Title: "接口密钥",
SubTitle: "使用自定义OpenRouter API Key",
Placeholder: "OpenRouter API Key",
},
Endpoint: {
Title: "接口地址",
SubTitle: "样例:",
},
},
CustomModel: {
Title: "自定义模型名",
SubTitle: "增加自定义模型可选项,使用英文逗号隔开",

View File

@@ -543,6 +543,17 @@ const en: LocaleType = {
SubTitle: "Select a safety filtering level",
},
},
OpenRouter: {
ApiKey: {
Title: "OpenRouter API Key",
SubTitle: "Use a custom OpenRouter API Key",
Placeholder: "OpenRouter API Key",
},
Endpoint: {
Title: "Endpoint Address",
SubTitle: "Example: ",
},
},
},
Model: "Model",