@lobehub/chat 0.94.1 → 0.94.3

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.94.3](https://github.com/lobehub/lobe-chat/compare/v0.94.2...v0.94.3)
6
+
7
+ <sup>Released on **2023-10-19**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Fix agent share formate.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Fix agent share formate ([56ebc0b](https://github.com/lobehub/lobe-chat/commit/56ebc0b))
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.94.2](https://github.com/lobehub/lobe-chat/compare/v0.94.1...v0.94.2)
31
+
32
+ <sup>Released on **2023-10-19**</sup>
33
+
34
+ #### 🐛 Bug Fixes
35
+
36
+ - **misc**: Fix agent market with other locales.
37
+
38
+ <br/>
39
+
40
+ <details>
41
+ <summary><kbd>Improvements and Fixes</kbd></summary>
42
+
43
+ #### What's fixed
44
+
45
+ - **misc**: Fix agent market with other locales ([2414d34](https://github.com/lobehub/lobe-chat/commit/2414d34))
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.94.1](https://github.com/lobehub/lobe-chat/compare/v0.94.0...v0.94.1)
6
56
 
7
57
  <sup>Released on **2023-10-19**</sup>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "0.94.1",
3
+ "version": "0.94.3",
4
4
  "description": "An open-source, extensible (Function Calling), high-performance chatbot framework. It supports one-click free deployment of your private ChatGPT/LLM web application",
5
5
  "keywords": [
6
6
  "chatbot",
@@ -31,7 +31,7 @@ const Inner = memo(() => {
31
31
  '### systemRole',
32
32
  systemRole,
33
33
  '### identifier',
34
- identifier,
34
+ kebabCase(identifier),
35
35
  '### avatar',
36
36
  meta.avatar,
37
37
  '### title',
@@ -65,7 +65,7 @@ const Inner = memo(() => {
65
65
  {t('submitAgentModal.identifier')}
66
66
  </strong>
67
67
  <Input
68
- onChange={(e) => setIdentifier(kebabCase(e.target.value))}
68
+ onChange={(e) => setIdentifier(e.target.value)}
69
69
  placeholder={t('submitAgentModal.placeholder')}
70
70
  value={identifier}
71
71
  />
@@ -16,7 +16,7 @@ const getAgentList = async (): Promise<LobeChatAgentsMarketIndex> => {
16
16
  try {
17
17
  const res = await fetch(getAgentIndexJSON(lang?.value as Locales));
18
18
 
19
- return res.json();
19
+ return await res.json();
20
20
  } catch {
21
21
  return { agents: [], schemaVersion: 1 };
22
22
  }