@lobehub/chat 1.22.26 → 1.22.27

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.27](https://github.com/lobehub/lobe-chat/compare/v1.22.26...v1.22.27)
6
+
7
+ <sup>Released on **2024-10-25**</sup>
8
+
9
+ #### 💄 Styles
10
+
11
+ - **misc**: Add bedrock claude-3.5-sonnect-v2.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Styles
19
+
20
+ - **misc**: Add bedrock claude-3.5-sonnect-v2, closes [#4468](https://github.com/lobehub/lobe-chat/issues/4468) ([a7fc251](https://github.com/lobehub/lobe-chat/commit/a7fc251))
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.26](https://github.com/lobehub/lobe-chat/compare/v1.22.25...v1.22.26)
6
31
 
7
32
  <sup>Released on **2024-10-23**</sup>
@@ -7,6 +7,7 @@ tags:
7
7
  - Postgres
8
8
  - Deployment Guide
9
9
  ---
10
+
10
11
  # Deploying Server-Side Database
11
12
 
12
13
  LobeChat defaults to using a client-side database (IndexedDB) but also supports deploying a server-side database. LobeChat uses Postgres as the backend storage database.
@@ -97,7 +98,10 @@ In the server-side database mode, we need an authentication service to distingui
97
98
 
98
99
  [Clerk](https://clerk.com?utm_source=lobehub&utm_medium=docs) is an authentication SaaS service that provides out-of-the-box authentication capabilities with high productization, low integration costs, and a great user experience. For those who offer SaaS products, Clerk is a good choice. Our official [LobeChat Cloud](https://lobechat.com) uses Clerk as the authentication service.
99
100
 
100
- The integration of Clerk is relatively simple, requiring only the configuration of the `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY`, `CLERK_SECRET_KEY`, and `CLERK_WEBHOOK_SECRET` environment variables, which can be obtained from the Clerk console.
101
+ The integration of Clerk is relatively simple, requiring only the configuration of these environment variables:
102
+
103
+ - `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY` and `CLERK_SECRET_KEY`, which can be obtained from the Clerk console
104
+ - `CLERK_WEBHOOK_SECRET`, which is generated by following these instructions: [Configure Clerk Authentication Service](/docs/self-hosting/advanced/auth/clerk#create-and-configure-webhook-in-clerk).
101
105
 
102
106
  <Callout type={'tip'}>
103
107
  In Vercel deployment mode, we recommend using Clerk as the authentication service for a better user experience.
@@ -137,4 +141,4 @@ For detailed configuration guidelines on S3, please refer to [S3 Object Storage]
137
141
 
138
142
  The above is a detailed explanation of configuring LobeChat with a server-side database. You can configure it according to your actual situation and then choose a deployment platform that suits you to start deployment:
139
143
 
140
- <PlatformCards urlPrefix={'server-database'} />
144
+ <PlatformCards urlPrefix={'server-database'} />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.22.26",
3
+ "version": "1.22.27",
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",
@@ -32,6 +32,20 @@ const Bedrock: ModelProviderCard = {
32
32
  displayName: 'Claude 3.5 Sonnet',
33
33
  enabled: true,
34
34
  functionCall: true,
35
+ id: 'anthropic.claude-3-5-sonnet-20241022-v2:0',
36
+ pricing: {
37
+ input: 3,
38
+ output: 15,
39
+ },
40
+ tokens: 200_000,
41
+ vision: true,
42
+ },
43
+ {
44
+ description:
45
+ 'Claude 3.5 Sonnet 提升了行业标准,性能超过竞争对手模型和 Claude 3 Opus,在广泛的评估中表现出色,同时具有我们中等层级模型的速度和成本。',
46
+ displayName: 'Claude 3.5 Sonnet 0620',
47
+ enabled: true,
48
+ functionCall: true,
35
49
  id: 'anthropic.claude-3-5-sonnet-20240620-v1:0',
36
50
  pricing: {
37
51
  input: 3,