@lobehub/chat 1.19.9 → 1.19.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.

Potentially problematic release.


This version of @lobehub/chat might be problematic. Click here for more details.

package/CHANGELOG.md CHANGED
@@ -2,6 +2,56 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.19.11](https://github.com/lobehub/lobe-chat/compare/v1.19.10...v1.19.11)
6
+
7
+ <sup>Released on **2024-09-20**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Custom model initialization not taking effect error.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Custom model initialization not taking effect error, closes [#4038](https://github.com/lobehub/lobe-chat/issues/4038) ([0e0d208](https://github.com/lobehub/lobe-chat/commit/0e0d208))
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.19.10](https://github.com/lobehub/lobe-chat/compare/v1.19.9...v1.19.10)
31
+
32
+ <sup>Released on **2024-09-20**</sup>
33
+
34
+ #### 💄 Styles
35
+
36
+ - **misc**: Add qwen2.5 math and coder model for siliconcloud provider.
37
+
38
+ <br/>
39
+
40
+ <details>
41
+ <summary><kbd>Improvements and Fixes</kbd></summary>
42
+
43
+ #### Styles
44
+
45
+ - **misc**: Add qwen2.5 math and coder model for siliconcloud provider, closes [#4043](https://github.com/lobehub/lobe-chat/issues/4043) ([d16578f](https://github.com/lobehub/lobe-chat/commit/d16578f))
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.19.9](https://github.com/lobehub/lobe-chat/compare/v1.19.8...v1.19.9)
6
56
 
7
57
  <sup>Released on **2024-09-20**</sup>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.19.9",
3
+ "version": "1.19.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",
@@ -62,14 +62,27 @@ const SiliconCloud: ModelProviderCard = {
62
62
  tokens: 32_768,
63
63
  },
64
64
  {
65
- description: 'Qwen2-Math 专注于数学领域的问题求解,为高难度题提供专业解答。',
66
- displayName: 'Qwen2 Math 72B',
67
- id: 'Qwen/Qwen2-Math-72B-Instruct',
65
+ description: 'Qwen2.5-Math 专注于数学领域的问题求解,为高难度题提供专业解答。',
66
+ displayName: 'Qwen2.5 Math 72B',
67
+ enabled: true,
68
+ id: 'Qwen/Qwen2.5-Math-72B-Instruct',
68
69
  pricing: {
69
70
  currency: 'CNY',
70
71
  input: 4.13,
71
72
  output: 4.13,
72
73
  },
74
+ tokens: 4096,
75
+ },
76
+ {
77
+ description: 'Qwen2.5-Coder 专注于代码编写。',
78
+ displayName: 'Qwen2.5 Coder 7B',
79
+ enabled: true,
80
+ id: 'Qwen/Qwen2.5-Coder-7B-Instruct',
81
+ pricing: {
82
+ currency: 'CNY',
83
+ input: 0,
84
+ output: 0,
85
+ },
73
86
  tokens: 32_768,
74
87
  },
75
88
  {
@@ -173,6 +173,7 @@ export const getServerGlobalConfig = () => {
173
173
  },
174
174
  ollama: {
175
175
  enabled: ENABLED_OLLAMA,
176
+ enabledModels: extractEnabledModels(OLLAMA_MODEL_LIST),
176
177
  fetchOnClient: !OLLAMA_PROXY_URL,
177
178
  serverModelCards: transformToChatModelCards({
178
179
  defaultChatModels: OllamaProviderCard.chatModels,