@lobehub/chat 1.0.8 → 1.0.9

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.0.9](https://github.com/lobehub/lobe-chat/compare/v1.0.8...v1.0.9)
6
+
7
+ <sup>Released on **2024-06-19**</sup>
8
+
9
+ #### 💄 Styles
10
+
11
+ - **model**: Update `deepseek-coder` model.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Styles
19
+
20
+ - **model**: Update `deepseek-coder` model, closes [#2927](https://github.com/lobehub/lobe-chat/issues/2927) ([c8d45e4](https://github.com/lobehub/lobe-chat/commit/c8d45e4))
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.0.8](https://github.com/lobehub/lobe-chat/compare/v1.0.7...v1.0.8)
6
31
 
7
32
  <sup>Released on **2024-06-18**</sup>
package/README.md CHANGED
@@ -233,7 +233,7 @@ In addition, these plugins are not limited to news aggregation, but can also ext
233
233
  | [Search1API](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **fatwang2** on **2024-05-06**</sup> | Search aggregation service, specifically designed for LLMs<br/>`web` `search` |
234
234
  | [Search Google via Serper](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **Barry** on **2024-04-30**</sup> | Google search engine via Serper.dev free API (2500x🆓/month)<br/>`web` `search` |
235
235
 
236
- > 📊 Total plugins: [<kbd>**55**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
236
+ > 📊 Total plugins: [<kbd>**54**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
237
237
 
238
238
  <!-- PLUGIN LIST -->
239
239
 
@@ -267,12 +267,12 @@ Our marketplace is not just a showcase platform but also a collaborative space.
267
267
 
268
268
  | Recent Submits | Description |
269
269
  | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
270
+ | [NovelAI Drawing Assistant](https://chat-preview.lobehub.com/market?agent=novel-ai-pormpt-helper)<br/><sup>By **[WallBreakerNO4](https://github.com/WallBreakerNO4)** on **2024-06-18**</sup> | I can turn the scenes you describe into prompts for NovelAI<br/>`deep-learning` `image-generation` `algorithm` `prompt` |
270
271
  | [Pseudo Code Prompt Word Generator Expert](https://chat-preview.lobehub.com/market?agent=pseudocode-prompt-master)<br/><sup>By **[yayoinoyume](https://github.com/yayoinoyume)** on **2024-06-16**</sup> | Pseudo Code Prompt Word Generator Expert allows users to directly input prompt word design requirements and returns designed pseudo code prompt words directly.<br/>`prompt` `prompt-word` `pseudo-code` |
271
272
  | [Mr. MySQL](https://chat-preview.lobehub.com/market?agent=mysql-haoteacher)<br/><sup>By **[yayoinoyume](https://github.com/yayoinoyume)** on **2024-06-09**</sup> | Mr. MySQL is a great teacher to help everyone learn MySQL<br/>`mysql` `programming` `learning` |
272
273
  | [Popular Science Writing Assistant](https://chat-preview.lobehub.com/market?agent=popular-science-writer)<br/><sup>By **[ShinChven](https://github.com/ShinChven)** on **2024-06-08**</sup> | The popular science writing assistant uses everyday language to explain scientific concepts, tells stories, uses examples and metaphors to spark interest, and emphasizes importance.<br/>`science-writing` `science-popularization` `creative-expression` |
273
- | [Expert Response to Reviewer](https://chat-preview.lobehub.com/market?agent=academic-editor-en)<br/><sup>By **[Starlitnightly](https://github.com/Starlitnightly)** on **2024-06-03**</sup> | Specializing in natural academic editing, assisting authors in responding to reviewer comments in a scientific, courteous, and point-by-point manner.<br/>`academic-editing` `response-to-reviewer-comments` `scientific-writing` |
274
274
 
275
- > 📊 Total agents: [<kbd>**288**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
275
+ > 📊 Total agents: [<kbd>**290**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
276
276
 
277
277
  <!-- AGENT LIST -->
278
278
 
package/README.zh-CN.md CHANGED
@@ -225,7 +225,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
225
225
  | [Search1API](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **fatwang2** on **2024-05-06**</sup> | 搜索聚合服务,专为 LLMs 设计<br/>`web` `search` |
226
226
  | [通过 Serper 搜索 Google](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **Barry** on **2024-04-30**</sup> | 通过 Serper.dev 免费 API 进行 Google 搜索引擎(每月 2500 次🆓)<br/>`网络` `搜索` |
227
227
 
228
- > 📊 Total plugins: [<kbd>**55**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
228
+ > 📊 Total plugins: [<kbd>**54**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
229
229
 
230
230
  <!-- PLUGIN LIST -->
231
231
 
@@ -255,12 +255,12 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
255
255
 
256
256
  | 最近新增 | 助手说明 |
257
257
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------- |
258
+ | [NovelAI 绘画助手](https://chat-preview.lobehub.com/market?agent=novel-ai-pormpt-helper)<br/><sup>By **[WallBreakerNO4](https://github.com/WallBreakerNO4)** on **2024-06-18**</sup> | 我能将你描述的场景转成 NovelAI 的 prompt<br/>`深度学习` `图像生成` `算法` `提示符` |
258
259
  | [伪代码提示词生成专家](https://chat-preview.lobehub.com/market?agent=pseudocode-prompt-master)<br/><sup>By **[yayoinoyume](https://github.com/yayoinoyume)** on **2024-06-16**</sup> | 伪代码提示词生成专家,用户直接输入提示词设计需求,直接返还设计的伪代码提示词<br/>`prompt` `提示词` `伪代码` |
259
260
  | [Mysql 好先生](https://chat-preview.lobehub.com/market?agent=mysql-haoteacher)<br/><sup>By **[yayoinoyume](https://github.com/yayoinoyume)** on **2024-06-09**</sup> | mysql 好先生是帮助所有人学习 mysql 的好老师<br/>`mysql` `编程` `学习` |
260
261
  | [通俗科普创作助手](https://chat-preview.lobehub.com/market?agent=popular-science-writer)<br/><sup>By **[ShinChven](https://github.com/ShinChven)** on **2024-06-08**</sup> | 通俗科普创作助手,用生活化语言讲科学概念,讲故事、使用例子和比喻,激发兴趣,强调重要性。<br/>`科普写作` `科学普及` `创意表达` |
261
- | [审稿回复专家](https://chat-preview.lobehub.com/market?agent=academic-editor-en)<br/><sup>By **[Starlitnightly](https://github.com/Starlitnightly)** on **2024-06-03**</sup> | 擅长自然学术编辑,协助作者回复审稿人意见,科学、礼貌、逐点回应。<br/>`学术编辑` `审稿意见回复` `科学写作` |
262
262
 
263
- > 📊 Total agents: [<kbd>**288**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
263
+ > 📊 Total agents: [<kbd>**290**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
264
264
 
265
265
  <!-- AGENT LIST -->
266
266
 
@@ -1,3 +1,17 @@
1
+ ---
2
+ title: Deploying Server-Side Database - Configuration Guide for LobeChat on Vercel
3
+ description: >-
4
+ Learn how to deploy the server-side database version of LobeChat on Vercel,
5
+ including database configuration, identity authentication service setup, and
6
+ S3 storage service configuration.
7
+ tags:
8
+ - Server-Side Database
9
+ - Vercel Deployment
10
+ - Postgres Database
11
+ - Identity Authentication
12
+ - S3 Storage Service
13
+ - Configuration Guide
14
+ ---
1
15
  # Deploying Server-Side Database
2
16
 
3
17
  LobeChat defaults to using a client-side database (IndexedDB) but also supports using a server-side database. LobeChat uses Postgres as the backend storage database. PostgreSQL is a powerful open-source relational database management system with high scalability and standard SQL support. It provides rich data types, concurrency control, data integrity, security, and programmability, making it suitable for complex applications and large-scale data management.
@@ -1,3 +1,16 @@
1
+ ---
2
+ title: 使用服务端数据库部署 - 配置 Postgres、Clerk 和 S3 存储服务
3
+ description: 本文详细介绍如何在 Vercel 中部署服务端数据库版 LobeChat,包括数据库配置、身份验证服务配置和 S3 存储服务的设置步骤。
4
+ tags:
5
+ - 服务端数据库
6
+ - Postgres
7
+ - Clerk
8
+ - S3存储服务
9
+ - Vercel部署
10
+ - 数据库配置
11
+ - 身份验证服务
12
+ - 环境变量配置
13
+ ---
1
14
  # 使用服务端数据库部署
2
15
 
3
16
  LobeChat 默认使用客户端数据库(IndexedDB),同时也支持使用服务端数据库。LobeChat 采用了 Postgres 作为后端存储数据库。PostgreSQL是一种强大的开源关系型数据库管理系统,具备高度扩展性和标准SQL支持。它提供了丰富的数据类型、并发处理、数据完整性、安全性及可编程性,适用于复杂应用和大规模数据管理。
@@ -1,3 +1,17 @@
1
+ ---
2
+ title: Share Settings via URL - Import and Export Configuration Settings
3
+ description: >-
4
+ Learn how to import and export configuration settings for LobeChat via URL.
5
+ Understand the supported settings, URL format, and parameter schema for
6
+ keyVaults and languageModel.
7
+ tags:
8
+ - Share Settings
9
+ - URL Import
10
+ - URL Export
11
+ - Configuration Settings
12
+ - LobeChat
13
+ - Parameter Schema
14
+ ---
1
15
  # Share settings via URL
2
16
 
3
17
  LobeChat support import settings from external URL to quickly set up LobeChat configuration.
@@ -1,3 +1,16 @@
1
+ ---
2
+ title: URL 分享设置参数 - LobeChat 配置快速设置
3
+ description: 了解如何从外部 URL 导入和导出 LobeChat 的设置参数,包括 keyVaults 和 languageModel,以及参数格式和类型。
4
+ tags:
5
+ - URL 分享
6
+ - 设置参数
7
+ - LobeChat
8
+ - keyVaults
9
+ - languageModel
10
+ - JSON 格式
11
+ - URL 导入
12
+ - URL 导出
13
+ ---
1
14
  # URL 分享设置参数
2
15
 
3
16
  LobeChat 支持从外部 URL 导入设置参数,以便于快速设置 LobeChat 的配置。
@@ -1,3 +1,19 @@
1
+ ---
2
+ title: Support Multi-User Management - Identity Verification Solutions
3
+ description: >-
4
+ Explore LobeChat's user authentication solutions with next-auth and Clerk for
5
+ flexible and secure user management. Learn about features like user
6
+ registration, session management, multi-factor authentication, and more.
7
+ tags:
8
+ - Multi-User Management
9
+ - Identity Verification
10
+ - next-auth
11
+ - Clerk
12
+ - User Authentication
13
+ - Session Management
14
+ - Multi-Factor Authentication
15
+ - User Management
16
+ ---
1
17
  # Support Multi-User Management
2
18
 
3
19
  <Image
@@ -35,7 +51,7 @@ For users requiring advanced user management features, LobeChat also supports [C
35
51
  - **Scalability**: Supports complex user management requirements.
36
52
 
37
53
  <Callout type={'info'}>
38
- For information on using Clerk, you can refer to [Authentication Services - Clerk](/docs/self-hosting/advanced/authentication#clerk).
54
+ For information on using Clerk, you can refer to [Authentication Services - Clerk](/docs/self-hosting/advanced/authentication#clerk) .
39
55
  </Callout>
40
56
 
41
57
  <Callout type={'tip'}>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
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",
@@ -102,7 +102,7 @@
102
102
  "@clerk/localizations": "2.0.0",
103
103
  "@clerk/nextjs": "^5.1.2",
104
104
  "@clerk/themes": "^2.1.7",
105
- "@google/generative-ai": "^0.11.4",
105
+ "@google/generative-ai": "^0.13.0",
106
106
  "@icons-pack/react-simple-icons": "^9.5.0",
107
107
  "@khmyznikov/pwa-install": "^0.3.9",
108
108
  "@lobehub/chat-plugin-sdk": "^1.32.3",
@@ -6,7 +6,7 @@ const DEFAULT_S3_FILE_PATH = 'files';
6
6
  export const getFileConfig = () => {
7
7
  return createEnv({
8
8
  client: {
9
- NEXT_PUBLIC_S3_DOMAIN: z.string().optional(),
9
+ NEXT_PUBLIC_S3_DOMAIN: z.string().url().optional(),
10
10
  NEXT_PUBLIC_S3_FILE_PATH: z.string().optional(),
11
11
  },
12
12
  runtimeEnv: {
@@ -23,7 +23,7 @@ export const getFileConfig = () => {
23
23
  // S3
24
24
  S3_ACCESS_KEY_ID: z.string().optional(),
25
25
  S3_BUCKET: z.string().optional(),
26
- S3_ENDPOINT: z.string().optional(),
26
+ S3_ENDPOINT: z.string().url().optional(),
27
27
 
28
28
  S3_REGION: z.string().optional(),
29
29
  S3_SECRET_ACCESS_KEY: z.string().optional(),
@@ -11,10 +11,10 @@ const DeepSeek: ModelProviderCard = {
11
11
  },
12
12
  {
13
13
  description: '擅长编程场景',
14
- displayName: 'DeepSeek-coder',
14
+ displayName: 'DeepSeek-coder-V2',
15
15
  enabled: true,
16
16
  id: 'deepseek-coder',
17
- tokens: 16_384,
17
+ tokens: 32_768,
18
18
  },
19
19
  ],
20
20
  checkModel: 'deepseek-chat',