@lobehub/chat 1.0.14 → 1.1.1

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,56 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.1.1](https://github.com/lobehub/lobe-chat/compare/v1.1.0...v1.1.1)
6
+
7
+ <sup>Released on **2024-06-20**</sup>
8
+
9
+ #### 💄 Styles
10
+
11
+ - **misc**: Fixed System Agent missing in mobile layout.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Styles
19
+
20
+ - **misc**: Fixed System Agent missing in mobile layout, closes [#2954](https://github.com/lobehub/lobe-chat/issues/2954) ([596b9c8](https://github.com/lobehub/lobe-chat/commit/596b9c8))
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.1.0](https://github.com/lobehub/lobe-chat/compare/v1.0.14...v1.1.0)
31
+
32
+ <sup>Released on **2024-06-20**</sup>
33
+
34
+ #### ✨ Features
35
+
36
+ - **misc**: Supoort Claude 3.5 Sonnet.
37
+
38
+ <br/>
39
+
40
+ <details>
41
+ <summary><kbd>Improvements and Fixes</kbd></summary>
42
+
43
+ #### What's improved
44
+
45
+ - **misc**: Supoort Claude 3.5 Sonnet, closes [#2955](https://github.com/lobehub/lobe-chat/issues/2955) ([aa1d7b7](https://github.com/lobehub/lobe-chat/commit/aa1d7b7))
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.0.14](https://github.com/lobehub/lobe-chat/compare/v1.0.13...v1.0.14)
6
56
 
7
57
  <sup>Released on **2024-06-20**</sup>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.0.14",
3
+ "version": "1.1.1",
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",
@@ -93,7 +93,7 @@
93
93
  },
94
94
  "dependencies": {
95
95
  "@ant-design/icons": "^5.3.7",
96
- "@anthropic-ai/sdk": "^0.23.0",
96
+ "@anthropic-ai/sdk": "^0.24.0",
97
97
  "@auth/core": "0.28.0",
98
98
  "@aws-sdk/client-bedrock-runtime": "^3.583.0",
99
99
  "@aws-sdk/client-s3": "^3.583.0",
@@ -1,5 +1,5 @@
1
1
  import { Tag } from 'antd';
2
- import { Bot, Brain, Cloudy, Info, Mic2, Settings2 } from 'lucide-react';
2
+ import { Bot, Brain, Cloudy, Info, Mic2, Settings2, Sparkles } from 'lucide-react';
3
3
  import { useRouter } from 'next/navigation';
4
4
  import { useTranslation } from 'react-i18next';
5
5
  import { Flexbox } from 'react-layout-kit';
@@ -20,6 +20,11 @@ export const useCategory = () => {
20
20
  key: SettingsTabs.Common,
21
21
  label: t('tab.common'),
22
22
  },
23
+ {
24
+ icon: Sparkles,
25
+ key: SettingsTabs.SystemAgent,
26
+ label: t('tab.system-agent'),
27
+ },
23
28
  enableWebrtc && {
24
29
  icon: Cloudy,
25
30
  key: SettingsTabs.Sync,
@@ -3,6 +3,17 @@ import { ModelProviderCard } from '@/types/llm';
3
3
  // ref https://docs.anthropic.com/claude/docs/models-overview#model-comparison
4
4
  const Anthropic: ModelProviderCard = {
5
5
  chatModels: [
6
+ {
7
+ description:
8
+ 'Claude 3.5 Sonnet raises the industry bar for intelligence, outperforming competitor models and Claude 3 Opus on a wide range of evaluations, with the speed and cost of our mid-tier model, Claude 3 Sonnet.',
9
+ displayName: 'Claude 3.5 Sonnet',
10
+ enabled: true,
11
+ functionCall: true,
12
+ id: 'claude-3-5-sonnet-20240620',
13
+ maxOutput: 4096,
14
+ tokens: 200_000,
15
+ vision: true,
16
+ },
6
17
  {
7
18
  description:
8
19
  'Ideal balance of intelligence and speed for enterprise workloads. Maximum utility at a lower price, dependable, balanced for scaled deployments',
@@ -50,6 +50,15 @@ const Bedrock: ModelProviderCard = {
50
50
  tokens: 200_000,
51
51
  vision: true,
52
52
  },
53
+ {
54
+ description:
55
+ 'Claude 3.5 Sonnet 提高了行业的智能标准, 在广泛的基准测试中超越了竞争对手模型以及 Claude 3 Opus, 以中端模型的速度和成本,展现出卓越性能。 Claude 3.5 Sonnet 可以处理图像和返回文本输出,并且提供 200K 上下文窗口。',
56
+ displayName: 'Claude 3.5 Sonnet',
57
+ enabled: true,
58
+ id: 'anthropic.claude-3-5-sonnet-20240620-v1:0',
59
+ tokens: 200_000,
60
+ vision: true,
61
+ },
53
62
  {
54
63
  description:
55
64
  'Claude 3 Haiku 是 Anthropic 最快速、最紧凑的模型,具有近乎即时的响应能力。该模型可以快速回答简单的查询和请求。客户将能够构建模仿人类交互的无缝人工智能体验。 Claude 3 Haiku 可以处理图像和返回文本输出,并且提供 200K 上下文窗口。',