@lobehub/chat 0.145.11 → 0.145.13
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/CHANGELOG.md +58 -0
- package/locales/ar/common.json +1 -1
- package/locales/ar/error.json +7 -7
- package/locales/ar/setting.json +108 -108
- package/locales/bg-BG/common.json +1 -0
- package/locales/bg-BG/error.json +7 -1
- package/locales/bg-BG/setting.json +107 -91
- package/locales/de-DE/common.json +1 -1
- package/locales/de-DE/error.json +7 -7
- package/locales/de-DE/setting.json +106 -106
- package/locales/en-US/common.json +1 -1
- package/locales/en-US/error.json +7 -7
- package/locales/en-US/setting.json +66 -66
- package/locales/es-ES/common.json +1 -1
- package/locales/es-ES/error.json +7 -7
- package/locales/es-ES/setting.json +91 -91
- package/locales/fr-FR/common.json +1 -1
- package/locales/fr-FR/error.json +7 -7
- package/locales/fr-FR/setting.json +87 -87
- package/locales/it-IT/common.json +1 -1
- package/locales/it-IT/error.json +7 -7
- package/locales/it-IT/setting.json +111 -111
- package/locales/ja-JP/common.json +1 -1
- package/locales/ja-JP/error.json +7 -7
- package/locales/ja-JP/setting.json +101 -101
- package/locales/ko-KR/common.json +1 -1
- package/locales/ko-KR/error.json +7 -3
- package/locales/ko-KR/setting.json +82 -82
- package/locales/nl-NL/common.json +1 -1
- package/locales/nl-NL/error.json +10 -10
- package/locales/nl-NL/setting.json +112 -112
- package/locales/pl-PL/common.json +1 -1
- package/locales/pl-PL/error.json +12 -12
- package/locales/pl-PL/setting.json +102 -102
- package/locales/pt-BR/common.json +1 -1
- package/locales/pt-BR/error.json +7 -7
- package/locales/pt-BR/setting.json +104 -104
- package/locales/ru-RU/common.json +1 -1
- package/locales/ru-RU/error.json +7 -7
- package/locales/ru-RU/setting.json +113 -113
- package/locales/tr-TR/common.json +1 -1
- package/locales/tr-TR/error.json +7 -7
- package/locales/tr-TR/setting.json +113 -113
- package/locales/vi-VN/common.json +1 -1
- package/locales/vi-VN/error.json +7 -7
- package/locales/vi-VN/setting.json +81 -81
- package/locales/zh-CN/common.json +1 -1
- package/locales/zh-CN/error.json +6 -6
- package/locales/zh-CN/setting.json +39 -39
- package/locales/zh-TW/common.json +1 -1
- package/locales/zh-TW/error.json +7 -7
- package/locales/zh-TW/setting.json +70 -70
- package/package.json +1 -1
- package/src/app/api/auth/sso-providers/azure-ad.ts +1 -1
- package/src/app/settings/llm/Anthropic/index.tsx +3 -43
- package/src/app/settings/llm/Azure/index.tsx +10 -10
- package/src/app/settings/llm/Bedrock/index.tsx +9 -9
- package/src/app/settings/llm/Google/index.tsx +3 -29
- package/src/app/settings/llm/Groq/index.tsx +2 -28
- package/src/app/settings/llm/Mistral/index.tsx +2 -28
- package/src/app/settings/llm/Moonshot/index.tsx +2 -28
- package/src/app/settings/llm/Ollama/index.tsx +13 -32
- package/src/app/settings/llm/OpenAI/index.tsx +15 -17
- package/src/app/settings/llm/OpenRouter/index.tsx +3 -40
- package/src/app/settings/llm/Perplexity/index.tsx +2 -28
- package/src/app/settings/llm/TogetherAI/index.tsx +3 -44
- package/src/app/settings/llm/ZeroOne/index.tsx +2 -28
- package/src/app/settings/llm/Zhipu/index.tsx +2 -30
- package/src/app/settings/llm/components/ProviderConfig/index.tsx +73 -9
- package/src/app/settings/llm/const.ts +6 -0
- package/src/app/settings/tts/TTS/index.tsx +1 -1
- package/src/locales/default/error.ts +1 -1
- package/src/locales/default/setting.ts +30 -31
- package/src/locales/resources.ts +4 -0
|
@@ -31,7 +31,7 @@ export default {
|
|
|
31
31
|
sessionWithName: '会话设置 · {{name}}',
|
|
32
32
|
},
|
|
33
33
|
llm: {
|
|
34
|
-
|
|
34
|
+
anthropic: {
|
|
35
35
|
endpoint: {
|
|
36
36
|
desc: '除默认地址外,必须包含 http(s)://',
|
|
37
37
|
placeholder: 'https://api.anthropic.com',
|
|
@@ -44,7 +44,7 @@ export default {
|
|
|
44
44
|
title: 'API Key',
|
|
45
45
|
},
|
|
46
46
|
},
|
|
47
|
-
|
|
47
|
+
azure: {
|
|
48
48
|
azureApiVersion: {
|
|
49
49
|
desc: 'Azure 的 API 版本,遵循 YYYY-MM-DD 格式,查阅[最新版本](https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference#chat-completions)',
|
|
50
50
|
fetch: '获取列表',
|
|
@@ -71,28 +71,34 @@ export default {
|
|
|
71
71
|
title: 'API Key',
|
|
72
72
|
},
|
|
73
73
|
},
|
|
74
|
-
|
|
74
|
+
bedrock: {
|
|
75
75
|
accessKeyId: {
|
|
76
|
-
desc: '填入
|
|
77
|
-
placeholder: '
|
|
78
|
-
title: '
|
|
76
|
+
desc: '填入AWS Access Key Id',
|
|
77
|
+
placeholder: 'AWS Access Key Id',
|
|
78
|
+
title: 'AWS Access Key Id',
|
|
79
79
|
},
|
|
80
80
|
checker: {
|
|
81
81
|
desc: '测试 AccessKeyId / SecretAccessKey 是否填写正确',
|
|
82
82
|
},
|
|
83
83
|
region: {
|
|
84
|
-
desc: '填入
|
|
85
|
-
placeholder: '
|
|
86
|
-
title: '
|
|
84
|
+
desc: '填入 AWS Region',
|
|
85
|
+
placeholder: 'AWS Region',
|
|
86
|
+
title: 'AWS Region',
|
|
87
87
|
},
|
|
88
88
|
secretAccessKey: {
|
|
89
|
-
desc: '填入
|
|
90
|
-
placeholder: '
|
|
91
|
-
title: '
|
|
89
|
+
desc: '填入 AWS Secret Access Key',
|
|
90
|
+
placeholder: 'AWS Secret Access Key',
|
|
91
|
+
title: 'AWS Secret Access Key',
|
|
92
92
|
},
|
|
93
93
|
title: 'Bedrock',
|
|
94
94
|
},
|
|
95
|
-
|
|
95
|
+
checker: {
|
|
96
|
+
button: '检查',
|
|
97
|
+
desc: '测试 Api Key 与代理地址是否正确填写',
|
|
98
|
+
pass: '检查通过',
|
|
99
|
+
title: '连通性检查',
|
|
100
|
+
},
|
|
101
|
+
google: {
|
|
96
102
|
title: 'Google',
|
|
97
103
|
token: {
|
|
98
104
|
desc: '填入来自 Google 的 API Key',
|
|
@@ -100,7 +106,7 @@ export default {
|
|
|
100
106
|
title: 'API Key',
|
|
101
107
|
},
|
|
102
108
|
},
|
|
103
|
-
|
|
109
|
+
groq: {
|
|
104
110
|
title: 'Groq',
|
|
105
111
|
token: {
|
|
106
112
|
desc: '填入来自 Groq 的 API Key',
|
|
@@ -108,7 +114,7 @@ export default {
|
|
|
108
114
|
title: 'API Key',
|
|
109
115
|
},
|
|
110
116
|
},
|
|
111
|
-
|
|
117
|
+
mistral: {
|
|
112
118
|
title: 'Mistral AI',
|
|
113
119
|
token: {
|
|
114
120
|
desc: '填入来自 Mistral AI 的 API Key',
|
|
@@ -116,7 +122,7 @@ export default {
|
|
|
116
122
|
title: 'API Key',
|
|
117
123
|
},
|
|
118
124
|
},
|
|
119
|
-
|
|
125
|
+
moonshot: {
|
|
120
126
|
title: '月之暗面',
|
|
121
127
|
token: {
|
|
122
128
|
desc: '填入来自 Moonshot AI 的 API Key',
|
|
@@ -124,7 +130,7 @@ export default {
|
|
|
124
130
|
title: 'API Key',
|
|
125
131
|
},
|
|
126
132
|
},
|
|
127
|
-
|
|
133
|
+
ollama: {
|
|
128
134
|
checker: {
|
|
129
135
|
desc: '测试代理地址是否正确填写',
|
|
130
136
|
},
|
|
@@ -140,7 +146,7 @@ export default {
|
|
|
140
146
|
},
|
|
141
147
|
title: 'Ollama',
|
|
142
148
|
},
|
|
143
|
-
|
|
149
|
+
openai: {
|
|
144
150
|
azureApiVersion: {
|
|
145
151
|
desc: 'Azure 的 API 版本,遵循 YYYY-MM-DD 格式,查阅[最新版本](https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference#chat-completions)',
|
|
146
152
|
fetch: '获取列表',
|
|
@@ -178,7 +184,7 @@ export default {
|
|
|
178
184
|
title: 'Azure OpenAI',
|
|
179
185
|
},
|
|
180
186
|
},
|
|
181
|
-
|
|
187
|
+
openrouter: {
|
|
182
188
|
checker: {
|
|
183
189
|
desc: '测试代理地址是否正确填写',
|
|
184
190
|
},
|
|
@@ -194,7 +200,7 @@ export default {
|
|
|
194
200
|
title: 'API Key',
|
|
195
201
|
},
|
|
196
202
|
},
|
|
197
|
-
|
|
203
|
+
perplexity: {
|
|
198
204
|
title: 'Perplexity',
|
|
199
205
|
token: {
|
|
200
206
|
desc: '填入来自 Perplexity AI 的 API Key',
|
|
@@ -202,7 +208,7 @@ export default {
|
|
|
202
208
|
title: 'API Key',
|
|
203
209
|
},
|
|
204
210
|
},
|
|
205
|
-
|
|
211
|
+
togetherai: {
|
|
206
212
|
checker: {
|
|
207
213
|
desc: '测试代理地址是否正确填写',
|
|
208
214
|
},
|
|
@@ -218,7 +224,8 @@ export default {
|
|
|
218
224
|
title: 'API Key',
|
|
219
225
|
},
|
|
220
226
|
},
|
|
221
|
-
|
|
227
|
+
waitingForMore: '更多模型正在 <1>计划接入</1> 中,敬请期待 ✨',
|
|
228
|
+
zeroone: {
|
|
222
229
|
title: '01.AI 零一万物',
|
|
223
230
|
token: {
|
|
224
231
|
desc: '填入来自 01.AI 零一万物的 API Key',
|
|
@@ -226,7 +233,7 @@ export default {
|
|
|
226
233
|
title: 'API Key',
|
|
227
234
|
},
|
|
228
235
|
},
|
|
229
|
-
|
|
236
|
+
zhipu: {
|
|
230
237
|
title: '智谱',
|
|
231
238
|
token: {
|
|
232
239
|
desc: '填入来自智谱的 API Key',
|
|
@@ -234,14 +241,6 @@ export default {
|
|
|
234
241
|
title: 'API Key',
|
|
235
242
|
},
|
|
236
243
|
},
|
|
237
|
-
|
|
238
|
-
checker: {
|
|
239
|
-
button: '检查',
|
|
240
|
-
desc: '测试 Api Key 与代理地址是否正确填写',
|
|
241
|
-
pass: '检查通过',
|
|
242
|
-
title: '连通性检查',
|
|
243
|
-
},
|
|
244
|
-
waitingForMore: '更多模型正在 <1>计划接入</1> 中,敬请期待 ✨',
|
|
245
244
|
},
|
|
246
245
|
ollama: {
|
|
247
246
|
download: {
|