@lobehub/chat 1.27.2 → 1.27.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 1.27.3](https://github.com/lobehub/lobe-chat/compare/v1.27.2...v1.27.3)
6
+
7
+ <sup>Released on **2024-11-05**</sup>
8
+
9
+ #### 💄 Styles
10
+
11
+ - **misc**: Add claude 3.5 haiku model.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Styles
19
+
20
+ - **misc**: Add claude 3.5 haiku model, closes [#4608](https://github.com/lobehub/lobe-chat/issues/4608) ([0fdf43f](https://github.com/lobehub/lobe-chat/commit/0fdf43f))
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.27.2](https://github.com/lobehub/lobe-chat/compare/v1.27.1...v1.27.2)
6
31
 
7
32
  <sup>Released on **2024-11-05**</sup>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.27.2",
3
+ "version": "1.27.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",
@@ -3,6 +3,23 @@ import { ModelProviderCard } from '@/types/llm';
3
3
  // ref: https://docs.anthropic.com/en/docs/about-claude/models#model-names
4
4
  const Anthropic: ModelProviderCard = {
5
5
  chatModels: [
6
+ {
7
+ description:
8
+ 'Claude 3.5 Haiku 是 Anthropic 最快的下一代模型。与 Claude 3 Haiku 相比,Claude 3.5 Haiku 在各项技能上都有所提升,并在许多智力基准测试中超越了上一代最大的模型 Claude 3 Opus。',
9
+ displayName: 'Claude 3.5 Haiku',
10
+ enabled: true,
11
+ functionCall: true,
12
+ id: 'claude-3-5-haiku-20241022',
13
+ maxOutput: 8192,
14
+ pricing: {
15
+ cachedInput: 0.1,
16
+ input: 1,
17
+ output: 5,
18
+ writeCacheInput: 1.25,
19
+ },
20
+ releasedAt: '2024-11-05',
21
+ tokens: 200_000,
22
+ },
6
23
  {
7
24
  description:
8
25
  'Claude 3.5 Sonnet 提供了超越 Opus 的能力和比 Sonnet 更快的速度,同时保持与 Sonnet 相同的价格。Sonnet 特别擅长编程、数据科学、视觉处理、代理任务。',
@@ -42,7 +59,6 @@ const Anthropic: ModelProviderCard = {
42
59
  description:
43
60
  'Claude 3 Haiku 是 Anthropic 的最快且最紧凑的模型,旨在实现近乎即时的响应。它具有快速且准确的定向性能。',
44
61
  displayName: 'Claude 3 Haiku',
45
- enabled: true,
46
62
  functionCall: true,
47
63
  id: 'claude-3-haiku-20240307',
48
64
  maxOutput: 4096,
@@ -58,7 +74,6 @@ const Anthropic: ModelProviderCard = {
58
74
  description:
59
75
  'Claude 3 Sonnet 在智能和速度方面为企业工作负载提供了理想的平衡。它以更低的价格提供最大效用,可靠且适合大规模部署。',
60
76
  displayName: 'Claude 3 Sonnet',
61
- enabled: true,
62
77
  functionCall: true,
63
78
  id: 'claude-3-sonnet-20240229',
64
79
  maxOutput: 4096,