@lobehub/chat 1.65.0 → 1.65.2
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 +51 -0
- package/changelog/v1.json +18 -0
- package/docker-compose/local/docker-compose.yml +14 -0
- package/docker-compose/local/searxng-settings.yml +2582 -0
- package/docker-compose/setup.sh +3 -1
- package/docs/self-hosting/advanced/model-list.mdx +4 -2
- package/docs/self-hosting/advanced/model-list.zh-CN.mdx +4 -2
- package/package.json +7 -7
- package/src/app/(backend)/middleware/auth/index.ts +6 -0
- package/src/config/aiModels/google.ts +3 -3
- package/src/config/aiModels/groq.ts +10 -0
- package/src/config/aiModels/qwen.ts +43 -26
- package/src/const/message.ts +3 -0
- package/src/features/Conversation/Messages/Assistant/Tool/Render/CustomRender.tsx +7 -7
- package/src/features/MobileSwitchLoading/index.tsx +0 -1
- package/src/libs/agent-runtime/google/index.test.ts +8 -0
- package/src/libs/agent-runtime/google/index.ts +18 -5
- package/src/libs/agent-runtime/types/chat.ts +9 -1
- package/src/libs/agent-runtime/utils/anthropicHelpers.test.ts +113 -0
- package/src/libs/agent-runtime/utils/anthropicHelpers.ts +7 -4
- package/src/libs/agent-runtime/utils/streams/anthropic.test.ts +339 -94
- package/src/libs/agent-runtime/utils/streams/anthropic.ts +54 -34
- package/src/libs/agent-runtime/utils/streams/openai.test.ts +181 -0
- package/src/libs/agent-runtime/utils/streams/openai.ts +40 -30
- package/src/libs/agent-runtime/utils/streams/protocol.ts +4 -0
- package/src/services/__tests__/chat.test.ts +89 -50
- package/src/services/chat.ts +13 -1
- package/src/store/chat/slices/aiChat/actions/generateAIChat.ts +1 -1
- package/src/types/message/base.ts +1 -0
- package/src/utils/fetch/__tests__/fetchSSE.test.ts +113 -10
- package/src/utils/fetch/fetchSSE.ts +12 -3
- package/src/utils/parseModels.test.ts +14 -0
- package/src/utils/parseModels.ts +4 -0
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,57 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.65.2](https://github.com/lobehub/lobe-chat/compare/v1.65.1...v1.65.2)
|
6
|
+
|
7
|
+
<sup>Released on **2025-02-27**</sup>
|
8
|
+
|
9
|
+
#### 💄 Styles
|
10
|
+
|
11
|
+
- **misc**: Support parsing the search flag when parsing the model list, Update Gemini & Qwen models.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### Styles
|
19
|
+
|
20
|
+
- **misc**: Support parsing the search flag when parsing the model list, closes [#6546](https://github.com/lobehub/lobe-chat/issues/6546) ([8c768ed](https://github.com/lobehub/lobe-chat/commit/8c768ed))
|
21
|
+
- **misc**: Update Gemini & Qwen models, closes [#6531](https://github.com/lobehub/lobe-chat/issues/6531) ([efde928](https://github.com/lobehub/lobe-chat/commit/efde928))
|
22
|
+
|
23
|
+
</details>
|
24
|
+
|
25
|
+
<div align="right">
|
26
|
+
|
27
|
+
[](#readme-top)
|
28
|
+
|
29
|
+
</div>
|
30
|
+
|
31
|
+
### [Version 1.65.1](https://github.com/lobehub/lobe-chat/compare/v1.65.0...v1.65.1)
|
32
|
+
|
33
|
+
<sup>Released on **2025-02-26**</sup>
|
34
|
+
|
35
|
+
#### 🐛 Bug Fixes
|
36
|
+
|
37
|
+
- **misc**: Fix claude 3.7 sonnet thinking with tool use.
|
38
|
+
|
39
|
+
<br/>
|
40
|
+
|
41
|
+
<details>
|
42
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
43
|
+
|
44
|
+
#### What's fixed
|
45
|
+
|
46
|
+
- **misc**: Fix claude 3.7 sonnet thinking with tool use, closes [#6528](https://github.com/lobehub/lobe-chat/issues/6528) ([a76d2bf](https://github.com/lobehub/lobe-chat/commit/a76d2bf))
|
47
|
+
|
48
|
+
</details>
|
49
|
+
|
50
|
+
<div align="right">
|
51
|
+
|
52
|
+
[](#readme-top)
|
53
|
+
|
54
|
+
</div>
|
55
|
+
|
5
56
|
## [Version 1.65.0](https://github.com/lobehub/lobe-chat/compare/v1.64.3...v1.65.0)
|
6
57
|
|
7
58
|
<sup>Released on **2025-02-25**</sup>
|
package/changelog/v1.json
CHANGED
@@ -1,4 +1,22 @@
|
|
1
1
|
[
|
2
|
+
{
|
3
|
+
"children": {
|
4
|
+
"improvements": [
|
5
|
+
"Support parsing the search flag when parsing the model list, Update Gemini & Qwen models."
|
6
|
+
]
|
7
|
+
},
|
8
|
+
"date": "2025-02-27",
|
9
|
+
"version": "1.65.2"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"children": {
|
13
|
+
"fixes": [
|
14
|
+
"Fix claude 3.7 sonnet thinking with tool use."
|
15
|
+
]
|
16
|
+
},
|
17
|
+
"date": "2025-02-26",
|
18
|
+
"version": "1.65.1"
|
19
|
+
},
|
2
20
|
{
|
3
21
|
"children": {
|
4
22
|
"features": [
|
@@ -76,6 +76,19 @@ services:
|
|
76
76
|
env_file:
|
77
77
|
- .env
|
78
78
|
|
79
|
+
searxng:
|
80
|
+
image: searxng/searxng
|
81
|
+
container_name: lobe-searxng
|
82
|
+
volumes:
|
83
|
+
- './searxng-settings.yml:/etc/searxng/settings.yml'
|
84
|
+
environment:
|
85
|
+
- 'SEARXNG_SETTINGS_FILE=/etc/searxng/settings.yml'
|
86
|
+
restart: always
|
87
|
+
networks:
|
88
|
+
- lobe-network
|
89
|
+
env_file:
|
90
|
+
- .env
|
91
|
+
|
79
92
|
lobe:
|
80
93
|
image: lobehub/lobe-chat-database
|
81
94
|
container_name: lobe-chat
|
@@ -102,6 +115,7 @@ services:
|
|
102
115
|
- 'S3_SECRET_ACCESS_KEY=${MINIO_ROOT_PASSWORD}'
|
103
116
|
- 'LLM_VISION_IMAGE_USE_BASE64=1'
|
104
117
|
- 'S3_SET_ACL=0'
|
118
|
+
- 'SEARXNG_URL=http://searxng:8080'
|
105
119
|
env_file:
|
106
120
|
- .env
|
107
121
|
restart: always
|