@lobehub/chat 1.2.3 → 1.2.4
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,31 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 1.2.4](https://github.com/lobehub/lobe-chat/compare/v1.2.3...v1.2.4)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-07-02**</sup>
|
|
8
|
+
|
|
9
|
+
#### 💄 Styles
|
|
10
|
+
|
|
11
|
+
- **misc**: Update ProviderAvatar for Baichuan & Stepfun.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### Styles
|
|
19
|
+
|
|
20
|
+
- **misc**: Update ProviderAvatar for Baichuan & Stepfun, closes [#3112](https://github.com/lobehub/lobe-chat/issues/3112) ([ae5987a](https://github.com/lobehub/lobe-chat/commit/ae5987a))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
5
30
|
### [Version 1.2.3](https://github.com/lobehub/lobe-chat/compare/v1.2.2...v1.2.3)
|
|
6
31
|
|
|
7
32
|
<sup>Released on **2024-07-01**</sup>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
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",
|
|
@@ -80,7 +80,11 @@
|
|
|
80
80
|
"*.json": [
|
|
81
81
|
"prettier --write --no-error-on-unmatched-pattern"
|
|
82
82
|
],
|
|
83
|
-
"*.{
|
|
83
|
+
"*.{mjs,cjs}": [
|
|
84
|
+
"prettier --write",
|
|
85
|
+
"eslint --fix"
|
|
86
|
+
],
|
|
87
|
+
"*.{js,jsx}": [
|
|
84
88
|
"prettier --write",
|
|
85
89
|
"stylelint --fix",
|
|
86
90
|
"eslint --fix"
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Anthropic,
|
|
3
|
+
Baichuan,
|
|
3
4
|
DeepSeek,
|
|
4
5
|
Google,
|
|
5
6
|
Groq,
|
|
@@ -9,6 +10,7 @@ import {
|
|
|
9
10
|
OpenAI,
|
|
10
11
|
OpenRouter,
|
|
11
12
|
Perplexity,
|
|
13
|
+
Stepfun,
|
|
12
14
|
Together,
|
|
13
15
|
Tongyi,
|
|
14
16
|
ZeroOne,
|
|
@@ -55,6 +57,10 @@ const ProviderAvatar = memo<ProviderAvatarProps>(({ provider }) => {
|
|
|
55
57
|
return <Anthropic color={Anthropic.colorPrimary} size={52} />;
|
|
56
58
|
}
|
|
57
59
|
|
|
60
|
+
case ModelProvider.Baichuan: {
|
|
61
|
+
return <Baichuan color={Baichuan.colorPrimary} size={56} />;
|
|
62
|
+
}
|
|
63
|
+
|
|
58
64
|
case ModelProvider.DeepSeek: {
|
|
59
65
|
return <DeepSeek color={DeepSeek.colorPrimary} size={56} />;
|
|
60
66
|
}
|
|
@@ -71,6 +77,10 @@ const ProviderAvatar = memo<ProviderAvatarProps>(({ provider }) => {
|
|
|
71
77
|
return <Tongyi color={Tongyi.colorPrimary} size={56} />;
|
|
72
78
|
}
|
|
73
79
|
|
|
80
|
+
case ModelProvider.Stepfun: {
|
|
81
|
+
return <Stepfun color={Stepfun.colorPrimary} size={56} />;
|
|
82
|
+
}
|
|
83
|
+
|
|
74
84
|
case ModelProvider.TogetherAI: {
|
|
75
85
|
return <Together color={Together.colorPrimary} size={56} />;
|
|
76
86
|
}
|