@lobehub/chat 1.1.3 → 1.1.5
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 +50 -0
- package/README.md +8 -8
- package/README.zh-CN.md +8 -8
- package/docs/self-hosting/advanced/model-list.mdx +1 -1
- package/docs/self-hosting/advanced/server-database.mdx +2 -0
- package/docs/self-hosting/advanced/server-database.zh-CN.mdx +2 -0
- package/docs/usage/tools-calling/anthropic.mdx +1 -0
- package/docs/usage/tools-calling/anthropic.zh-CN.mdx +23 -0
- package/docs/usage/tools-calling/google.mdx +1 -0
- package/docs/usage/tools-calling/google.zh-CN.mdx +13 -0
- package/docs/usage/tools-calling/groq.mdx +1 -0
- package/docs/usage/tools-calling/groq.zh-CN.mdx +15 -0
- package/docs/usage/tools-calling/openai.mdx +1 -0
- package/docs/usage/tools-calling/openai.zh-CN.mdx +831 -0
- package/docs/usage/tools-calling.mdx +3 -0
- package/docs/usage/tools-calling.zh-CN.mdx +241 -0
- package/package.json +4 -4
- package/src/config/__tests__/analytics.test.ts +0 -23
- package/src/config/analytics.ts +9 -95
- package/src/config/auth.ts +3 -23
- package/src/config/llm.ts +3 -42
- package/src/database/server/models/user.ts +7 -1
- package/src/libs/agent-runtime/utils/debugStream.ts +1 -1
- package/src/server/routers/edge/config/index.test.ts +0 -14
- package/src/server/routers/lambda/user.ts +35 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,56 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 1.1.5](https://github.com/lobehub/lobe-chat/compare/v1.1.4...v1.1.5)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-06-23**</sup>
|
|
8
|
+
|
|
9
|
+
#### ♻ Code Refactoring
|
|
10
|
+
|
|
11
|
+
- **misc**: Remove deprecated env.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### Code refactoring
|
|
19
|
+
|
|
20
|
+
- **misc**: Remove deprecated env, closes [#2983](https://github.com/lobehub/lobe-chat/issues/2983) ([15a681f](https://github.com/lobehub/lobe-chat/commit/15a681f))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
### [Version 1.1.4](https://github.com/lobehub/lobe-chat/compare/v1.1.3...v1.1.4)
|
|
31
|
+
|
|
32
|
+
<sup>Released on **2024-06-22**</sup>
|
|
33
|
+
|
|
34
|
+
#### 🐛 Bug Fixes
|
|
35
|
+
|
|
36
|
+
- **misc**: Create first-time user on server db.
|
|
37
|
+
|
|
38
|
+
<br/>
|
|
39
|
+
|
|
40
|
+
<details>
|
|
41
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
42
|
+
|
|
43
|
+
#### What's fixed
|
|
44
|
+
|
|
45
|
+
- **misc**: Create first-time user on server db, closes [#2977](https://github.com/lobehub/lobe-chat/issues/2977) ([6f53f35](https://github.com/lobehub/lobe-chat/commit/6f53f35))
|
|
46
|
+
|
|
47
|
+
</details>
|
|
48
|
+
|
|
49
|
+
<div align="right">
|
|
50
|
+
|
|
51
|
+
[](#readme-top)
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
|
|
5
55
|
### [Version 1.1.3](https://github.com/lobehub/lobe-chat/compare/v1.1.2...v1.1.3)
|
|
6
56
|
|
|
7
57
|
<sup>Released on **2024-06-21**</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>**
|
|
236
|
+
> 📊 Total plugins: [<kbd>**52**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
|
|
237
237
|
|
|
238
238
|
<!-- PLUGIN LIST -->
|
|
239
239
|
|
|
@@ -265,14 +265,14 @@ Our marketplace is not just a showcase platform but also a collaborative space.
|
|
|
265
265
|
|
|
266
266
|
<!-- AGENT LIST -->
|
|
267
267
|
|
|
268
|
-
| Recent Submits
|
|
269
|
-
|
|
|
270
|
-
| [Fastapi Project Development Assistant](https://chat-preview.lobehub.com/market?agent=fastapi-development)<br/><sup>By **[xwxw098](https://github.com/xwxw098)** on **2024-06-19**</sup>
|
|
271
|
-
| [
|
|
272
|
-
| [
|
|
273
|
-
| [
|
|
268
|
+
| Recent Submits | Description |
|
|
269
|
+
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
270
|
+
| [Fastapi Project Development Assistant](https://chat-preview.lobehub.com/market?agent=fastapi-development)<br/><sup>By **[xwxw098](https://github.com/xwxw098)** on **2024-06-19**</sup> | Proficient in Python modular development, skilled in using FastAPI, PostgreSQL, Tortoise-ORM, and other technologies, able to provide clear code structure and detailed comments for large projects.<br/>`fast-api` `python` `modular-development` |
|
|
271
|
+
| [IT Systems Architect](https://chat-preview.lobehub.com/market?agent=it-system-architect)<br/><sup>By **[a562314](https://github.com/a562314)** on **2024-06-19**</sup> | Senior IT architect specializing in requirements analysis, system design, technology selection, and cross-platform system optimization. With over 5 years of experience, proficient in Windows, macOS, and Linux operating systems, skilled in troubleshooting, and security protection.<br/>`it-architecture-design` `problem-solving` `agile-development` `system-optimization` `cross-platform-skills` `teamwork` |
|
|
272
|
+
| [Linux Kernel Expert](https://chat-preview.lobehub.com/market?agent=linux-kernel)<br/><sup>By **[wming126](https://github.com/wming126)** on **2024-06-19**</sup> | Role Description: I am an expert in Linux kernel, with a deep understanding and analytical ability of the latest kernel source code (as of June 2024). I can provide users with detailed and accurate information about the Linux kernel.<br/>`linux` `kernel` |
|
|
273
|
+
| [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` |
|
|
274
274
|
|
|
275
|
-
> 📊 Total agents: [<kbd>**
|
|
275
|
+
> 📊 Total agents: [<kbd>**292**</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>**
|
|
228
|
+
> 📊 Total plugins: [<kbd>**52**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
|
|
229
229
|
|
|
230
230
|
<!-- PLUGIN LIST -->
|
|
231
231
|
|
|
@@ -253,14 +253,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
|
|
|
253
253
|
|
|
254
254
|
<!-- AGENT LIST -->
|
|
255
255
|
|
|
256
|
-
| 最近新增 | 助手说明
|
|
257
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
258
|
-
| [Fastapi 项目开发助手](https://chat-preview.lobehub.com/market?agent=fastapi-development)<br/><sup>By **[xwxw098](https://github.com/xwxw098)** on **2024-06-19**</sup> | 擅长 Python 模块化开发,熟练运用 FastAPI、PostgreSQL、Tortoise-ORM 等技术栈,能为大型项目提供清晰的代码结构并添加详细注释。<br/>`fast-api` `python` `模块化开发`
|
|
259
|
-
| [
|
|
260
|
-
| [
|
|
261
|
-
| [
|
|
256
|
+
| 最近新增 | 助手说明 |
|
|
257
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
258
|
+
| [Fastapi 项目开发助手](https://chat-preview.lobehub.com/market?agent=fastapi-development)<br/><sup>By **[xwxw098](https://github.com/xwxw098)** on **2024-06-19**</sup> | 擅长 Python 模块化开发,熟练运用 FastAPI、PostgreSQL、Tortoise-ORM 等技术栈,能为大型项目提供清晰的代码结构并添加详细注释。<br/>`fast-api` `python` `模块化开发` |
|
|
259
|
+
| [IT 系统架构师](https://chat-preview.lobehub.com/market?agent=it-system-architect)<br/><sup>By **[a562314](https://github.com/a562314)** on **2024-06-19**</sup> | 资深 IT 架构师,擅长需求分析、系统设计、技术选型和跨平台系统优化。5 年以上经验,精通 Windows、macOS 和 Linux 三大操作系统,具备故障排除和安全防护能力<br/>`it架构设计` `问题解决` `敏捷开发` `系统优化` `跨平台技能` |
|
|
260
|
+
| [Linux 内核专家](https://chat-preview.lobehub.com/market?agent=linux-kernel)<br/><sup>By **[wming126](https://github.com/wming126)** on **2024-06-19**</sup> | 角色描述: 我是一位精通 Linux 内核的专家,对最新内核源代码(截至 2024 年 6 月)有着深入的理解和分析能力。我可以为用户提供关于 Linux 内核的详细、准确的信息。<br/>`linux` `kernel` |
|
|
261
|
+
| [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/>`深度学习` `图像生成` `算法` `提示符` |
|
|
262
262
|
|
|
263
|
-
> 📊 Total agents: [<kbd>**
|
|
263
|
+
> 📊 Total agents: [<kbd>**292**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
264
264
|
|
|
265
265
|
<!-- AGENT LIST -->
|
|
266
266
|
|
|
@@ -12,7 +12,7 @@ tags:
|
|
|
12
12
|
|
|
13
13
|
# Model List
|
|
14
14
|
|
|
15
|
-
LobeChat supports customizing the model list during deployment. You can use `+` to add a model, `-` to hide a model, and use `model name=display name<extension configuration>` to customize the display name of a model, separated by English commas. The basic syntax is as follows:
|
|
15
|
+
LobeChat supports customizing the model list during deployment. This configuration is done in the environment for each [model provider](/docs/self-hosting/environment-variables/model-provider). You can use `+` to add a model, `-` to hide a model, and use `model name=display name<extension configuration>` to customize the display name of a model, separated by English commas. The basic syntax is as follows:
|
|
16
16
|
|
|
17
17
|
```text
|
|
18
18
|
id=displayName<maxToken:vision:fc:file>,model2,model3
|
|
@@ -24,6 +24,8 @@ This article will detail how to deploy the server-side database version of LobeC
|
|
|
24
24
|
version is supported, with Docker version support planned for future iterations.
|
|
25
25
|
</Callout>
|
|
26
26
|
|
|
27
|
+
<Callout type={'warning'}>Before deploying the server, please export your backup!</Callout>
|
|
28
|
+
|
|
27
29
|
## 1. Configure the Database
|
|
28
30
|
|
|
29
31
|
<Steps>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
TODO
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Anthropic Claude 系列 Tool Calling
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Anthropic Claude 系列 Tool Calling
|
|
6
|
+
|
|
7
|
+
## Claude 3.5 Sonnet
|
|
8
|
+
|
|
9
|
+
### 简单调用指令:天气查询
|
|
10
|
+
|
|
11
|
+
TODO
|
|
12
|
+
|
|
13
|
+
## Claude 3 Opus
|
|
14
|
+
|
|
15
|
+
TODO
|
|
16
|
+
|
|
17
|
+
## Claude 3 Sonnet
|
|
18
|
+
|
|
19
|
+
TODO
|
|
20
|
+
|
|
21
|
+
## Claude 3 Haiku
|
|
22
|
+
|
|
23
|
+
TODO
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
TODO
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
TODO
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
TODO
|