@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.
Files changed (74) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/locales/ar/common.json +1 -1
  3. package/locales/ar/error.json +7 -7
  4. package/locales/ar/setting.json +108 -108
  5. package/locales/bg-BG/common.json +1 -0
  6. package/locales/bg-BG/error.json +7 -1
  7. package/locales/bg-BG/setting.json +107 -91
  8. package/locales/de-DE/common.json +1 -1
  9. package/locales/de-DE/error.json +7 -7
  10. package/locales/de-DE/setting.json +106 -106
  11. package/locales/en-US/common.json +1 -1
  12. package/locales/en-US/error.json +7 -7
  13. package/locales/en-US/setting.json +66 -66
  14. package/locales/es-ES/common.json +1 -1
  15. package/locales/es-ES/error.json +7 -7
  16. package/locales/es-ES/setting.json +91 -91
  17. package/locales/fr-FR/common.json +1 -1
  18. package/locales/fr-FR/error.json +7 -7
  19. package/locales/fr-FR/setting.json +87 -87
  20. package/locales/it-IT/common.json +1 -1
  21. package/locales/it-IT/error.json +7 -7
  22. package/locales/it-IT/setting.json +111 -111
  23. package/locales/ja-JP/common.json +1 -1
  24. package/locales/ja-JP/error.json +7 -7
  25. package/locales/ja-JP/setting.json +101 -101
  26. package/locales/ko-KR/common.json +1 -1
  27. package/locales/ko-KR/error.json +7 -3
  28. package/locales/ko-KR/setting.json +82 -82
  29. package/locales/nl-NL/common.json +1 -1
  30. package/locales/nl-NL/error.json +10 -10
  31. package/locales/nl-NL/setting.json +112 -112
  32. package/locales/pl-PL/common.json +1 -1
  33. package/locales/pl-PL/error.json +12 -12
  34. package/locales/pl-PL/setting.json +102 -102
  35. package/locales/pt-BR/common.json +1 -1
  36. package/locales/pt-BR/error.json +7 -7
  37. package/locales/pt-BR/setting.json +104 -104
  38. package/locales/ru-RU/common.json +1 -1
  39. package/locales/ru-RU/error.json +7 -7
  40. package/locales/ru-RU/setting.json +113 -113
  41. package/locales/tr-TR/common.json +1 -1
  42. package/locales/tr-TR/error.json +7 -7
  43. package/locales/tr-TR/setting.json +113 -113
  44. package/locales/vi-VN/common.json +1 -1
  45. package/locales/vi-VN/error.json +7 -7
  46. package/locales/vi-VN/setting.json +81 -81
  47. package/locales/zh-CN/common.json +1 -1
  48. package/locales/zh-CN/error.json +6 -6
  49. package/locales/zh-CN/setting.json +39 -39
  50. package/locales/zh-TW/common.json +1 -1
  51. package/locales/zh-TW/error.json +7 -7
  52. package/locales/zh-TW/setting.json +70 -70
  53. package/package.json +1 -1
  54. package/src/app/api/auth/sso-providers/azure-ad.ts +1 -1
  55. package/src/app/settings/llm/Anthropic/index.tsx +3 -43
  56. package/src/app/settings/llm/Azure/index.tsx +10 -10
  57. package/src/app/settings/llm/Bedrock/index.tsx +9 -9
  58. package/src/app/settings/llm/Google/index.tsx +3 -29
  59. package/src/app/settings/llm/Groq/index.tsx +2 -28
  60. package/src/app/settings/llm/Mistral/index.tsx +2 -28
  61. package/src/app/settings/llm/Moonshot/index.tsx +2 -28
  62. package/src/app/settings/llm/Ollama/index.tsx +13 -32
  63. package/src/app/settings/llm/OpenAI/index.tsx +15 -17
  64. package/src/app/settings/llm/OpenRouter/index.tsx +3 -40
  65. package/src/app/settings/llm/Perplexity/index.tsx +2 -28
  66. package/src/app/settings/llm/TogetherAI/index.tsx +3 -44
  67. package/src/app/settings/llm/ZeroOne/index.tsx +2 -28
  68. package/src/app/settings/llm/Zhipu/index.tsx +2 -30
  69. package/src/app/settings/llm/components/ProviderConfig/index.tsx +73 -9
  70. package/src/app/settings/llm/const.ts +6 -0
  71. package/src/app/settings/tts/TTS/index.tsx +1 -1
  72. package/src/locales/default/error.ts +1 -1
  73. package/src/locales/default/setting.ts +30 -31
  74. package/src/locales/resources.ts +4 -0
@@ -31,7 +31,7 @@
31
31
  "sessionWithName": "Session Settings · {{name}}"
32
32
  },
33
33
  "llm": {
34
- "Anthropic": {
34
+ "anthropic": {
35
35
  "endpoint": {
36
36
  "desc": "Must include http(s):// besides the default address",
37
37
  "placeholder": "https://api.anthropic.com",
@@ -44,18 +44,18 @@
44
44
  "title": "API Key"
45
45
  }
46
46
  },
47
- "AzureOpenAI": {
47
+ "azure": {
48
48
  "azureApiVersion": {
49
- "desc": "The API version of Azure, following the format YYYY-MM-DD. Check the [latest version](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions)",
49
+ "desc": "Azure's API version, following the YYYY-MM-DD format, refer to [latest version](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions)",
50
50
  "fetch": "Fetch List",
51
51
  "title": "Azure API Version"
52
52
  },
53
53
  "deployments": {
54
- "desc": "Fill in your deployment model using the syntax id=name (e.g. if the deployment name is the same as the model name, you can just fill in the model name). Use commas (,) to separate multiple models",
54
+ "desc": "Use the syntax id=name to fill in your deployed models (if the deployment name and model name are the same, you can just write the model name), separate multiple models with commas (,)",
55
55
  "title": "Azure Deployment Models List"
56
56
  },
57
57
  "endpoint": {
58
- "desc": "This value can be found in the 'Keys and Endpoints' section when checking the resource on the Azure portal",
58
+ "desc": "This value can be found in the 'Keys and Endpoint' section when checking resources in the Azure portal",
59
59
  "placeholder": "https://docs-test-001.openai.azure.com",
60
60
  "title": "Azure API Address"
61
61
  },
@@ -63,35 +63,41 @@
63
63
  "desc": "Supported models",
64
64
  "title": "Model List"
65
65
  },
66
- "title": "Azure OpenAI Settings",
66
+ "title": "Azure OpenAI",
67
67
  "token": {
68
- "desc": "This value can be found in the 'Keys and Endpoints' section when checking the resource on the Azure portal. You can use KEY1 or KEY2",
68
+ "desc": "This value can be found in the 'Keys and Endpoint' section when checking resources in the Azure portal. You can use KEY1 or KEY2",
69
69
  "placeholder": "Azure API Key",
70
70
  "title": "API Key"
71
71
  }
72
72
  },
73
- "Bedrock": {
73
+ "bedrock": {
74
74
  "accessKeyId": {
75
- "desc": "Enter your Aws Access Key Id",
76
- "placeholder": "Aws Access Key Id",
77
- "title": "Aws Access Key Id"
75
+ "desc": "Enter your AWS Access Key Id",
76
+ "placeholder": "AWS Access Key Id",
77
+ "title": "AWS Access Key Id"
78
78
  },
79
79
  "checker": {
80
80
  "desc": "Test if AccessKeyId / SecretAccessKey are filled in correctly"
81
81
  },
82
82
  "region": {
83
- "desc": "Enter Aws Region",
84
- "placeholder": "Aws Region",
85
- "title": "Aws Region"
83
+ "desc": "Enter AWS Region",
84
+ "placeholder": "AWS Region",
85
+ "title": "AWS Region"
86
86
  },
87
87
  "secretAccessKey": {
88
- "desc": "Enter Aws Secret Access Key",
89
- "placeholder": "Aws Secret Access Key",
90
- "title": "Aws Secret Access Key"
88
+ "desc": "Enter your AWS Secret Access Key",
89
+ "placeholder": "AWS Secret Access Key",
90
+ "title": "AWS Secret Access Key"
91
91
  },
92
92
  "title": "Bedrock"
93
93
  },
94
- "Google": {
94
+ "checker": {
95
+ "button": "Check",
96
+ "desc": "Test if the Api Key and proxy address are filled in correctly",
97
+ "pass": "Check Passed",
98
+ "title": "Connectivity Check"
99
+ },
100
+ "google": {
95
101
  "title": "Google",
96
102
  "token": {
97
103
  "desc": "Enter the API Key from Google",
@@ -99,7 +105,7 @@
99
105
  "title": "API Key"
100
106
  }
101
107
  },
102
- "Groq": {
108
+ "groq": {
103
109
  "title": "Groq",
104
110
  "token": {
105
111
  "desc": "Enter the API Key from Groq",
@@ -107,7 +113,7 @@
107
113
  "title": "API Key"
108
114
  }
109
115
  },
110
- "Mistral": {
116
+ "mistral": {
111
117
  "title": "Mistral AI",
112
118
  "token": {
113
119
  "desc": "Enter the API Key from Mistral AI",
@@ -115,33 +121,33 @@
115
121
  "title": "API Key"
116
122
  }
117
123
  },
118
- "Moonshot": {
119
- "title": "Dark Side of the Moon",
124
+ "moonshot": {
125
+ "title": "The Dark Side of the Moon",
120
126
  "token": {
121
127
  "desc": "Enter the API Key from Moonshot AI",
122
128
  "placeholder": "Moonshot AI API Key",
123
129
  "title": "API Key"
124
130
  }
125
131
  },
126
- "Ollama": {
132
+ "ollama": {
127
133
  "checker": {
128
- "desc": "Check if the proxy address is filled in correctly"
134
+ "desc": "Test if the proxy address is correctly filled in"
129
135
  },
130
136
  "customModelName": {
131
- "desc": "Add custom models, separate multiple models with commas",
132
- "placeholder": "vicuna,llama,codellama,llama2:13b-text",
137
+ "desc": "Add custom models, separate multiple models with commas (,)",
138
+ "placeholder": "vicuna,llava,codellama,llama2:13b-text",
133
139
  "title": "Custom Model Name"
134
140
  },
135
141
  "endpoint": {
136
- "desc": "Enter the Ollama API proxy address, leave blank if not specifically set locally",
142
+ "desc": "Enter the Ollama interface proxy address, can be left blank if not specified locally",
137
143
  "placeholder": "http://127.0.0.1:11434/v1",
138
- "title": "API Proxy Address"
144
+ "title": "Interface Proxy Address"
139
145
  },
140
146
  "title": "Ollama"
141
147
  },
142
- "OpenAI": {
148
+ "openai": {
143
149
  "azureApiVersion": {
144
- "desc": "The API version for Azure, following the format YYYY-MM-DD, check the [latest version](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions)",
150
+ "desc": "Azure's API version, following the YYYY-MM-DD format, refer to [latest version](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions)",
145
151
  "fetch": "Fetch List",
146
152
  "title": "Azure API Version"
147
153
  },
@@ -151,38 +157,38 @@
151
157
  "title": "Custom Model Name"
152
158
  },
153
159
  "endpoint": {
154
- "desc": "Must include http(s):// besides the default address",
160
+ "desc": "Must include http(s):// except for the default address",
155
161
  "placeholder": "https://api.openai.com/v1",
156
- "title": "API Proxy Address"
162
+ "title": "Interface Proxy Address"
157
163
  },
158
164
  "models": {
159
- "count": "Supports a total of {{count}} models",
165
+ "count": "A total of {{count}} models supported",
160
166
  "desc": "Supported models",
161
167
  "fetch": "Fetch Model List",
162
168
  "notSupport": "Azure OpenAI does not currently support viewing the model list",
163
- "notSupportTip": "You need to ensure that the deployment name matches the model name",
169
+ "notSupportTip": "You need to ensure the deployment name matches the model name yourself",
164
170
  "refetch": "Refetch Model List",
165
171
  "title": "Model List"
166
172
  },
167
- "title": "OpenAI Settings",
173
+ "title": "OpenAI",
168
174
  "token": {
169
175
  "desc": "Use your own OpenAI Key",
170
176
  "placeholder": "OpenAI API Key",
171
- "title": "API Key"
177
+ "title": "OpenAI API Key"
172
178
  },
173
179
  "useAzure": {
174
- "desc": "Use OpenAI services provided by Azure",
180
+ "desc": "Use the OpenAI service provided by Azure",
175
181
  "fetch": "Fetch List",
176
- "serverConfig": "The administrator has enabled Azure OpenAI on the server side, and switching is prohibited",
182
+ "serverConfig": "Admin has enabled Azure OpenAI on the server side, switching is not allowed",
177
183
  "title": "Azure OpenAI"
178
184
  }
179
185
  },
180
- "OpenRouter": {
186
+ "openrouter": {
181
187
  "checker": {
182
- "desc": "Test if the proxy address is filled in correctly"
188
+ "desc": "Test if the proxy address is correctly filled in"
183
189
  },
184
190
  "customModelName": {
185
- "desc": "Add custom model, separate multiple models with comma (,)",
191
+ "desc": "Add custom models, separate multiple models with commas (,)",
186
192
  "placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
187
193
  "title": "Custom Model Name"
188
194
  },
@@ -193,13 +199,21 @@
193
199
  "title": "API Key"
194
200
  }
195
201
  },
196
- "TogetherAI": {
202
+ "perplexity": {
203
+ "title": "Perplexity",
204
+ "token": {
205
+ "desc": "Enter the API Key from Perplexity AI",
206
+ "placeholder": "Perplexity AI API Key",
207
+ "title": "API Key"
208
+ }
209
+ },
210
+ "togetherai": {
197
211
  "checker": {
198
- "desc": "Test if the proxy address is filled in correctly"
212
+ "desc": "Test if the proxy address is correctly filled in"
199
213
  },
200
214
  "customModelName": {
201
- "desc": "Add custom model, separate multiple models with comma (,)",
202
- "placeholder": "mistralai/mistral-7b-instruct:free,openchat/openchat-7b:free",
215
+ "desc": "Add custom models, separate multiple models with commas (,)",
216
+ "placeholder": "togethercomputer/Llama-2-7B-32K-Instruct,teknium/OpenHermes-2-Mistral-7B",
203
217
  "title": "Custom Model Name"
204
218
  },
205
219
  "title": "TogetherAI",
@@ -209,37 +223,23 @@
209
223
  "title": "API Key"
210
224
  }
211
225
  },
212
- "Perplexity": {
213
- "title": "Perplexity AI",
214
- "token": {
215
- "desc": "Enter the API Key from Perplexity",
216
- "placeholder": "Perplexity API Key",
217
- "title": "API Key"
218
- }
219
- },
220
- "ZeroOne": {
221
- "title": "01-AI",
226
+ "waitingForMore": "More models are <1>planned to be added</1>, stay tuned ✨",
227
+ "zeroone": {
228
+ "title": "01.AI Everything",
222
229
  "token": {
223
- "desc": "Enter the API Key from 01-AI",
224
- "placeholder": "01-AI API Key",
230
+ "desc": "Enter the API Key from 01.AI Everything",
231
+ "placeholder": "01.AI Everything API Key",
225
232
  "title": "API Key"
226
233
  }
227
234
  },
228
- "Zhipu": {
235
+ "zhipu": {
229
236
  "title": "Zhipu",
230
237
  "token": {
231
238
  "desc": "Enter the API Key from Zhipu",
232
239
  "placeholder": "Zhipu API Key",
233
240
  "title": "API Key"
234
241
  }
235
- },
236
- "checker": {
237
- "button": "Check",
238
- "desc": "Test if the Api Key and proxy address are filled in correctly",
239
- "pass": "Check Passed",
240
- "title": "Connectivity Check"
241
- },
242
- "waitingForMore": "More models are <1>planned to be added</1>, stay tuned ✨"
242
+ }
243
243
  },
244
244
  "ollama": {
245
245
  "download": {
@@ -107,8 +107,8 @@
107
107
  "oneapi": "One API",
108
108
  "openai": "OpenAI",
109
109
  "openrouter": "OpenRouter",
110
- "togetherai": "TogetherAI",
111
110
  "perplexity": "Perplexity",
111
+ "togetherai": "TogetherAI",
112
112
  "zeroone": "01.AI ZeroOne",
113
113
  "zhipu": "Zhipu AI"
114
114
  },
@@ -49,8 +49,8 @@
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
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",
52
- "InvalidTogetherAIAPIKey": "La clave de API de TogetherAI es incorrecta o está vacía. Por favor, revisa la clave de API de TogetherAI e inténtalo de nuevo",
53
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",
53
+ "InvalidTogetherAIAPIKey": "La clave de API de TogetherAI es incorrecta o está vacía. Por favor, revisa la clave de API de TogetherAI e inténtalo de nuevo",
54
54
  "InvalidZeroOneAPIKey": "La clave de API de ZeroOneBiz es incorrecta o está vacía. Por favor, revise la clave de API de ZeroOneBiz e inténtelo de nuevo.",
55
55
  "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",
56
56
  "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.",
@@ -61,7 +61,6 @@
61
61
  "OllamaServiceUnavailable": "Servicio Ollama no disponible: Ollama no detectado. Por favor, verifica si está iniciado correctamente.",
62
62
  "OpenAIBizError": "Error al solicitar el servicio OpenAI. Depure o reintente según la siguiente información",
63
63
  "OpenRouterBizError": "Error al solicitar el servicio de IA de OpenRouter. Por favor, revisa la siguiente información o inténtalo de nuevo",
64
- "TogetherAIBizError": "Error al solicitar el servicio de IA de TogetherAI. Por favor, revisa la siguiente información o inténtalo de nuevo",
65
64
  "PerplexityBizError": "Error comercial al solicitar el servicio de IA de Perplexity. Por favor, revisa la siguiente información o inténtalo de nuevo",
66
65
  "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",
67
66
  "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",
@@ -75,6 +74,7 @@
75
74
  "PluginOpenApiInitError": "Lo sentimos, la inicialización del cliente OpenAPI ha fallado. Verifique si la información de configuración de OpenAPI es correcta",
76
75
  "PluginServerError": "Error al recibir la respuesta del servidor del complemento. Verifique el archivo de descripción del complemento, la configuración del complemento o la implementación del servidor según la información de error a continuación",
77
76
  "PluginSettingsInvalid": "Este complemento necesita una configuración correcta antes de poder usarse. Verifique si su configuración es correcta",
77
+ "TogetherAIBizError": "Error al solicitar el servicio de IA de TogetherAI. Por favor, revisa la siguiente información o inténtalo de nuevo",
78
78
  "ZeroOneBizError": "Se produjo un error al solicitar el servicio ZeroOneBiz. Por favor, revise la siguiente información o inténtelo de nuevo.",
79
79
  "ZhipuBizError": "Se produjo un error al solicitar el servicio Zhipu, por favor, verifica la siguiente información o inténtalo de nuevo"
80
80
  },
@@ -92,7 +92,7 @@
92
92
  },
93
93
  "Bedrock": {
94
94
  "customRegion": "Región de servicio personalizada",
95
- "description": "Ingresa tu AccessKeyId/SecretAccessKey de Aws para comenzar la sesión. La aplicación no guardará tu configuración de autenticación",
95
+ "description": "Ingresa tu AccessKeyId/SecretAccessKey de AWS para comenzar la sesión. La aplicación no guardará tu configuración de autenticación",
96
96
  "title": "Usar información de autenticación personalizada de Bedrock"
97
97
  },
98
98
  "Google": {
@@ -120,14 +120,14 @@
120
120
  "description": "Ingresa tu clave de API de OpenRouter para comenzar la sesión. La aplicación no almacenará tu clave de API",
121
121
  "title": "Usar una clave de API personalizada de OpenRouter"
122
122
  },
123
- "TogetherAI": {
124
- "description": "Ingresa tu clave de API de TogetherAI para comenzar la sesión. La aplicación no almacenará tu clave de API",
125
- "title": "Usar una clave de API personalizada de TogetherAI"
126
- },
127
123
  "Perplexity": {
128
124
  "description": "Ingresa tu clave de API de Perplexity para comenzar la sesión. La aplicación no guardará tu clave de API",
129
125
  "title": "Usar tu propia clave de API de Perplexity"
130
126
  },
127
+ "TogetherAI": {
128
+ "description": "Ingresa tu clave de API de TogetherAI para comenzar la sesión. La aplicación no almacenará tu clave de API",
129
+ "title": "Usar una clave de API personalizada de TogetherAI"
130
+ },
131
131
  "ZeroOne": {
132
132
  "description": "Ingrese su clave de API de ZeroOneBiz para comenzar la sesión. La aplicación no almacenará su clave de API.",
133
133
  "title": "Usar clave de API personalizada de ZeroOneBiz"