@lobehub/chat 0.122.4 → 0.122.6

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 CHANGED
@@ -2,6 +2,56 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 0.122.6](https://github.com/lobehub/lobe-chat/compare/v0.122.5...v0.122.6)
6
+
7
+ <sup>Released on **2024-01-31**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **check**: The state of connectivity can only be singular.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **check**: The state of connectivity can only be singular, closes [#1201](https://github.com/lobehub/lobe-chat/issues/1201) ([c412baf](https://github.com/lobehub/lobe-chat/commit/c412baf))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
30
+ ### [Version 0.122.5](https://github.com/lobehub/lobe-chat/compare/v0.122.4...v0.122.5)
31
+
32
+ <sup>Released on **2024-01-31**</sup>
33
+
34
+ #### 🐛 Bug Fixes
35
+
36
+ - **misc**: The plugin has a hallucination and gets stuck.
37
+
38
+ <br/>
39
+
40
+ <details>
41
+ <summary><kbd>Improvements and Fixes</kbd></summary>
42
+
43
+ #### What's fixed
44
+
45
+ - **misc**: The plugin has a hallucination and gets stuck, closes [#1191](https://github.com/lobehub/lobe-chat/issues/1191) ([0189759](https://github.com/lobehub/lobe-chat/commit/0189759))
46
+
47
+ </details>
48
+
49
+ <div align="right">
50
+
51
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
52
+
53
+ </div>
54
+
5
55
  ### [Version 0.122.4](https://github.com/lobehub/lobe-chat/compare/v0.122.3...v0.122.4)
6
56
 
7
57
  <sup>Released on **2024-01-30**</sup>
package/README.md CHANGED
@@ -227,12 +227,12 @@ Our marketplace is not just a showcase platform but also a collaborative space.
227
227
 
228
228
  | Recent Submits | Description |
229
229
  | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
230
+ | [SagePathfinder](https://chat-preview.lobehub.com/market?agent=sage-pathfinder)<br/><sup>By **[Ajasra](https://github.com/Ajasra)** on **2024-01-31**</sup> | Expert in personal growth coaching with a focus on stoicism, deep reflection, and strategic questioning.<br/>`personal-growth` `coaching` `reflection` `goal-setting` `well-being` |
230
231
  | [English Proficiency Coach](https://chat-preview.lobehub.com/market?agent=english-c-2-level)<br/><sup>By **[MYSeaIT](https://github.com/MYSeaIT)** on **2024-01-30**</sup> | C2 Level English Conversation Partner<br/>`english-proficiency` `conversation-partner` `language-coaching` |
231
232
  | [Entrepreneurship and Competitiveness Expert](https://chat-preview.lobehub.com/market?agent=entrepreneurship-and-competitiveness-expert)<br/><sup>By **[MYSeaIT](https://github.com/MYSeaIT)** on **2024-01-30**</sup> | Entrepreneurship and Competitiveness Expert: Guiding individuals to entrepreneurial success and market competitiveness.<br/>`entrepreneurship` `competitiveness` `consulting` `mentoring` `advising` |
232
233
  | [Mathematical Research Advisor](https://chat-preview.lobehub.com/market?agent=mathematical-research-advisor)<br/><sup>By **[MYSeaIT](https://github.com/MYSeaIT)** on **2024-01-30**</sup> | Math Research Assistant: Assisting with mathematical research, problem-solving, and providing guidance in a wide range of mathematical concepts and techniques.<br/>`mathematics` `research` `assistance` `problem-solving` `communication` |
233
- | [Territory Promotion Strategist](https://chat-preview.lobehub.com/market?agent=biskaya)<br/><sup>By **[MYSeaIT](https://github.com/MYSeaIT)** on **2024-01-29**</sup> | Territorial Competitiveness and Promotion Expert<br/>`territorial-competitiveness` `promotion` `consulting` `marketing` `event-coordination` |
234
234
 
235
- > 📊 Total agents: [<kbd>**142**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
235
+ > 📊 Total agents: [<kbd>**143**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
236
236
 
237
237
  <!-- AGENT LIST -->
238
238
 
package/README.zh-CN.md CHANGED
@@ -207,12 +207,12 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
207
207
 
208
208
  | 最近新增 | 助手说明 |
209
209
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
210
+ | [SagePathfinder](https://chat-preview.lobehub.com/market?agent=sage-pathfinder)<br/><sup>By **[Ajasra](https://github.com/Ajasra)** on **2024-01-31**</sup> | 专注于斯多葛主义、深度反思和战略性提问的个人成长教练专家。<br/>`个人成长` `教练` `反思` `目标设定` `幸福感` |
210
211
  | [英语熟练度教练](https://chat-preview.lobehub.com/market?agent=english-c-2-level)<br/><sup>By **[MYSeaIT](https://github.com/MYSeaIT)** on **2024-01-30**</sup> | C2 级别英语会话伙伴<br/>`英语熟练度` `会话伙伴` `语言辅导` |
211
212
  | [创业和竞争力专家](https://chat-preview.lobehub.com/market?agent=entrepreneurship-and-competitiveness-expert)<br/><sup>By **[MYSeaIT](https://github.com/MYSeaIT)** on **2024-01-30**</sup> | 创业和竞争力专家:指导个人实现创业成功和市场竞争力。<br/>`创业` `竞争力` `咨询` `指导` `建议` |
212
213
  | [数学研究顾问](https://chat-preview.lobehub.com/market?agent=mathematical-research-advisor)<br/><sup>By **[MYSeaIT](https://github.com/MYSeaIT)** on **2024-01-30**</sup> | 数学研究助理:协助进行数学研究、解决问题,并在各种数学概念和技术方面提供指导。<br/>`数学` `研究` `协助` `问题解决` `沟通` |
213
- | [领土推广策略师](https://chat-preview.lobehub.com/market?agent=biskaya)<br/><sup>By **[MYSeaIT](https://github.com/MYSeaIT)** on **2024-01-29**</sup> | 领土竞争力和推广专家<br/>`territorial-competitiveness` `promotion` `consulting` `marketing` `event-coordination` |
214
214
 
215
- > 📊 Total agents: [<kbd>**142**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
215
+ > 📊 Total agents: [<kbd>**143**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
216
216
 
217
217
  <!-- AGENT LIST -->
218
218
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "0.122.4",
3
+ "version": "0.122.6",
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",
@@ -31,6 +31,7 @@ const Checker = memo<CheckerProps>(({ checkModel }) => {
31
31
  const data = await chatService.fetchPresetTaskResult({
32
32
  onError: (_, rawError) => {
33
33
  setError(rawError);
34
+ setPass(false);
34
35
  },
35
36
  onLoadingChange: (loading) => {
36
37
  setLoading(loading);
@@ -177,6 +177,8 @@ export const chatPlugin: StateCreator<
177
177
  invokeStandaloneTypePlugin,
178
178
  invokeBuiltinTool,
179
179
  refreshMessages,
180
+ resendMessage,
181
+ deleteMessage,
180
182
  } = get();
181
183
 
182
184
  let payload = { apiName: '', identifier: '' } as ChatPluginPayload;
@@ -199,6 +201,13 @@ export const chatPlugin: StateCreator<
199
201
  type: (type ?? 'default') as any,
200
202
  };
201
203
 
204
+ // fix https://github.com/lobehub/lobe-chat/issues/1094, remove and retry after experiencing plugin illusion
205
+ if (!apiName) {
206
+ resendMessage(id);
207
+ deleteMessage(id);
208
+ return;
209
+ }
210
+
202
211
  // if the apiName is md5, try to find the correct apiName in the plugins
203
212
  if (apiName.startsWith(PLUGIN_SCHEMA_API_MD5_PREFIX)) {
204
213
  const md5 = apiName.replace(PLUGIN_SCHEMA_API_MD5_PREFIX, '');