@lobehub/chat 1.22.19 → 1.22.20

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.22.20](https://github.com/lobehub/lobe-chat/compare/v1.22.19...v1.22.20)
6
+
7
+ <sup>Released on **2024-10-23**</sup>
8
+
9
+ #### 💄 Styles
10
+
11
+ - **misc**: Add new claude-3.5-sonnet model.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Styles
19
+
20
+ - **misc**: Add new claude-3.5-sonnet model, closes [#4452](https://github.com/lobehub/lobe-chat/issues/4452) ([7102393](https://github.com/lobehub/lobe-chat/commit/7102393))
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
+
5
30
  ### [Version 1.22.19](https://github.com/lobehub/lobe-chat/compare/v1.22.18...v1.22.19)
6
31
 
7
32
  <sup>Released on **2024-10-22**</sup>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.22.19",
3
+ "version": "1.22.20",
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",
@@ -9,6 +9,23 @@ const Anthropic: ModelProviderCard = {
9
9
  displayName: 'Claude 3.5 Sonnet',
10
10
  enabled: true,
11
11
  functionCall: true,
12
+ id: 'claude-3-5-sonnet-20241022',
13
+ maxOutput: 8192,
14
+ pricing: {
15
+ cachedInput: 0.3,
16
+ input: 3,
17
+ output: 15,
18
+ writeCacheInput: 3.75,
19
+ },
20
+ releasedAt: '2024-10-22',
21
+ tokens: 200_000,
22
+ vision: true,
23
+ },
24
+ {
25
+ description:
26
+ 'Claude 3.5 Sonnet 提供了超越 Opus 的能力和比 Sonnet 更快的速度,同时保持与 Sonnet 相同的价格。Sonnet 特别擅长编程、数据科学、视觉处理、代理任务。',
27
+ displayName: 'Claude 3.5 Sonnet 0620',
28
+ functionCall: true,
12
29
  id: 'claude-3-5-sonnet-20240620',
13
30
  maxOutput: 8192,
14
31
  pricing: {
@@ -95,18 +112,6 @@ const Anthropic: ModelProviderCard = {
95
112
  releasedAt: '2023-07-11',
96
113
  tokens: 100_000,
97
114
  },
98
- {
99
- description: 'Anthropic 的模型用于低延迟、高吞吐量的文本生成,支持生成数百页的文本。',
100
- displayName: 'Claude Instant 1.2',
101
- id: 'claude-instant-1.2',
102
- maxOutput: 4096,
103
- pricing: {
104
- input: 0.8,
105
- output: 2.4,
106
- },
107
- releasedAt: '2023-08-09',
108
- tokens: 100_000,
109
- },
110
115
  ],
111
116
  checkModel: 'claude-3-haiku-20240307',
112
117
  description: