@lobehub/chat 0.121.0 → 0.121.1
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 +33 -0
- package/README.md +8 -8
- package/README.zh-CN.md +8 -8
- package/package.json +1 -1
- package/src/app/settings/common/Common.tsx +6 -1
- package/src/app/settings/llm/LLM/index.tsx +1 -0
- package/src/features/Conversation/Error/ApiKeyForm.tsx +1 -0
- package/src/features/Conversation/Error/InvalidAccess.tsx +1 -0
- package/src/features/Conversation/Plugins/Inspector/index.tsx +1 -1
- package/src/features/Conversation/Plugins/Render/DefaultType/SystemJsRender/index.tsx +7 -2
- package/src/features/PluginSettings/PluginSettingRender.tsx +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,39 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 0.121.1](https://github.com/lobehub/lobe-chat/compare/v0.121.0...v0.121.1)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-01-24**</sup>
|
|
8
|
+
|
|
9
|
+
#### 🐛 Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **misc**: Automatically fill in the wrong password.
|
|
12
|
+
|
|
13
|
+
#### 💄 Styles
|
|
14
|
+
|
|
15
|
+
- **misc**: Fix default plugins height unstabled when scrolling.
|
|
16
|
+
|
|
17
|
+
<br/>
|
|
18
|
+
|
|
19
|
+
<details>
|
|
20
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
21
|
+
|
|
22
|
+
#### What's fixed
|
|
23
|
+
|
|
24
|
+
- **misc**: Automatically fill in the wrong password, closes [#1144](https://github.com/lobehub/lobe-chat/issues/1144) ([0159a1a](https://github.com/lobehub/lobe-chat/commit/0159a1a))
|
|
25
|
+
|
|
26
|
+
#### Styles
|
|
27
|
+
|
|
28
|
+
- **misc**: Fix default plugins height unstabled when scrolling, closes [#1142](https://github.com/lobehub/lobe-chat/issues/1142) ([abed417](https://github.com/lobehub/lobe-chat/commit/abed417))
|
|
29
|
+
|
|
30
|
+
</details>
|
|
31
|
+
|
|
32
|
+
<div align="right">
|
|
33
|
+
|
|
34
|
+
[](#readme-top)
|
|
35
|
+
|
|
36
|
+
</div>
|
|
37
|
+
|
|
5
38
|
## [Version 0.121.0](https://github.com/lobehub/lobe-chat/compare/v0.120.6...v0.121.0)
|
|
6
39
|
|
|
7
40
|
<sup>Released on **2024-01-24**</sup>
|
package/README.md
CHANGED
|
@@ -223,14 +223,14 @@ Our marketplace is not just a showcase platform but also a collaborative space.
|
|
|
223
223
|
|
|
224
224
|
<!-- AGENT LIST -->
|
|
225
225
|
|
|
226
|
-
| Recent Submits
|
|
227
|
-
|
|
|
228
|
-
| [
|
|
229
|
-
| [
|
|
230
|
-
| [
|
|
231
|
-
| [
|
|
232
|
-
|
|
233
|
-
> 📊 Total agents: [<kbd>**
|
|
226
|
+
| Recent Submits | Description |
|
|
227
|
+
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
228
|
+
| [Intent Resonance GPT](https://chat-preview.lobehub.com/market?agent=intention-resonates-gpt)<br/><sup>By **[AIConductor](https://github.com/AIConductor)** on **2024-01-24**</sup> | An AI focused on deeply understanding user needs, accurately capturing user intent and requirements through continuous intent alignment, and providing the most suitable solutions.<br/>`conversation` `deep-understanding` |
|
|
229
|
+
| [Startup Tech Lawyer](https://chat-preview.lobehub.com/market?agent=tech-lawyer)<br/><sup>By **[daniel-jojo](https://github.com/daniel-jojo)** on **2024-01-23**</sup> | In-house legal counsel for a tech startup, offering clear, practical legal advice to support the startup's growth and protect its interests.<br/>`intellectual-property-law` `data-privacy-compliance` `contract-negotiation` `tech-startup-legal-strategy` `employment-law-guidance` |
|
|
230
|
+
| [Shopping Assistant](https://chat-preview.lobehub.com/market?agent=shop)<br/><sup>By **[guluahljj](https://github.com/guluahljj)** on **2024-01-22**</sup> | Shopping assistant, specializing in product search, price comparison, and providing purchase links<br/>`shopping-assistant` `product-search` `price-comparison` `purchase-advice` `customer-consultation` `agulu` |
|
|
231
|
+
| [Accounting Expert Assistant](https://chat-preview.lobehub.com/market?agent=accounting)<br/><sup>By **[MYSeaIT](https://github.com/MYSeaIT)** on **2024-01-21**</sup> | Accountant Agent: Comprehensive accounting support and expertise for individuals and businesses worldwide.<br/>`accounting` `financial-management` `tax-planning` `budgeting` |
|
|
232
|
+
|
|
233
|
+
> 📊 Total agents: [<kbd>**114**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
234
234
|
|
|
235
235
|
<!-- AGENT LIST -->
|
|
236
236
|
|
package/README.zh-CN.md
CHANGED
|
@@ -203,14 +203,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
|
|
|
203
203
|
|
|
204
204
|
<!-- AGENT LIST -->
|
|
205
205
|
|
|
206
|
-
| 最近新增
|
|
207
|
-
|
|
|
208
|
-
| [
|
|
209
|
-
| [
|
|
210
|
-
| [
|
|
211
|
-
| [
|
|
212
|
-
|
|
213
|
-
> 📊 Total agents: [<kbd>**
|
|
206
|
+
| 最近新增 | 助手说明 |
|
|
207
|
+
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
208
|
+
| [意图共鸣 GPT](https://chat-preview.lobehub.com/market?agent=intention-resonates-gpt)<br/><sup>By **[AIConductor](https://github.com/AIConductor)** on **2024-01-24**</sup> | 一个专注于深度理解用户需求的 AI,通过不断的意图对齐过程,精确捕捉用户意图和需求,并提供最适合的解决方案。<br/>`对话` `深度理解` |
|
|
209
|
+
| [初创科技律师](https://chat-preview.lobehub.com/market?agent=tech-lawyer)<br/><sup>By **[daniel-jojo](https://github.com/daniel-jojo)** on **2024-01-23**</sup> | 初创科技公司的内部法律顾问,提供清晰、实用的法律建议,支持初创公司的增长并保护其利益。<br/>`知识产权法` `数据隐私合规` `合同谈判` `科技初创法律策略` `雇佣法指导` |
|
|
210
|
+
| [购物助手](https://chat-preview.lobehub.com/market?agent=shop)<br/><sup>By **[guluahljj](https://github.com/guluahljj)** on **2024-01-22**</sup> | 购物助手,擅长商品搜索、比价和提供购买链接<br/>`购物助手` `商品搜索` `比价` `购买建议` `客户咨询` `agulu` |
|
|
211
|
+
| [会计专家助手](https://chat-preview.lobehub.com/market?agent=accounting)<br/><sup>By **[MYSeaIT](https://github.com/MYSeaIT)** on **2024-01-21**</sup> | 会计代理:为全球个人和企业提供全面的会计支持和专业知识。<br/>`会计` `财务管理` `税务规划` `预算编制` |
|
|
212
|
+
|
|
213
|
+
> 📊 Total agents: [<kbd>**114**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
214
214
|
|
|
215
215
|
<!-- AGENT LIST -->
|
|
216
216
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "0.121.
|
|
3
|
+
"version": "0.121.1",
|
|
4
4
|
"description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"framework",
|
|
@@ -186,7 +186,12 @@ const Common = memo<SettingsCommonProps>(({ showAccessCodeConfig }) => {
|
|
|
186
186
|
const system: SettingItemGroup = {
|
|
187
187
|
children: [
|
|
188
188
|
{
|
|
189
|
-
children:
|
|
189
|
+
children: (
|
|
190
|
+
<Input.Password
|
|
191
|
+
autoComplete={'new-password'}
|
|
192
|
+
placeholder={t('settingSystem.accessCode.placeholder')}
|
|
193
|
+
/>
|
|
194
|
+
),
|
|
190
195
|
desc: t('settingSystem.accessCode.desc'),
|
|
191
196
|
hidden: !showAccessCodeConfig,
|
|
192
197
|
label: t('settingSystem.accessCode.title'),
|
|
@@ -8,18 +8,23 @@ interface SystemJsRenderProps extends PluginRenderProps {
|
|
|
8
8
|
url: string;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
const RenderCache: {
|
|
12
|
+
[url: string]: PluginRender;
|
|
13
|
+
} = {};
|
|
14
|
+
|
|
11
15
|
const SystemJsRender = memo<SystemJsRenderProps>(({ url, ...props }) => {
|
|
12
|
-
const [component, setComp] = useState<PluginRender |
|
|
16
|
+
const [component, setComp] = useState<PluginRender | undefined>(RenderCache[url]);
|
|
13
17
|
|
|
14
18
|
useEffect(() => {
|
|
15
19
|
system
|
|
16
20
|
.import(url)
|
|
17
21
|
.then((module1) => {
|
|
18
22
|
setComp(module1.default);
|
|
23
|
+
RenderCache[url] = module1.default;
|
|
19
24
|
// 使用module1模块
|
|
20
25
|
})
|
|
21
26
|
.catch((error) => {
|
|
22
|
-
setComp(
|
|
27
|
+
setComp(undefined);
|
|
23
28
|
console.error(error);
|
|
24
29
|
});
|
|
25
30
|
}, [url]);
|