@lobehub/chat 0.138.2 → 0.139.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +6 -0
- package/CHANGELOG.md +25 -0
- package/Dockerfile +3 -0
- package/docs/self-hosting/environment-variables/model-provider.mdx +14 -4
- package/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx +8 -0
- package/locales/ar/common.json +2 -1
- package/locales/ar/error.json +7 -1
- package/locales/ar/setting.json +16 -0
- package/locales/de-DE/common.json +2 -1
- package/locales/de-DE/error.json +7 -1
- package/locales/de-DE/setting.json +16 -0
- package/locales/en-US/common.json +2 -1
- package/locales/en-US/error.json +7 -1
- package/locales/en-US/setting.json +16 -0
- package/locales/es-ES/common.json +2 -1
- package/locales/es-ES/error.json +7 -1
- package/locales/es-ES/setting.json +16 -0
- package/locales/fr-FR/common.json +2 -1
- package/locales/fr-FR/error.json +7 -1
- package/locales/fr-FR/setting.json +16 -0
- package/locales/it-IT/common.json +2 -1
- package/locales/it-IT/error.json +7 -1
- package/locales/it-IT/setting.json +16 -0
- package/locales/ja-JP/common.json +2 -1
- package/locales/ja-JP/error.json +7 -1
- package/locales/ja-JP/setting.json +16 -0
- package/locales/ko-KR/common.json +2 -1
- package/locales/ko-KR/error.json +7 -1
- package/locales/ko-KR/setting.json +16 -0
- package/locales/nl-NL/common.json +2 -1
- package/locales/nl-NL/error.json +7 -1
- package/locales/nl-NL/setting.json +16 -0
- package/locales/pl-PL/common.json +2 -1
- package/locales/pl-PL/error.json +7 -1
- package/locales/pl-PL/setting.json +16 -0
- package/locales/pt-BR/common.json +2 -1
- package/locales/pt-BR/error.json +7 -1
- package/locales/pt-BR/setting.json +16 -0
- package/locales/ru-RU/common.json +2 -1
- package/locales/ru-RU/error.json +7 -1
- package/locales/ru-RU/setting.json +16 -0
- package/locales/tr-TR/common.json +2 -1
- package/locales/tr-TR/error.json +7 -1
- package/locales/tr-TR/setting.json +16 -0
- package/locales/vi-VN/common.json +2 -1
- package/locales/vi-VN/error.json +7 -1
- package/locales/vi-VN/setting.json +16 -0
- package/locales/zh-CN/common.json +2 -1
- package/locales/zh-CN/error.json +7 -1
- package/locales/zh-CN/setting.json +16 -0
- package/locales/zh-TW/common.json +2 -1
- package/locales/zh-TW/error.json +7 -1
- package/locales/zh-TW/setting.json +16 -0
- package/package.json +1 -1
- package/src/app/api/chat/[provider]/agentRuntime.test.ts +26 -0
- package/src/app/api/chat/[provider]/agentRuntime.ts +14 -0
- package/src/app/api/config/route.ts +2 -0
- package/src/app/api/errorResponse.test.ts +7 -0
- package/src/app/api/errorResponse.ts +3 -0
- package/src/app/settings/llm/OpenRouter/index.tsx +64 -0
- package/src/app/settings/llm/index.tsx +2 -0
- package/src/config/modelProviders/index.ts +3 -0
- package/src/config/modelProviders/openrouter.ts +44 -0
- package/src/config/server/provider.ts +8 -0
- package/src/const/settings.ts +4 -0
- package/src/features/Conversation/Error/APIKeyForm/OpenRouter.tsx +40 -0
- package/src/features/Conversation/Error/APIKeyForm/index.tsx +5 -0
- package/src/features/Conversation/Error/index.tsx +1 -0
- package/src/libs/agent-runtime/error.ts +3 -0
- package/src/libs/agent-runtime/index.ts +1 -0
- package/src/libs/agent-runtime/openrouter/index.test.ts +347 -0
- package/src/libs/agent-runtime/openrouter/index.ts +86 -0
- package/src/libs/agent-runtime/types/type.ts +1 -0
- package/src/locales/default/common.ts +1 -0
- package/src/locales/default/error.ts +7 -0
- package/src/locales/default/setting.ts +16 -0
- package/src/services/_auth.test.ts +10 -0
- package/src/services/_auth.ts +4 -0
- package/src/store/global/slices/settings/selectors/modelProvider.ts +14 -0
- package/src/types/settings/modelProvider.ts +7 -0
package/.env.example
CHANGED
|
@@ -93,6 +93,12 @@ OPENAI_API_KEY=sk-xxxxxxxxx
|
|
|
93
93
|
|
|
94
94
|
# GROQ_API_KEY=gsk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
95
95
|
|
|
96
|
+
########################################
|
|
97
|
+
######### OpenRouter Service ##########
|
|
98
|
+
########################################
|
|
99
|
+
|
|
100
|
+
#OPENROUTER_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
101
|
+
|
|
96
102
|
########################################
|
|
97
103
|
############ Market Service ############
|
|
98
104
|
########################################
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
## [Version 0.139.0](https://github.com/lobehub/lobe-chat/compare/v0.138.2...v0.139.0)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-03-16**</sup>
|
|
8
|
+
|
|
9
|
+
#### ✨ Features
|
|
10
|
+
|
|
11
|
+
- **misc**: Support openrouter as a new model provider.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's improved
|
|
19
|
+
|
|
20
|
+
- **misc**: Support openrouter as a new model provider, closes [#1572](https://github.com/lobehub/lobe-chat/issues/1572) ([780b1a2](https://github.com/lobehub/lobe-chat/commit/780b1a2))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
5
30
|
### [Version 0.138.2](https://github.com/lobehub/lobe-chat/compare/v0.138.1...v0.138.2)
|
|
6
31
|
|
|
7
32
|
<sup>Released on **2024-03-15**</sup>
|
package/Dockerfile
CHANGED
|
@@ -161,6 +161,15 @@ When using the `turn` mode, the API Keys will be retrieved in a round-robin mann
|
|
|
161
161
|
- Default: -
|
|
162
162
|
- Example: `sk-ant-apixx-xxxxxxxxx-xxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxx`
|
|
163
163
|
|
|
164
|
+
## Mistral AI
|
|
165
|
+
|
|
166
|
+
### `MISTRAL_API_KEY`
|
|
167
|
+
|
|
168
|
+
- Type: Required
|
|
169
|
+
- Description: This is the API key you applied for in the Mistral AI service
|
|
170
|
+
- Default: -
|
|
171
|
+
- Example: `xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=`
|
|
172
|
+
|
|
164
173
|
## Groq AI
|
|
165
174
|
|
|
166
175
|
### `GROQ_API_KEY`
|
|
@@ -170,13 +179,14 @@ When using the `turn` mode, the API Keys will be retrieved in a round-robin mann
|
|
|
170
179
|
- Default: -
|
|
171
180
|
- Example: `gsk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx`
|
|
172
181
|
|
|
173
|
-
##
|
|
182
|
+
## OpenRouter AI
|
|
174
183
|
|
|
175
|
-
### `
|
|
184
|
+
### `OPENROUTER_API_KEY`
|
|
176
185
|
|
|
177
186
|
- Type: Required
|
|
178
|
-
- Description: This is the API key you applied for in the
|
|
187
|
+
- Description: This is the API key you applied for in the OpenRouter AI service
|
|
179
188
|
- Default: -
|
|
180
|
-
- Example: `xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=`
|
|
189
|
+
- Example: `sk-or-v1-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=`
|
|
190
|
+
|
|
181
191
|
|
|
182
192
|
[azure-api-verion-url]: https://docs.microsoft.com/zh-cn/azure/developer/javascript/api-reference/es-modules/azure-sdk/ai-translation/translationconfiguration?view=azure-node-latest#api-version
|
|
@@ -176,5 +176,13 @@ LobeChat 在部署时提供了丰富的模型服务商相关的环境变量,
|
|
|
176
176
|
- 描述:这是你在 Groq AI 服务中申请的 API 密钥
|
|
177
177
|
- 默认值:-
|
|
178
178
|
- 示例:`gsk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx`
|
|
179
|
+
## OpenRouter AI
|
|
180
|
+
|
|
181
|
+
### `OPENROUTER_API_KEY`
|
|
182
|
+
|
|
183
|
+
- 类型:必选
|
|
184
|
+
- 描述:这是你在 OpenRouter AI 服务中申请的 API 密钥
|
|
185
|
+
- 默认值:-
|
|
186
|
+
- 示例:`sk-or-v1-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=`
|
|
179
187
|
|
|
180
188
|
[azure-api-verion-url]: https://docs.microsoft.com/zh-cn/azure/developer/javascript/api-reference/es-modules/azure-sdk/ai-translation/translationconfiguration?view=azure-node-latest#api-version
|
package/locales/ar/common.json
CHANGED
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
"ollama": "أولاما",
|
|
111
111
|
"oneapi": "وان آبي آي",
|
|
112
112
|
"openai": "أوبن إيه آي",
|
|
113
|
+
"openrouter": "OpenRouter",
|
|
113
114
|
"perplexity": "Perplexity",
|
|
114
115
|
"zhipu": "Zhipu"
|
|
115
116
|
},
|
|
@@ -146,4 +147,4 @@
|
|
|
146
147
|
"hasNew": "يوجد تحديث متاح",
|
|
147
148
|
"newVersion": "هناك إصدار جديد متاح: {{version}}"
|
|
148
149
|
}
|
|
149
|
-
}
|
|
150
|
+
}
|
package/locales/ar/error.json
CHANGED
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"InvalidMistralAPIKey": "مفتاح Mistral AI API غير صحيح أو فارغ، يرجى التحقق من مفتاح Mistral API وإعادة المحاولة",
|
|
49
49
|
"InvalidMoonshotAPIKey": "مفتاح API لـ Moonshot AI غير صحيح أو فارغ، يرجى التحقق من مفتاح API لـ Moonshot وإعادة المحاولة",
|
|
50
50
|
"InvalidOllamaArgs": "تكوين Ollama غير صحيح، يرجى التحقق من تكوين Ollama وإعادة المحاولة",
|
|
51
|
+
"InvalidOpenRouterAPIKey": "مفتاح OpenRouter API غير صحيح أو فارغ، يرجى التحقق من مفتاح OpenRouter API وإعادة المحاولة",
|
|
51
52
|
"InvalidPerplexityAPIKey": "مفتاح Perplexity API غير صحيح أو فارغ، يرجى التحقق من مفتاح Perplexity API وإعادة المحاولة",
|
|
52
53
|
"InvalidZhipuAPIKey": "مفتاح Zhipu API غير صحيح أو فارغ، يرجى التحقق من مفتاح Zhipu API وإعادة المحاولة",
|
|
53
54
|
"LocationNotSupportError": "عذرًا، لا يدعم موقعك الحالي خدمة هذا النموذج، قد يكون ذلك بسبب قيود المنطقة أو عدم توفر الخدمة. يرجى التحقق مما إذا كان الموقع الحالي يدعم استخدام هذه الخدمة، أو محاولة استخدام معلومات الموقع الأخرى.",
|
|
@@ -57,6 +58,7 @@
|
|
|
57
58
|
"OllamaBizError": "خطأ في طلب خدمة Ollama، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
|
|
58
59
|
"OllamaServiceUnavailable": "خدمة Ollama غير متوفرة، يرجى التحقق مما إذا كانت قد تم تشغيلها بشكل صحيح",
|
|
59
60
|
"OpenAIBizError": "حدث خطأ في طلب خدمة OpenAI، يرجى التحقق من المعلومات أدناه وإعادة المحاولة",
|
|
61
|
+
"OpenRouterBizError": "خطأ في طلب خدمة OpenRouter AI، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
|
|
60
62
|
"PerplexityBizError": "خطأ في طلب خدمة Perplexity AI، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
|
|
61
63
|
"PluginApiNotFound": "عذرًا، لا يوجد API للإضافة في وصف الإضافة، يرجى التحقق من تطابق طريقة الطلب الخاصة بك مع API الوصف",
|
|
62
64
|
"PluginApiParamsError": "عذرًا، فشلت التحقق من صحة معلمات الطلب للإضافة، يرجى التحقق من تطابق المعلمات مع معلومات الوصف",
|
|
@@ -110,6 +112,10 @@
|
|
|
110
112
|
"description": "أدخل مفتاح OpenAI API الخاص بك لبدء الجلسة. لن يقوم التطبيق بتسجيل مفتاح الواجهة البرمجية الخاص بك",
|
|
111
113
|
"title": "استخدام مفتاح OpenAI API المخصص"
|
|
112
114
|
},
|
|
115
|
+
"OpenRouter": {
|
|
116
|
+
"description": "أدخل مفتاح OpenRouter API الخاص بك للبدء في الجلسة. لن يتم تسجيل مفتاح الخاص بك من قبل التطبيق",
|
|
117
|
+
"title": "استخدام مفتاح OpenRouter API المخصص"
|
|
118
|
+
},
|
|
113
119
|
"Perplexity": {
|
|
114
120
|
"description": "أدخل مفتاح Perplexity API الخاص بك للبدء في الجلسة. لن يتم تسجيل مفتاح الواجهة البرمجية لتطبيقات الجلسة",
|
|
115
121
|
"title": "استخدام مفتاح Perplexity API المخصص"
|
|
@@ -144,4 +150,4 @@
|
|
|
144
150
|
"password": "كلمة المرور"
|
|
145
151
|
}
|
|
146
152
|
}
|
|
147
|
-
}
|
|
153
|
+
}
|
package/locales/ar/setting.json
CHANGED
|
@@ -177,6 +177,22 @@
|
|
|
177
177
|
"title": "استخدام Azure OpenAI"
|
|
178
178
|
}
|
|
179
179
|
},
|
|
180
|
+
"OpenRouter": {
|
|
181
|
+
"checker": {
|
|
182
|
+
"desc": "اختبار صحة عنوان الوكيل"
|
|
183
|
+
},
|
|
184
|
+
"customModelName": {
|
|
185
|
+
"desc": "إضافة نموذج مخصص، استخدم فاصلة (،) للنماذج المتعددة",
|
|
186
|
+
"placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
|
|
187
|
+
"title": "اسم النموذج المخصص"
|
|
188
|
+
},
|
|
189
|
+
"title": "OpenRouter",
|
|
190
|
+
"token": {
|
|
191
|
+
"desc": "أدخل مفتاح API من OpenRouter AI",
|
|
192
|
+
"placeholder": "مفتاح API من OpenRouter AI",
|
|
193
|
+
"title": "مفتاح API"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
180
196
|
"Perplexity": {
|
|
181
197
|
"title": "Perplexity AI",
|
|
182
198
|
"token": {
|
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
"ollama": "Ollama",
|
|
111
111
|
"oneapi": "One API",
|
|
112
112
|
"openai": "OpenAI",
|
|
113
|
+
"openrouter": "OpenRouter",
|
|
113
114
|
"perplexity": "Perplexity",
|
|
114
115
|
"zhipu": "Zhipu AI"
|
|
115
116
|
},
|
|
@@ -146,4 +147,4 @@
|
|
|
146
147
|
"hasNew": "Neue Version verfügbar",
|
|
147
148
|
"newVersion": "Neue Version verfügbar: {{version}}"
|
|
148
149
|
}
|
|
149
|
-
}
|
|
150
|
+
}
|
package/locales/de-DE/error.json
CHANGED
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"InvalidMistralAPIKey": "Der Mistral AI-API-Schlüssel ist ungültig oder leer. Bitte überprüfen Sie den Mistral-API-Schlüssel und versuchen Sie es erneut.",
|
|
49
49
|
"InvalidMoonshotAPIKey": "Ungültiger oder leerer Moonshot AI API-Schlüssel. Bitte überprüfen Sie den Moonshot API-Schlüssel und versuchen Sie es erneut.",
|
|
50
50
|
"InvalidOllamaArgs": "Ollama-Konfiguration ist ungültig. Bitte überprüfen Sie die Ollama-Konfiguration und versuchen Sie es erneut.",
|
|
51
|
+
"InvalidOpenRouterAPIKey": "OpenRouter API-Schlüssel ungültig oder leer. Bitte überprüfen Sie den OpenRouter API-Schlüssel und versuchen Sie es erneut.",
|
|
51
52
|
"InvalidPerplexityAPIKey": "Perplexity API Key ist ungültig oder leer. Bitte überprüfen Sie den Perplexity API Key und versuchen Sie es erneut.",
|
|
52
53
|
"InvalidZhipuAPIKey": "Der Zhipu API-Schlüssel ist ungültig oder leer. Bitte überprüfen Sie den Zhipu API-Schlüssel und versuchen Sie es erneut.",
|
|
53
54
|
"LocationNotSupportError": "Entschuldigung, Ihr Standort unterstützt diesen Modellservice möglicherweise aufgrund von regionalen Einschränkungen oder nicht aktivierten Diensten nicht. Bitte überprüfen Sie, ob der aktuelle Standort die Verwendung dieses Dienstes unterstützt, oder versuchen Sie, andere Standortinformationen zu verwenden.",
|
|
@@ -57,6 +58,7 @@
|
|
|
57
58
|
"OllamaBizError": "Fehler bei der Anforderung des Ollama-Dienstes. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
|
|
58
59
|
"OllamaServiceUnavailable": "Ollama-Dienst nicht verfügbar. Bitte überprüfen Sie, ob er ordnungsgemäß gestartet wurde.",
|
|
59
60
|
"OpenAIBizError": "Fehler bei der OpenAI-Serviceanfrage. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut",
|
|
61
|
+
"OpenRouterBizError": "Fehler bei der Anforderung des OpenRouter AI-Dienstes. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
|
|
60
62
|
"PerplexityBizError": "Fehler bei der Anforderung des Perplexity AI-Dienstes. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
|
|
61
63
|
"PluginApiNotFound": "Entschuldigung, das API des Plugins im Plugin-Manifest existiert nicht. Bitte überprüfen Sie, ob Ihre Anfragemethode mit dem Plugin-Manifest-API übereinstimmt",
|
|
62
64
|
"PluginApiParamsError": "Entschuldigung, die Eingabeüberprüfung der Plugin-Anfrage ist fehlgeschlagen. Bitte überprüfen Sie, ob die Eingabe mit den API-Beschreibungsinformationen übereinstimmt",
|
|
@@ -110,6 +112,10 @@
|
|
|
110
112
|
"description": "Geben Sie Ihren OpenAI API-Schlüssel ein, um die Sitzung zu starten. Die Anwendung speichert Ihren API-Schlüssel nicht.",
|
|
111
113
|
"title": "Verwenden von benutzerdefinierten OpenAI API-Schlüssel"
|
|
112
114
|
},
|
|
115
|
+
"OpenRouter": {
|
|
116
|
+
"description": "Geben Sie Ihren OpenRouter API-Schlüssel ein, um die Sitzung zu starten. Die App speichert Ihren API-Schlüssel nicht.",
|
|
117
|
+
"title": "Verwenden Sie einen benutzerdefinierten OpenRouter API-Schlüssel"
|
|
118
|
+
},
|
|
113
119
|
"Perplexity": {
|
|
114
120
|
"description": "Geben Sie Ihren eigenen Perplexity API Key ein, um das Gespräch zu beginnen. Die App speichert Ihren API Key nicht.",
|
|
115
121
|
"title": "Verwenden Sie einen benutzerdefinierten Perplexity API Key"
|
|
@@ -144,4 +150,4 @@
|
|
|
144
150
|
"password": "Passwort"
|
|
145
151
|
}
|
|
146
152
|
}
|
|
147
|
-
}
|
|
153
|
+
}
|
|
@@ -177,6 +177,22 @@
|
|
|
177
177
|
"title": "Azure OpenAI verwenden"
|
|
178
178
|
}
|
|
179
179
|
},
|
|
180
|
+
"OpenRouter": {
|
|
181
|
+
"checker": {
|
|
182
|
+
"desc": "Überprüfen Sie, ob die Proxy-Adresse korrekt eingegeben wurde"
|
|
183
|
+
},
|
|
184
|
+
"customModelName": {
|
|
185
|
+
"desc": "Fügen Sie benutzerdefinierte Modelle hinzu. Verwenden Sie zur Angabe mehrerer Modelle ein Komma (,)",
|
|
186
|
+
"placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
|
|
187
|
+
"title": "Benutzerdefinierte Modellnamen"
|
|
188
|
+
},
|
|
189
|
+
"title": "OpenRouter",
|
|
190
|
+
"token": {
|
|
191
|
+
"desc": "Geben Sie den API-Schlüssel von OpenRouter AI ein",
|
|
192
|
+
"placeholder": "OpenRouter AI API-Schlüssel",
|
|
193
|
+
"title": "API-Schlüssel"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
180
196
|
"Perplexity": {
|
|
181
197
|
"title": "perplexity",
|
|
182
198
|
"token": {
|
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
"ollama": "Ollama",
|
|
111
111
|
"oneapi": "One API",
|
|
112
112
|
"openai": "OpenAI",
|
|
113
|
+
"openrouter": "OpenRouter",
|
|
113
114
|
"perplexity": "Perplexity",
|
|
114
115
|
"zhipu": "Zhipu AI"
|
|
115
116
|
},
|
|
@@ -146,4 +147,4 @@
|
|
|
146
147
|
"hasNew": "New update available",
|
|
147
148
|
"newVersion": "New version available: {{version}}"
|
|
148
149
|
}
|
|
149
|
-
}
|
|
150
|
+
}
|
package/locales/en-US/error.json
CHANGED
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"InvalidMistralAPIKey": "Incorrect or empty Mistral AI API Key. Please check your Mistral API Key and try again.",
|
|
49
49
|
"InvalidMoonshotAPIKey": "The Moonshot AI API Key is incorrect or empty, please check the Moonshot API Key and try again.",
|
|
50
50
|
"InvalidOllamaArgs": "Invalid Ollama configuration, please check Ollama configuration and try again",
|
|
51
|
+
"InvalidOpenRouterAPIKey": "Invalid or empty OpenRouter API Key. Please check your OpenRouter API Key and try again.",
|
|
51
52
|
"InvalidPerplexityAPIKey": "Perplexity API Key is incorrect or empty. Please check the Perplexity API Key and retry.",
|
|
52
53
|
"InvalidZhipuAPIKey": "Zhipu API Key is incorrect or empty. Please check the Zhipu API Key and retry.",
|
|
53
54
|
"LocationNotSupportError": "We're sorry, your current location does not support this model service. This may be due to regional restrictions or the service not being available. Please confirm if the current location supports using this service, or try using a different location.",
|
|
@@ -57,6 +58,7 @@
|
|
|
57
58
|
"OllamaBizError": "Error requesting Ollama service, please troubleshoot or retry based on the following information",
|
|
58
59
|
"OllamaServiceUnavailable": "Ollama service not detected, please check if it is running properly",
|
|
59
60
|
"OpenAIBizError": "Error requesting OpenAI service. Please troubleshoot or retry based on the following information.",
|
|
61
|
+
"OpenRouterBizError": "Error requesting OpenRouter AI service. Please troubleshoot or retry based on the following information.",
|
|
60
62
|
"PerplexityBizError": "Error requesting Perplexity AI service. Please troubleshoot or retry based on the following information.",
|
|
61
63
|
"PluginApiNotFound": "Sorry, the API does not exist in the plugin's manifest. Please check if your request method matches the plugin manifest API",
|
|
62
64
|
"PluginApiParamsError": "Sorry, the input parameter validation for the plugin request failed. Please check if the input parameters match the API description",
|
|
@@ -110,6 +112,10 @@
|
|
|
110
112
|
"description": "Enter your OpenAI API Key to start the session. The app will not store your API Key.",
|
|
111
113
|
"title": "Use custom OpenAI API Key"
|
|
112
114
|
},
|
|
115
|
+
"OpenRouter": {
|
|
116
|
+
"description": "Enter your OpenRouter API Key to start the session. The application will not store your API Key.",
|
|
117
|
+
"title": "Use Custom OpenRouter API Key"
|
|
118
|
+
},
|
|
113
119
|
"Perplexity": {
|
|
114
120
|
"description": "Enter your Perplexity API Key to start the session. The app will not store your API Key.",
|
|
115
121
|
"title": "Use custom Perplexity API Key"
|
|
@@ -144,4 +150,4 @@
|
|
|
144
150
|
"password": "Password"
|
|
145
151
|
}
|
|
146
152
|
}
|
|
147
|
-
}
|
|
153
|
+
}
|
|
@@ -177,6 +177,22 @@
|
|
|
177
177
|
"title": "Azure OpenAI"
|
|
178
178
|
}
|
|
179
179
|
},
|
|
180
|
+
"OpenRouter": {
|
|
181
|
+
"checker": {
|
|
182
|
+
"desc": "Test if the proxy address is filled in correctly"
|
|
183
|
+
},
|
|
184
|
+
"customModelName": {
|
|
185
|
+
"desc": "Add custom model, separate multiple models with comma (,)",
|
|
186
|
+
"placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
|
|
187
|
+
"title": "Custom Model Name"
|
|
188
|
+
},
|
|
189
|
+
"title": "OpenRouter",
|
|
190
|
+
"token": {
|
|
191
|
+
"desc": "Enter the API Key from OpenRouter AI",
|
|
192
|
+
"placeholder": "OpenRouter AI API Key",
|
|
193
|
+
"title": "API Key"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
180
196
|
"Perplexity": {
|
|
181
197
|
"title": "Perplexity AI",
|
|
182
198
|
"token": {
|
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
"ollama": "Ollama",
|
|
111
111
|
"oneapi": "One API",
|
|
112
112
|
"openai": "OpenAI",
|
|
113
|
+
"openrouter": "OpenRouter",
|
|
113
114
|
"perplexity": "Perplexity",
|
|
114
115
|
"zhipu": "Zhipu AI"
|
|
115
116
|
},
|
|
@@ -146,4 +147,4 @@
|
|
|
146
147
|
"hasNew": "Hay una nueva actualización disponible",
|
|
147
148
|
"newVersion": "Nueva versión disponible: {{version}}"
|
|
148
149
|
}
|
|
149
|
-
}
|
|
150
|
+
}
|
package/locales/es-ES/error.json
CHANGED
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"InvalidMistralAPIKey": "La clave de API de Mistral AI es incorrecta o está vacía. Por favor, revise la clave de API de Mistral y vuelva a intentarlo.",
|
|
49
49
|
"InvalidMoonshotAPIKey": "La clave de API de Moonshot AI no es válida o está vacía. Por favor, revise la clave de API de Moonshot e inténtelo de nuevo.",
|
|
50
50
|
"InvalidOllamaArgs": "La configuración de Ollama no es válida, por favor revisa la configuración de Ollama e inténtalo de nuevo",
|
|
51
|
+
"InvalidOpenRouterAPIKey": "La clave de API de OpenRouter es incorrecta o está vacía. Por favor, revisa la clave de API de OpenRouter e inténtalo de nuevo",
|
|
51
52
|
"InvalidPerplexityAPIKey": "La clave de API de Perplexity es inválida o está vacía. Por favor, verifica la clave de API de Perplexity e inténtalo de nuevo",
|
|
52
53
|
"InvalidZhipuAPIKey": "La clave de API de Zhipu es incorrecta o está vacía, por favor, verifica la clave de API de Zhipu e inténtalo de nuevo",
|
|
53
54
|
"LocationNotSupportError": "Lo sentimos, tu ubicación actual no es compatible con este servicio de modelo, puede ser debido a restricciones geográficas o a que el servicio no está disponible. Por favor, verifica si tu ubicación actual es compatible con este servicio o intenta usar otra información de ubicación.",
|
|
@@ -57,6 +58,7 @@
|
|
|
57
58
|
"OllamaBizError": "Error al solicitar el servicio de Ollama, por favor verifica la siguiente información o inténtalo de nuevo",
|
|
58
59
|
"OllamaServiceUnavailable": "Servicio Ollama no disponible: Ollama no detectado. Por favor, verifica si está iniciado correctamente.",
|
|
59
60
|
"OpenAIBizError": "Error al solicitar el servicio OpenAI. Depure o reintente según la siguiente información",
|
|
61
|
+
"OpenRouterBizError": "Error al solicitar el servicio de IA de OpenRouter. Por favor, revisa la siguiente información o inténtalo de nuevo",
|
|
60
62
|
"PerplexityBizError": "Error comercial al solicitar el servicio de IA de Perplexity. Por favor, revisa la siguiente información o inténtalo de nuevo",
|
|
61
63
|
"PluginApiNotFound": "Lo sentimos, el API especificado no existe en el manifiesto del complemento. Verifique si su método de solicitud coincide con el API del manifiesto del complemento",
|
|
62
64
|
"PluginApiParamsError": "Lo sentimos, la validación de los parámetros de entrada de la solicitud del complemento no ha pasado. Verifique si los parámetros de entrada coinciden con la información de descripción del API",
|
|
@@ -110,6 +112,10 @@
|
|
|
110
112
|
"description": "Ingresa tu clave de API de OpenAI para comenzar la sesión. La aplicación no guardará tu clave de API",
|
|
111
113
|
"title": "Usar clave de API personalizada de OpenAI"
|
|
112
114
|
},
|
|
115
|
+
"OpenRouter": {
|
|
116
|
+
"description": "Ingresa tu clave de API de OpenRouter para comenzar la sesión. La aplicación no almacenará tu clave de API",
|
|
117
|
+
"title": "Usar una clave de API personalizada de OpenRouter"
|
|
118
|
+
},
|
|
113
119
|
"Perplexity": {
|
|
114
120
|
"description": "Ingresa tu clave de API de Perplexity para comenzar la sesión. La aplicación no guardará tu clave de API",
|
|
115
121
|
"title": "Usar tu propia clave de API de Perplexity"
|
|
@@ -144,4 +150,4 @@
|
|
|
144
150
|
"password": "Contraseña"
|
|
145
151
|
}
|
|
146
152
|
}
|
|
147
|
-
}
|
|
153
|
+
}
|
|
@@ -177,6 +177,22 @@
|
|
|
177
177
|
"title": "Azure OpenAI"
|
|
178
178
|
}
|
|
179
179
|
},
|
|
180
|
+
"OpenRouter": {
|
|
181
|
+
"checker": {
|
|
182
|
+
"desc": "Verifica si la dirección del proxy está correctamente escrita"
|
|
183
|
+
},
|
|
184
|
+
"customModelName": {
|
|
185
|
+
"desc": "Agrega modelos personalizados, separados por comas (,) si son varios",
|
|
186
|
+
"placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
|
|
187
|
+
"title": "Nombre del modelo personalizado"
|
|
188
|
+
},
|
|
189
|
+
"title": "OpenRouter",
|
|
190
|
+
"token": {
|
|
191
|
+
"desc": "Ingresa la API Key de OpenRouter AI",
|
|
192
|
+
"placeholder": "API Key de OpenRouter AI",
|
|
193
|
+
"title": "API Key"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
180
196
|
"Perplexity": {
|
|
181
197
|
"title": "Perplexity AI",
|
|
182
198
|
"token": {
|
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
"ollama": "Ollama",
|
|
111
111
|
"oneapi": "One API",
|
|
112
112
|
"openai": "OpenAI",
|
|
113
|
+
"openrouter": "OpenRouter",
|
|
113
114
|
"perplexity": "Perplexity",
|
|
114
115
|
"zhipu": "Zhipu AI"
|
|
115
116
|
},
|
|
@@ -146,4 +147,4 @@
|
|
|
146
147
|
"hasNew": "Nouvelle mise à jour disponible",
|
|
147
148
|
"newVersion": "Nouvelle version disponible : {{version}}"
|
|
148
149
|
}
|
|
149
|
-
}
|
|
150
|
+
}
|
package/locales/fr-FR/error.json
CHANGED
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"InvalidMistralAPIKey": "Clé API Mistral AI incorrecte ou manquante. Veuillez vérifier la clé API Mistral et réessayer.",
|
|
49
49
|
"InvalidMoonshotAPIKey": "Clé API Moonshot AI incorrecte ou manquante. Veuillez vérifier la clé API Moonshot et réessayer.",
|
|
50
50
|
"InvalidOllamaArgs": "La configuration d'Ollama n'est pas valide, veuillez vérifier la configuration d'Ollama et réessayer",
|
|
51
|
+
"InvalidOpenRouterAPIKey": "La clé d'API OpenRouter est incorrecte ou manquante. Veuillez vérifier la clé d'API OpenRouter et réessayer.",
|
|
51
52
|
"InvalidPerplexityAPIKey": "La clé API Perplexity est incorrecte ou vide. Veuillez vérifier la clé API Perplexity et réessayer.",
|
|
52
53
|
"InvalidZhipuAPIKey": "Clé API Zhipu incorrecte ou vide, veuillez vérifier la clé API Zhipu et réessayer",
|
|
53
54
|
"LocationNotSupportError": "Désolé, votre emplacement actuel ne prend pas en charge ce service de modèle, peut-être en raison de restrictions géographiques ou de services non disponibles. Veuillez vérifier si votre emplacement actuel prend en charge ce service ou essayer avec une autre localisation.",
|
|
@@ -57,6 +58,7 @@
|
|
|
57
58
|
"OllamaBizError": "Erreur commerciale lors de la demande de service Ollama, veuillez vérifier les informations ci-dessous ou réessayer",
|
|
58
59
|
"OllamaServiceUnavailable": "Service Ollama non disponible, veuillez vérifier s'il est démarré correctement",
|
|
59
60
|
"OpenAIBizError": "Erreur de service OpenAI. Veuillez diagnostiquer ou réessayer en fonction des informations ci-dessous",
|
|
61
|
+
"OpenRouterBizError": "Erreur commerciale lors de la demande de service OpenRouter AI. Veuillez vérifier les informations ci-dessous ou réessayer.",
|
|
60
62
|
"PerplexityBizError": "Erreur commerciale lors de la demande de service Perplexity AI. Veuillez vérifier les informations suivantes ou réessayer.",
|
|
61
63
|
"PluginApiNotFound": "Désolé, l'API spécifiée n'existe pas dans le manifeste du plugin. Veuillez vérifier que votre méthode de requête correspond à l'API du manifeste du plugin",
|
|
62
64
|
"PluginApiParamsError": "Désolé, la validation des paramètres d'entrée de la requête de ce plugin a échoué. Veuillez vérifier que les paramètres d'entrée correspondent aux informations de l'API",
|
|
@@ -110,6 +112,10 @@
|
|
|
110
112
|
"description": "Entrez votre clé API OpenAI pour commencer la session. L'application ne conservera pas votre clé API",
|
|
111
113
|
"title": "Utiliser une clé API OpenAI personnalisée"
|
|
112
114
|
},
|
|
115
|
+
"OpenRouter": {
|
|
116
|
+
"description": "Entrez votre clé d'API OpenRouter pour commencer la session. L'application ne stockera pas votre clé d'API.",
|
|
117
|
+
"title": "Utiliser une clé d'API OpenRouter personnalisée"
|
|
118
|
+
},
|
|
113
119
|
"Perplexity": {
|
|
114
120
|
"description": "Entrez votre clé API Perplexity pour commencer la session. L'application ne conservera pas votre clé API.",
|
|
115
121
|
"title": "Utiliser une clé API Perplexity personnalisée"
|
|
@@ -144,4 +150,4 @@
|
|
|
144
150
|
"password": "Mot de passe"
|
|
145
151
|
}
|
|
146
152
|
}
|
|
147
|
-
}
|
|
153
|
+
}
|
|
@@ -177,6 +177,22 @@
|
|
|
177
177
|
"title": "Azure OpenAI"
|
|
178
178
|
}
|
|
179
179
|
},
|
|
180
|
+
"OpenRouter": {
|
|
181
|
+
"checker": {
|
|
182
|
+
"desc": "Vérifiez si l'adresse du proxy est correctement remplie"
|
|
183
|
+
},
|
|
184
|
+
"customModelName": {
|
|
185
|
+
"desc": "Ajoutez un modèle personnalisé, séparez les modèles multiples par des virgules (,)",
|
|
186
|
+
"placeholder": "mistralai/mistral-7b-instruct:gratuit,openchat/openchat-7b:gratuit",
|
|
187
|
+
"title": "Nom du modèle personnalisé"
|
|
188
|
+
},
|
|
189
|
+
"title": "OpenRouter",
|
|
190
|
+
"token": {
|
|
191
|
+
"desc": "Entrez la clé API de OpenRouter AI",
|
|
192
|
+
"placeholder": "Clé API OpenRouter AI",
|
|
193
|
+
"title": "Clé API"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
180
196
|
"Perplexity": {
|
|
181
197
|
"title": "Perplexity",
|
|
182
198
|
"token": {
|
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
"ollama": "Ollama",
|
|
111
111
|
"oneapi": "One API",
|
|
112
112
|
"openai": "OpenAI",
|
|
113
|
+
"openrouter": "OpenRouter",
|
|
113
114
|
"perplexity": "Perplexity",
|
|
114
115
|
"zhipu": "Zhipu AI"
|
|
115
116
|
},
|
|
@@ -146,4 +147,4 @@
|
|
|
146
147
|
"hasNew": "Nuovo aggiornamento disponibile",
|
|
147
148
|
"newVersion": "Nuova versione disponibile: {{version}}"
|
|
148
149
|
}
|
|
149
|
-
}
|
|
150
|
+
}
|
package/locales/it-IT/error.json
CHANGED
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"InvalidMistralAPIKey": "Chiave API Mistral AI non valida o vuota. Si prega di controllare la chiave API Mistral e riprovare.",
|
|
49
49
|
"InvalidMoonshotAPIKey": "La chiave API di Moonshot AI non è corretta o è vuota, si prega di controllare la chiave API di Moonshot e riprovare",
|
|
50
50
|
"InvalidOllamaArgs": "Configurazione Ollama non valida, controllare la configurazione di Ollama e riprovare",
|
|
51
|
+
"InvalidOpenRouterAPIKey": "La chiave API di OpenRouter non è valida o è vuota. Si prega di controllare la chiave API di OpenRouter e riprovare.",
|
|
51
52
|
"InvalidPerplexityAPIKey": "Chiave API Perplexity non valida o vuota, controlla la chiave API Perplexity e riprova",
|
|
52
53
|
"InvalidZhipuAPIKey": "Chiave API Zhipu non corretta o vuota, controlla la chiave API Zhipu e riprova",
|
|
53
54
|
"LocationNotSupportError": "Spiacenti, la tua posizione attuale non supporta questo servizio modello, potrebbe essere a causa di restrizioni geografiche o servizi non attivati. Verifica se la posizione attuale supporta l'uso di questo servizio o prova a utilizzare un'altra posizione.",
|
|
@@ -57,6 +58,7 @@
|
|
|
57
58
|
"OllamaBizError": "Errore di servizio Ollama, controllare le informazioni seguenti o riprovare",
|
|
58
59
|
"OllamaServiceUnavailable": "Servizio Ollama non disponibile: controlla se è avviato correttamente",
|
|
59
60
|
"OpenAIBizError": "Errore nella richiesta del servizio OpenAI. Segui le informazioni seguenti per individuare e riprovare",
|
|
61
|
+
"OpenRouterBizError": "Errore di richiesta del servizio OpenRouter AI. Si prega di controllare le informazioni seguenti o riprovare.",
|
|
60
62
|
"PerplexityBizError": "Errore di business nella richiesta del servizio Perplexity AI, controlla le informazioni seguenti o riprova",
|
|
61
63
|
"PluginApiNotFound": "Spiacenti, l'API specificata non esiste nel manifesto del plugin. Verifica che il metodo di richiesta corrisponda all'API del manifesto del plugin",
|
|
62
64
|
"PluginApiParamsError": "Spiacenti, la convalida dei parametri di input della richiesta del plugin non è riuscita. Verifica che i parametri di input corrispondano alle informazioni dell'API",
|
|
@@ -110,6 +112,10 @@
|
|
|
110
112
|
"description": "Inserisci la tua chiave API OpenAI per iniziare la sessione. L'applicazione non memorizzerà la tua chiave API",
|
|
111
113
|
"title": "Utilizza la chiave API OpenAI personalizzata"
|
|
112
114
|
},
|
|
115
|
+
"OpenRouter": {
|
|
116
|
+
"description": "Inserisci la tua chiave API di OpenRouter per iniziare la sessione. L'applicazione non memorizzerà la tua chiave API.",
|
|
117
|
+
"title": "Utilizza la tua chiave API personalizzata di OpenRouter"
|
|
118
|
+
},
|
|
113
119
|
"Perplexity": {
|
|
114
120
|
"description": "Inserisci la tua chiave API Perplexity per iniziare la sessione. L'applicazione non memorizzerà la tua chiave API",
|
|
115
121
|
"title": "Utilizza la tua chiave API Perplexity personalizzata"
|
|
@@ -144,4 +150,4 @@
|
|
|
144
150
|
"password": "Password"
|
|
145
151
|
}
|
|
146
152
|
}
|
|
147
|
-
}
|
|
153
|
+
}
|
|
@@ -177,6 +177,22 @@
|
|
|
177
177
|
"title": "Usa Azure OpenAI"
|
|
178
178
|
}
|
|
179
179
|
},
|
|
180
|
+
"OpenRouter": {
|
|
181
|
+
"checker": {
|
|
182
|
+
"desc": "Verifica se l'indirizzo del proxy è stato compilato correttamente"
|
|
183
|
+
},
|
|
184
|
+
"customModelName": {
|
|
185
|
+
"desc": "Aggiungi un modello personalizzato, separando più modelli con virgola (,)",
|
|
186
|
+
"placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
|
|
187
|
+
"title": "Nome del modello personalizzato"
|
|
188
|
+
},
|
|
189
|
+
"title": "OpenRouter",
|
|
190
|
+
"token": {
|
|
191
|
+
"desc": "Inserisci la chiave API da OpenRouter AI",
|
|
192
|
+
"placeholder": "Chiave API OpenRouter AI",
|
|
193
|
+
"title": "Chiave API"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
180
196
|
"Perplexity": {
|
|
181
197
|
"title": "Perplexity",
|
|
182
198
|
"token": {
|
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
"ollama": "オラマ",
|
|
111
111
|
"oneapi": "One API",
|
|
112
112
|
"openai": "OpenAI",
|
|
113
|
+
"openrouter": "OpenRouter",
|
|
113
114
|
"perplexity": "Perplexity AI",
|
|
114
115
|
"zhipu": "智譜AI"
|
|
115
116
|
},
|
|
@@ -146,4 +147,4 @@
|
|
|
146
147
|
"hasNew": "利用可能な更新があります",
|
|
147
148
|
"newVersion": "新しいバージョンが利用可能です:{{version}}"
|
|
148
149
|
}
|
|
149
|
-
}
|
|
150
|
+
}
|
package/locales/ja-JP/error.json
CHANGED
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"InvalidMistralAPIKey": "Mistral AI API キーが正しくないか空です。Mistral API キーを確認して再試行してください。",
|
|
49
49
|
"InvalidMoonshotAPIKey": "Moonshot AI APIキーが正しくないか空です。Moonshot APIキーを確認して再試行してください。",
|
|
50
50
|
"InvalidOllamaArgs": "Ollamaの設定が正しくありません。Ollamaの設定を確認してからもう一度お試しください",
|
|
51
|
+
"InvalidOpenRouterAPIKey": "OpenRouter API キーが正しくないか空です。OpenRouter API キーを確認してもう一度お試しください。",
|
|
51
52
|
"InvalidPerplexityAPIKey": "Perplexity APIキーが正しくないか空です。Perplexity APIキーを確認してもう一度お試しください",
|
|
52
53
|
"InvalidZhipuAPIKey": "Zhipu APIキーが正しくないか空です。Zhipu APIキーを確認してから再試行してください。",
|
|
53
54
|
"LocationNotSupportError": "申し訳ありませんが、お住まいの地域ではこのモデルサービスをサポートしていません。地域制限またはサービスが利用できない可能性があります。現在の位置がこのサービスをサポートしているかどうかを確認するか、他の位置情報を使用してみてください。",
|
|
@@ -57,6 +58,7 @@
|
|
|
57
58
|
"OllamaBizError": "Ollamaサービスのリクエストでエラーが発生しました。以下の情報に基づいてトラブルシューティングを行うか、再度お試しください",
|
|
58
59
|
"OllamaServiceUnavailable": "Ollamaサービスが利用できません。正常に起動しているかどうかを確認してください",
|
|
59
60
|
"OpenAIBizError": "OpenAIサービスのリクエストエラーが発生しました。以下の情報に基づいて問題を解決したり、再試行したりしてください",
|
|
61
|
+
"OpenRouterBizError": "OpenRouter AI サービスのリクエスト中にエラーが発生しました。以下の情報に基づいてトラブルシューティングを行うか、もう一度お試しください。",
|
|
60
62
|
"PerplexityBizError": "Perplexity AIサービスのリクエストでエラーが発生しました。以下の情報に基づいてトラブルシューティングするか、再度お試しください",
|
|
61
63
|
"PluginApiNotFound": "申し訳ありませんが、プラグインのマニフェストに指定されたAPIが見つかりませんでした。リクエストメソッドとプラグインのマニフェストのAPIが一致しているかどうかを確認してください",
|
|
62
64
|
"PluginApiParamsError": "申し訳ありませんが、プラグインのリクエストパラメータの検証に失敗しました。パラメータとAPIの説明が一致しているかどうか確認してください",
|
|
@@ -110,6 +112,10 @@
|
|
|
110
112
|
"description": "OpenAI APIキーを入力してセッションを開始します。アプリはAPIキーを記録しません。",
|
|
111
113
|
"title": "カスタムOpenAI APIキーを使用"
|
|
112
114
|
},
|
|
115
|
+
"OpenRouter": {
|
|
116
|
+
"description": "OpenRouter API キーを入力するとセッションが開始されます。アプリは API キーを記録しません。",
|
|
117
|
+
"title": "カスタム OpenRouter API キーを使用する"
|
|
118
|
+
},
|
|
113
119
|
"Perplexity": {
|
|
114
120
|
"description": "Perplexity APIキーを入力して会話を開始します。アプリはAPIキーを記録しません",
|
|
115
121
|
"title": "カスタムPerplexity APIキーを使用"
|
|
@@ -144,4 +150,4 @@
|
|
|
144
150
|
"password": "パスワード"
|
|
145
151
|
}
|
|
146
152
|
}
|
|
147
|
-
}
|
|
153
|
+
}
|
|
@@ -177,6 +177,22 @@
|
|
|
177
177
|
"title": "Azure OpenAI を使用"
|
|
178
178
|
}
|
|
179
179
|
},
|
|
180
|
+
"OpenRouter": {
|
|
181
|
+
"checker": {
|
|
182
|
+
"desc": "プロキシアドレスが正しく入力されているかをテストします"
|
|
183
|
+
},
|
|
184
|
+
"customModelName": {
|
|
185
|
+
"desc": "カスタムモデルを追加します。複数のモデルはコンマ(,)で区切ってください",
|
|
186
|
+
"placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
|
|
187
|
+
"title": "カスタムモデル名"
|
|
188
|
+
},
|
|
189
|
+
"title": "OpenRouter",
|
|
190
|
+
"token": {
|
|
191
|
+
"desc": "OpenRouter AIから取得したAPIキーを入力してください",
|
|
192
|
+
"placeholder": "OpenRouter AI APIキー",
|
|
193
|
+
"title": "APIキー"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
180
196
|
"Perplexity": {
|
|
181
197
|
"title": "Perplexity",
|
|
182
198
|
"token": {
|
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
"ollama": "올라마",
|
|
111
111
|
"oneapi": "One API",
|
|
112
112
|
"openai": "OpenAI",
|
|
113
|
+
"openrouter": "오픈 라우터",
|
|
113
114
|
"perplexity": "Perplexity",
|
|
114
115
|
"zhipu": "지푸 AI"
|
|
115
116
|
},
|
|
@@ -146,4 +147,4 @@
|
|
|
146
147
|
"hasNew": "사용 가능한 업데이트가 있습니다",
|
|
147
148
|
"newVersion": "새 버전 사용 가능: {{version}}"
|
|
148
149
|
}
|
|
149
|
-
}
|
|
150
|
+
}
|