@lobehub/chat 0.159.2 → 0.159.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,31 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 0.159.3](https://github.com/lobehub/lobe-chat/compare/v0.159.2...v0.159.3)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-05-14**</sup>
|
|
8
|
+
|
|
9
|
+
#### 🐛 Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **misc**: Fix DeepSeek using wrong model ID.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's fixed
|
|
19
|
+
|
|
20
|
+
- **misc**: Fix DeepSeek using wrong model ID, closes [#2484](https://github.com/lobehub/lobe-chat/issues/2484) ([465dbfc](https://github.com/lobehub/lobe-chat/commit/465dbfc))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
5
30
|
### [Version 0.159.2](https://github.com/lobehub/lobe-chat/compare/v0.159.1...v0.159.2)
|
|
6
31
|
|
|
7
32
|
<sup>Released on **2024-05-14**</sup>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "0.159.
|
|
3
|
+
"version": "0.159.3",
|
|
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",
|
|
@@ -10,7 +10,7 @@ import ProviderConfig from '../components/ProviderConfig';
|
|
|
10
10
|
const DeepSeekProvider = memo(() => {
|
|
11
11
|
return (
|
|
12
12
|
<ProviderConfig
|
|
13
|
-
checkModel={'deepseek
|
|
13
|
+
checkModel={'deepseek-chat'}
|
|
14
14
|
modelList={{ showModelFetcher: true }}
|
|
15
15
|
provider={ModelProvider.DeepSeek}
|
|
16
16
|
title={<DeepSeek.Combine size={28} type={'color'} />}
|
|
@@ -139,7 +139,9 @@ const getLlmOptionsFromPayload = (provider: string, payload: JWTPayload) => {
|
|
|
139
139
|
}
|
|
140
140
|
case ModelProvider.DeepSeek: {
|
|
141
141
|
const { DEEPSEEK_API_KEY } = getServerConfig();
|
|
142
|
+
|
|
142
143
|
const apiKey = apiKeyManager.pick(payload?.apiKey || DEEPSEEK_API_KEY);
|
|
144
|
+
|
|
143
145
|
return { apiKey };
|
|
144
146
|
}
|
|
145
147
|
case ModelProvider.TogetherAI: {
|