@lobehub/chat 1.0.9 → 1.0.11

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 1.0.11](https://github.com/lobehub/lobe-chat/compare/v1.0.10...v1.0.11)
6
+
7
+ <sup>Released on **2024-06-19**</sup>
8
+
9
+ #### 💄 Styles
10
+
11
+ - **misc**: Fix phi3 icon display under OpenRouter.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Styles
19
+
20
+ - **misc**: Fix phi3 icon display under OpenRouter, closes [#2877](https://github.com/lobehub/lobe-chat/issues/2877) ([4173015](https://github.com/lobehub/lobe-chat/commit/4173015))
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 1.0.10](https://github.com/lobehub/lobe-chat/compare/v1.0.9...v1.0.10)
31
+
32
+ <sup>Released on **2024-06-19**</sup>
33
+
34
+ #### 🐛 Bug Fixes
35
+
36
+ - **misc**: Typo in reset settings.
37
+
38
+ <br/>
39
+
40
+ <details>
41
+ <summary><kbd>Improvements and Fixes</kbd></summary>
42
+
43
+ #### What's fixed
44
+
45
+ - **misc**: Typo in reset settings, closes [#2926](https://github.com/lobehub/lobe-chat/issues/2926) ([93d460a](https://github.com/lobehub/lobe-chat/commit/93d460a))
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 1.0.9](https://github.com/lobehub/lobe-chat/compare/v1.0.8...v1.0.9)
6
56
 
7
57
  <sup>Released on **2024-06-19**</sup>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
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",
@@ -135,8 +135,8 @@ const Common = memo(() => {
135
135
  {t('danger.reset.action')}
136
136
  </Button>
137
137
  ),
138
- desc: t('danger.reset.title'),
139
- label: t('danger.reset.desc'),
138
+ desc: t('danger.reset.desc'),
139
+ label: t('danger.reset.title'),
140
140
  minWidth: undefined,
141
141
  },
142
142
  {
@@ -91,7 +91,7 @@ const ModelIcon = memo<ModelProviderIconProps>(({ model: originModel, size = 12
91
91
  return <Stability.Avatar size={size} />;
92
92
 
93
93
  if (model.includes('wizardlm')) return <Azure.Avatar size={size} />;
94
- if (model.includes('phi3')) return <Azure.Avatar size={size} />;
94
+ if (model.includes('phi3') || model.includes('phi-3')) return <Azure.Avatar size={size} />;
95
95
  if (model.includes('firefly')) return <Adobe.Avatar size={size} />;
96
96
  if (model.includes('jamba') || model.includes('j2-')) return <Ai21.Avatar size={size} />;
97
97
  });
@@ -85,7 +85,7 @@ const ModelIcon = memo<ModelIconProps>(({ model, size = 12 }) => {
85
85
  return <Stability size={size} />;
86
86
 
87
87
  if (model.includes('wizardlm')) return <Azure size={size} />;
88
- if (model.includes('phi3')) return <Azure size={size} />;
88
+ if (model.includes('phi3') || model.includes('phi-3')) return <Azure size={size} />;
89
89
  if (model.includes('firefly')) return <AdobeFirefly size={size} />;
90
90
  if (model.includes('jamba') || model.includes('j2-')) return <Ai21 size={size} />;
91
91
  });