@lobehub/chat 0.34.0 → 0.35.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/CHANGELOG.md +26 -0
- package/locales/en_US/common.json +11 -1
- package/locales/en_US/error.json +26 -0
- package/locales/en_US/plugin.json +20 -1
- package/locales/en_US/setting.json +6 -1
- package/locales/zh_CN/common.json +10 -0
- package/locales/zh_CN/error.json +26 -0
- package/locales/zh_CN/plugin.json +20 -2
- package/locales/zh_CN/setting.json +8 -3
- package/package.json +1 -1
- package/src/locales/default/setting.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
## [Version 0.35.0](https://github.com/lobehub/lobe-chat/compare/v0.34.0...v0.35.0)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2023-07-31**</sup>
|
|
8
|
+
|
|
9
|
+
#### ✨ Features
|
|
10
|
+
|
|
11
|
+
- **misc**: Add agent settings functionality, new components, and features for AgentMeta, Add and modify translations for various keys in JSON code files.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's improved
|
|
19
|
+
|
|
20
|
+
- **misc**: Add agent settings functionality, new components, and features for AgentMeta ([b1e5ff9](https://github.com/lobehub/lobe-chat/commit/b1e5ff9))
|
|
21
|
+
- **misc**: Add and modify translations for various keys in JSON code files ([503adb4](https://github.com/lobehub/lobe-chat/commit/503adb4))
|
|
22
|
+
|
|
23
|
+
</details>
|
|
24
|
+
|
|
25
|
+
<div align="right">
|
|
26
|
+
|
|
27
|
+
[](#readme-top)
|
|
28
|
+
|
|
29
|
+
</div>
|
|
30
|
+
|
|
5
31
|
## [Version 0.34.0](https://github.com/lobehub/lobe-chat/compare/v0.33.0...v0.34.0)
|
|
6
32
|
|
|
7
33
|
<sup>Released on **2023-07-31**</sup>
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
},
|
|
33
33
|
"feedback": "Feedback",
|
|
34
34
|
"import": "Import Configuration",
|
|
35
|
+
"message": {
|
|
36
|
+
"function_loading": "Plugin request in progress..."
|
|
37
|
+
},
|
|
38
|
+
"moreSetting": "More settings...",
|
|
35
39
|
"newAgent": "New Assistant",
|
|
36
40
|
"noDescription": "No description available",
|
|
37
41
|
"ok": "OK",
|
|
@@ -48,11 +52,17 @@
|
|
|
48
52
|
"sessionSetting": "Session Settings",
|
|
49
53
|
"setting": "Settings",
|
|
50
54
|
"share": "Share",
|
|
55
|
+
"tab": {
|
|
56
|
+
"chat": "Chat",
|
|
57
|
+
"market": "Assistant Market"
|
|
58
|
+
},
|
|
51
59
|
"temp": "Temporary",
|
|
52
60
|
"tokenDetail": "System Role Token: {{systemRoleToken}} Chats Token: {{chatsToken}}",
|
|
53
61
|
"topic": {
|
|
54
62
|
"saveCurrentMessages": "Save Current Conversation as Topic",
|
|
55
|
-
"searchPlaceholder": "Search Topics..."
|
|
63
|
+
"searchPlaceholder": "Search Topics...",
|
|
64
|
+
"confirmRemoveTopic": "You are about to delete this topic. Once deleted, it cannot be recovered. Please proceed with caution.",
|
|
65
|
+
"defaultTitle": "Default Topic"
|
|
56
66
|
},
|
|
57
67
|
"updateAgent": "Update Assistant Profile",
|
|
58
68
|
"updatePrompt": "Update Prompts"
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"response": {
|
|
3
|
+
"400": "Sorry, the server doesn't understand your request. Please make sure your request parameters are correct.",
|
|
4
|
+
"401": "Sorry, the server has rejected your request. This may be due to insufficient permissions or invalid authentication.",
|
|
5
|
+
"403": "Sorry, the server has rejected your request. You do not have permission to access this content.",
|
|
6
|
+
"404": "Sorry, the server cannot find the page or resource you requested. Please make sure your URL is correct.",
|
|
7
|
+
"429": "Sorry, your request is too frequent and the server is a bit tired. Please try again later.",
|
|
8
|
+
"500": "Sorry, the server seems to be experiencing some difficulties and is temporarily unable to complete your request. Please try again later.",
|
|
9
|
+
"502": "Sorry, the server seems to be lost and is temporarily unable to provide service. Please try again later.",
|
|
10
|
+
"503": "Sorry, the server is currently unable to process your request. This may be due to overload or maintenance. Please try again later.",
|
|
11
|
+
"504": "Sorry, the server did not receive a response from the upstream server. Please try again later.",
|
|
12
|
+
"InvalidAccessCode": "The password is incorrect or empty. Please enter the correct access password or add a custom OpenAI API Key.",
|
|
13
|
+
"OpenAIBizError": "Error requesting OpenAI service. Please troubleshoot or retry based on the following information."
|
|
14
|
+
},
|
|
15
|
+
"unlock": {
|
|
16
|
+
"apikey": {
|
|
17
|
+
"description": "Enter your OpenAI API Key to bypass password verification. The application will not record your API Key.",
|
|
18
|
+
"title": "Use Custom API Key"
|
|
19
|
+
},
|
|
20
|
+
"confirm": "Confirm and Retry",
|
|
21
|
+
"password": {
|
|
22
|
+
"description": "The application encryption has been enabled by the administrator. Enter the application password to unlock the application. The password only needs to be filled in once.",
|
|
23
|
+
"title": "Enter Password to Unlock Application"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
+
"loading": {
|
|
3
|
+
"content": "Loading...",
|
|
4
|
+
"plugin": "Plugin is running..."
|
|
5
|
+
},
|
|
2
6
|
"pluginList": "Plugin List",
|
|
3
7
|
"pluginLoading": "Plugin Loading...",
|
|
4
8
|
"plugins": {
|
|
@@ -6,5 +10,20 @@
|
|
|
6
10
|
"searchEngine": "Search Engine",
|
|
7
11
|
"undefined": "Plugin Detection...",
|
|
8
12
|
"websiteCrawler": "Website Content Extraction"
|
|
9
|
-
}
|
|
13
|
+
},
|
|
14
|
+
"realtimeWeather": {
|
|
15
|
+
"data": {
|
|
16
|
+
"date": "Date",
|
|
17
|
+
"daytemp_float": "Daytime Temperature",
|
|
18
|
+
"dayweather": "Daytime Weather",
|
|
19
|
+
"daywind": "Daytime Wind Speed",
|
|
20
|
+
"nighttemp_float": "Nighttime Temperature",
|
|
21
|
+
"nightweather": "Nighttime Weather",
|
|
22
|
+
"nightwind": "Nighttime Wind Speed",
|
|
23
|
+
"week": "Week"
|
|
24
|
+
},
|
|
25
|
+
"title": "Weather Data for the Past 7 Days ({{city}})",
|
|
26
|
+
"updateAt": "Last Updated"
|
|
27
|
+
},
|
|
28
|
+
"responseData": "Response Data"
|
|
10
29
|
}
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
"action": "Clear Now",
|
|
6
6
|
"confirm": "Are you sure you want to clear all chat and settings data?",
|
|
7
7
|
"desc": "Clear all chat and settings data",
|
|
8
|
-
"title": "Clear All Data"
|
|
8
|
+
"title": "Clear All Data",
|
|
9
|
+
"success": "All session messages have been cleared."
|
|
9
10
|
},
|
|
10
11
|
"reset": {
|
|
11
12
|
"action": "Reset Now",
|
|
@@ -161,5 +162,9 @@
|
|
|
161
162
|
"title": "Theme"
|
|
162
163
|
},
|
|
163
164
|
"title": "Theme Settings"
|
|
165
|
+
},
|
|
166
|
+
"tab": {
|
|
167
|
+
"agent": "Default Assistant",
|
|
168
|
+
"common": "Common Settings"
|
|
164
169
|
}
|
|
165
170
|
}
|
|
@@ -30,6 +30,10 @@
|
|
|
30
30
|
},
|
|
31
31
|
"feedback": "反馈与建议",
|
|
32
32
|
"import": "导入配置",
|
|
33
|
+
"message": {
|
|
34
|
+
"function_loading": "插件请求中..."
|
|
35
|
+
},
|
|
36
|
+
"moreSetting": "更多设置...",
|
|
33
37
|
"newAgent": "新建助手",
|
|
34
38
|
"noDescription": "暂无描述",
|
|
35
39
|
"ok": "确定",
|
|
@@ -45,9 +49,15 @@
|
|
|
45
49
|
"sendPlaceholder": "输入聊天内容...",
|
|
46
50
|
"setting": "设置",
|
|
47
51
|
"share": "分享",
|
|
52
|
+
"tab": {
|
|
53
|
+
"chat": "会话",
|
|
54
|
+
"market": "助手市场"
|
|
55
|
+
},
|
|
48
56
|
"temp": "临时",
|
|
49
57
|
"tokenDetail": "系统设定: {{systemRoleToken}} 历史消息: {{chatsToken}}",
|
|
50
58
|
"topic": {
|
|
59
|
+
"confirmRemoveTopic": "即将删除该话题,删除后将不可恢复,请谨慎操作。",
|
|
60
|
+
"defaultTitle": "默认话题",
|
|
51
61
|
"saveCurrentMessages": "将当前会话保存为话题",
|
|
52
62
|
"searchPlaceholder": "搜索话题..."
|
|
53
63
|
},
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"response": {
|
|
3
|
+
"400": "很抱歉,服务器不明白您的请求,请确认您的请求参数是否正确",
|
|
4
|
+
"401": "很抱歉,服务器拒绝了您的请求,可能是因为您的权限不足或未提供有效的身份验证",
|
|
5
|
+
"403": "很抱歉,服务器拒绝了您的请求,您没有访问此内容的权限 ",
|
|
6
|
+
"404": "很抱歉,服务器找不到您请求的页面或资源,请确认您的 URL 是否正确",
|
|
7
|
+
"429": "很抱歉,您的请求太多,服务器有点累了,请稍后再试",
|
|
8
|
+
"500": "很抱歉,服务器似乎遇到了一些困难,暂时无法完成您的请求,请稍后再试",
|
|
9
|
+
"502": "很抱歉,服务器似乎迷失了方向,暂时无法提供服务,请稍后再试",
|
|
10
|
+
"503": "很抱歉,服务器当前无法处理您的请求,可能是由于过载或正在进行维护,请稍后再试",
|
|
11
|
+
"504": "很抱歉,服务器没有等到上游服务器的回应,请稍后再试",
|
|
12
|
+
"InvalidAccessCode": "密码不正确或为空,请输入正确的访问密码,或者添加自定义 OpenAI API Key",
|
|
13
|
+
"OpenAIBizError": "请求 OpenAI 服务出错,请根据以下信息排查或重试"
|
|
14
|
+
},
|
|
15
|
+
"unlock": {
|
|
16
|
+
"apikey": {
|
|
17
|
+
"description": "输入你的 OpenAI API Key 即可绕过密码验证。应用不会记录你的 API Key",
|
|
18
|
+
"title": "使用自定义 API Key"
|
|
19
|
+
},
|
|
20
|
+
"confirm": "确认并重试",
|
|
21
|
+
"password": {
|
|
22
|
+
"description": "管理员已开启应用加密,输入应用密码后即可解锁应用。密码只需填写一次",
|
|
23
|
+
"title": "输入密码解锁应用"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -1,10 +1,28 @@
|
|
|
1
1
|
{
|
|
2
|
+
"loading": {
|
|
3
|
+
"content": "数据获取中...",
|
|
4
|
+
"plugin": "插件运行中..."
|
|
5
|
+
},
|
|
2
6
|
"pluginList": "插件列表",
|
|
3
|
-
"pluginLoading": "插件运行中...",
|
|
4
7
|
"plugins": {
|
|
5
8
|
"realtimeWeather": "实时天气预报",
|
|
6
9
|
"searchEngine": "搜索引擎",
|
|
7
10
|
"undefined": "插件检测中...",
|
|
8
11
|
"websiteCrawler": "网页内容提取"
|
|
9
|
-
}
|
|
12
|
+
},
|
|
13
|
+
"realtimeWeather": {
|
|
14
|
+
"data": {
|
|
15
|
+
"date": "日期",
|
|
16
|
+
"daytemp_float": "日间温度",
|
|
17
|
+
"dayweather": "日间天气",
|
|
18
|
+
"daywind": "日间风速",
|
|
19
|
+
"nighttemp_float": "夜间温度",
|
|
20
|
+
"nightweather": "夜间天气",
|
|
21
|
+
"nightwind": "夜间风速",
|
|
22
|
+
"week": "星期"
|
|
23
|
+
},
|
|
24
|
+
"title": "近7日天气数据({{city}})",
|
|
25
|
+
"updateAt": "更新时间"
|
|
26
|
+
},
|
|
27
|
+
"responseData": "返回数据"
|
|
10
28
|
}
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
"danger": {
|
|
3
3
|
"clear": {
|
|
4
4
|
"action": "立即清除",
|
|
5
|
-
"confirm": "
|
|
6
|
-
"desc": "
|
|
7
|
-
"
|
|
5
|
+
"confirm": "确认清除所有聊天数据?",
|
|
6
|
+
"desc": "清除所有会话数据",
|
|
7
|
+
"success": "已清除所有会话消息",
|
|
8
|
+
"title": "清除所有会话消息"
|
|
8
9
|
},
|
|
9
10
|
"reset": {
|
|
10
11
|
"action": "立即重置",
|
|
@@ -160,5 +161,9 @@
|
|
|
160
161
|
"title": "主题"
|
|
161
162
|
},
|
|
162
163
|
"title": "主题设置"
|
|
164
|
+
},
|
|
165
|
+
"tab": {
|
|
166
|
+
"agent": "默认助手",
|
|
167
|
+
"common": "通用设置"
|
|
163
168
|
}
|
|
164
169
|
}
|
package/package.json
CHANGED