@lobehub/chat 1.1.7 → 1.1.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 +60 -0
- package/README.md +8 -8
- package/README.zh-CN.md +8 -8
- package/docs/usage/providers/01ai.mdx +1 -1
- package/docs/usage/providers/01ai.zh-CN.mdx +1 -1
- package/docs/usage/providers/anthropic.mdx +1 -1
- package/docs/usage/providers/anthropic.zh-CN.mdx +1 -1
- package/docs/usage/providers/azure.mdx +1 -1
- package/docs/usage/providers/azure.zh-CN.mdx +1 -1
- package/docs/usage/providers/bedrock.mdx +1 -1
- package/docs/usage/providers/bedrock.zh-CN.mdx +1 -1
- package/docs/usage/providers/deepseek.mdx +1 -1
- package/docs/usage/providers/deepseek.zh-CN.mdx +1 -1
- package/docs/usage/providers/gemini.mdx +1 -1
- package/docs/usage/providers/gemini.zh-CN.mdx +1 -1
- package/docs/usage/providers/groq.mdx +1 -1
- package/docs/usage/providers/groq.zh-CN.mdx +1 -1
- package/docs/usage/providers/minimax.mdx +1 -1
- package/docs/usage/providers/minimax.zh-CN.mdx +1 -1
- package/docs/usage/providers/mistral.mdx +1 -1
- package/docs/usage/providers/mistral.zh-CN.mdx +1 -1
- package/docs/usage/providers/moonshot.mdx +1 -1
- package/docs/usage/providers/moonshot.zh-CN.mdx +1 -1
- package/docs/usage/providers/openai.mdx +1 -1
- package/docs/usage/providers/openai.zh-CN.mdx +1 -1
- package/docs/usage/providers/openrouter.mdx +1 -1
- package/docs/usage/providers/openrouter.zh-CN.mdx +2 -2
- package/docs/usage/providers/perplexity.mdx +1 -1
- package/docs/usage/providers/perplexity.zh-CN.mdx +1 -1
- package/docs/usage/providers/qwen.mdx +1 -1
- package/docs/usage/providers/qwen.zh-CN.mdx +1 -1
- package/docs/usage/providers/stepfun.mdx +1 -1
- package/docs/usage/providers/stepfun.zh-CN.mdx +2 -2
- package/docs/usage/providers/togetherai.mdx +1 -1
- package/docs/usage/providers/togetherai.zh-CN.mdx +2 -2
- package/docs/usage/providers/zhipu.mdx +1 -1
- package/docs/usage/providers/zhipu.zh-CN.mdx +2 -2
- package/docs/usage/tools-calling/anthropic.zh-CN.mdx +935 -2
- package/docs/usage/tools-calling/openai.zh-CN.mdx +4 -2
- package/docs/usage/tools-calling.zh-CN.mdx +15 -1
- package/package.json +2 -2
- package/src/app/(main)/chat/@session/features/SessionListContent/ListItem/index.tsx +1 -1
- package/src/app/(main)/settings/llm/components/Checker.tsx +3 -1
- package/src/database/server/models/session.ts +1 -0
- package/src/libs/agent-runtime/utils/anthropicHelpers.test.ts +104 -0
- package/src/libs/agent-runtime/utils/anthropicHelpers.ts +28 -7
- package/src/libs/agent-runtime/utils/streams/anthropic.test.ts +156 -0
- package/src/libs/agent-runtime/utils/streams/anthropic.ts +12 -3
- package/src/libs/agent-runtime/utils/streams/protocol.ts +1 -0
- package/src/server/routers/edge/config/__snapshots__/index.test.ts.snap +0 -22
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,66 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 1.1.9](https://github.com/lobehub/lobe-chat/compare/v1.1.8...v1.1.9)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-06-24**</sup>
|
|
8
|
+
|
|
9
|
+
#### 🐛 Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **misc**: Fix agent tags.
|
|
12
|
+
|
|
13
|
+
#### 💄 Styles
|
|
14
|
+
|
|
15
|
+
- **ui**: Fixed incorrect text display on connect check.
|
|
16
|
+
- **misc**: Always show action on mobile.
|
|
17
|
+
|
|
18
|
+
<br/>
|
|
19
|
+
|
|
20
|
+
<details>
|
|
21
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
22
|
+
|
|
23
|
+
#### What's fixed
|
|
24
|
+
|
|
25
|
+
- **misc**: Fix agent tags, closes [#3015](https://github.com/lobehub/lobe-chat/issues/3015) ([01e965b](https://github.com/lobehub/lobe-chat/commit/01e965b))
|
|
26
|
+
|
|
27
|
+
#### Styles
|
|
28
|
+
|
|
29
|
+
- **ui**: Fixed incorrect text display on connect check, closes [#2994](https://github.com/lobehub/lobe-chat/issues/2994) ([5160f23](https://github.com/lobehub/lobe-chat/commit/5160f23))
|
|
30
|
+
- **misc**: Always show action on mobile, closes [#1863](https://github.com/lobehub/lobe-chat/issues/1863) ([f40292e](https://github.com/lobehub/lobe-chat/commit/f40292e))
|
|
31
|
+
|
|
32
|
+
</details>
|
|
33
|
+
|
|
34
|
+
<div align="right">
|
|
35
|
+
|
|
36
|
+
[](#readme-top)
|
|
37
|
+
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
### [Version 1.1.8](https://github.com/lobehub/lobe-chat/compare/v1.1.7...v1.1.8)
|
|
41
|
+
|
|
42
|
+
<sup>Released on **2024-06-24**</sup>
|
|
43
|
+
|
|
44
|
+
#### 🐛 Bug Fixes
|
|
45
|
+
|
|
46
|
+
- **misc**: Fix anthropic parallel tools calling.
|
|
47
|
+
|
|
48
|
+
<br/>
|
|
49
|
+
|
|
50
|
+
<details>
|
|
51
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
52
|
+
|
|
53
|
+
#### What's fixed
|
|
54
|
+
|
|
55
|
+
- **misc**: Fix anthropic parallel tools calling, closes [#3010](https://github.com/lobehub/lobe-chat/issues/3010) ([1d891ac](https://github.com/lobehub/lobe-chat/commit/1d891ac))
|
|
56
|
+
|
|
57
|
+
</details>
|
|
58
|
+
|
|
59
|
+
<div align="right">
|
|
60
|
+
|
|
61
|
+
[](#readme-top)
|
|
62
|
+
|
|
63
|
+
</div>
|
|
64
|
+
|
|
5
65
|
### [Version 1.1.7](https://github.com/lobehub/lobe-chat/compare/v1.1.6...v1.1.7)
|
|
6
66
|
|
|
7
67
|
<sup>Released on **2024-06-24**</sup>
|
package/README.md
CHANGED
|
@@ -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
|
-
| [
|
|
271
|
-
| [
|
|
272
|
-
| [
|
|
273
|
-
| [
|
|
274
|
-
|
|
275
|
-
> 📊 Total agents: [<kbd>**
|
|
268
|
+
| Recent Submits | Description |
|
|
269
|
+
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
270
|
+
| [AOSP Source Code Expert](https://chat-preview.lobehub.com/market?agent=aosp-development)<br/><sup>By **[viruscoding](https://github.com/viruscoding)** on **2024-06-24**</sup> | An expert in AOSP (Android Open Source Project) for Android, with a deep understanding and analytical ability of the latest AOSP source code.<br/>`aosp` |
|
|
271
|
+
| [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` |
|
|
272
|
+
| [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` |
|
|
273
|
+
| [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` |
|
|
274
|
+
|
|
275
|
+
> 📊 Total agents: [<kbd>**293**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
276
276
|
|
|
277
277
|
<!-- AGENT LIST -->
|
|
278
278
|
|
package/README.zh-CN.md
CHANGED
|
@@ -253,14 +253,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
|
|
|
253
253
|
|
|
254
254
|
<!-- AGENT LIST -->
|
|
255
255
|
|
|
256
|
-
| 最近新增
|
|
257
|
-
|
|
|
258
|
-
| [
|
|
259
|
-
| [
|
|
260
|
-
| [
|
|
261
|
-
| [
|
|
262
|
-
|
|
263
|
-
> 📊 Total agents: [<kbd>**
|
|
256
|
+
| 最近新增 | 助手说明 |
|
|
257
|
+
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
258
|
+
| [AOSP 源码专家](https://chat-preview.lobehub.com/market?agent=aosp-development)<br/><sup>By **[viruscoding](https://github.com/viruscoding)** on **2024-06-24**</sup> | 一位精通 AOSP(Android Open Source Project)安卓的专家,对最新 AOSP 源代码有着深入的理解和分析能力。<br/>`aosp` |
|
|
259
|
+
| [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` `模块化开发` |
|
|
260
|
+
| [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架构设计` `问题解决` `敏捷开发` `系统优化` `跨平台技能` |
|
|
261
|
+
| [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` |
|
|
262
|
+
|
|
263
|
+
> 📊 Total agents: [<kbd>**293**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
264
264
|
|
|
265
265
|
<!-- AGENT LIST -->
|
|
266
266
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: Using Anthropic Claude in LobeChat
|
|
2
|
+
title: Using Anthropic Claude API Key in LobeChat
|
|
3
3
|
description: >-
|
|
4
4
|
Learn how to integrate Anthropic Claude API in LobeChat to enhance your AI
|
|
5
5
|
assistant capabilities. Support Claude 3.5 sonnet / Claude 3 Opus / Claude 3
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: Using Azure OpenAI in LobeChat
|
|
2
|
+
title: Using Azure OpenAI API Key in LobeChat
|
|
3
3
|
description: >-
|
|
4
4
|
Learn how to integrate and configure Azure OpenAI in LobeChat to enhance your
|
|
5
5
|
AI assistant capabilities. Follow these steps to obtain the API key, configure
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: 在 LobeChat 中使用 OpenRouter
|
|
3
|
-
description: 学习如何在 LobeChat 中注册、创建 API
|
|
2
|
+
title: 在 LobeChat 中使用 OpenRouter API Key
|
|
3
|
+
description: 学习如何在 LobeChat 中注册、创建 API Key、充值信用额度并配置 OpenRouter,以便开始使用多种优秀大语言模型 API。
|
|
4
4
|
tags:
|
|
5
5
|
- OpenRouter
|
|
6
6
|
- API Key
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: 在 LobeChat 中使用 Stepfun
|
|
3
|
-
description: 学习如何在 LobeChat 中配置和使用 Stepfun 阶跃星辰的人工智能模型,包括获取 API
|
|
2
|
+
title: 在 LobeChat 中使用 Stepfun 阶跃星辰 API Key
|
|
3
|
+
description: 学习如何在 LobeChat 中配置和使用 Stepfun 阶跃星辰的人工智能模型,包括获取 API Key 和选择模型开始对话。
|
|
4
4
|
tags:
|
|
5
5
|
- Stepfun 阶跃星辰
|
|
6
6
|
- API key
|