@lobehub/chat 1.133.2 → 1.133.4
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/.github/workflows/claude-translator.yml +2 -3
- package/.github/workflows/issue-auto-comments.yml +4 -9
- package/.github/workflows/issue-close-require.yml +3 -6
- package/CHANGELOG.md +66 -0
- package/changelog/v1.json +24 -0
- package/locales/ar/image.json +7 -0
- package/locales/ar/models.json +1 -1
- package/locales/bg-BG/image.json +7 -0
- package/locales/de-DE/image.json +7 -0
- package/locales/en-US/image.json +7 -0
- package/locales/es-ES/image.json +7 -0
- package/locales/es-ES/tool.json +1 -1
- package/locales/fa-IR/image.json +7 -0
- package/locales/fa-IR/models.json +1 -1
- package/locales/fr-FR/image.json +7 -0
- package/locales/fr-FR/models.json +1 -1
- package/locales/it-IT/image.json +7 -0
- package/locales/ja-JP/image.json +7 -0
- package/locales/ko-KR/image.json +7 -0
- package/locales/nl-NL/image.json +7 -0
- package/locales/pl-PL/image.json +7 -0
- package/locales/pt-BR/image.json +7 -0
- package/locales/ru-RU/image.json +7 -0
- package/locales/ru-RU/tool.json +1 -1
- package/locales/tr-TR/image.json +7 -0
- package/locales/tr-TR/models.json +1 -1
- package/locales/vi-VN/image.json +7 -0
- package/locales/zh-CN/image.json +7 -0
- package/locales/zh-TW/image.json +7 -0
- package/package.json +4 -5
- package/packages/const/package.json +4 -0
- package/packages/const/src/currency.ts +2 -0
- package/packages/const/src/index.ts +1 -0
- package/packages/model-bank/package.json +2 -1
- package/packages/model-bank/src/aiModels/aihubmix.ts +34 -1
- package/packages/model-bank/src/aiModels/anthropic.ts +3 -64
- package/packages/model-bank/src/aiModels/google.ts +6 -0
- package/packages/model-bank/src/aiModels/novita.ts +2 -2
- package/packages/model-bank/src/aiModels/openai.ts +6 -22
- package/packages/model-bank/src/aiModels/qwen.ts +21 -0
- package/packages/model-bank/src/aiModels/zhipu.ts +255 -62
- package/packages/model-bank/src/standard-parameters/index.ts +56 -46
- package/packages/model-runtime/package.json +1 -0
- package/packages/model-runtime/src/core/RouterRuntime/createRuntime.ts +4 -2
- package/packages/model-runtime/src/core/openaiCompatibleFactory/createImage.ts +12 -2
- package/packages/model-runtime/src/core/openaiCompatibleFactory/index.ts +16 -5
- package/packages/model-runtime/src/core/streams/anthropic.ts +25 -36
- package/packages/model-runtime/src/core/streams/google/google-ai.test.ts +1 -1
- package/packages/model-runtime/src/core/streams/google/index.ts +18 -42
- package/packages/model-runtime/src/core/streams/openai/openai.test.ts +7 -10
- package/packages/model-runtime/src/core/streams/openai/openai.ts +14 -11
- package/packages/model-runtime/src/core/streams/openai/responsesStream.ts +11 -5
- package/packages/model-runtime/src/core/streams/protocol.ts +25 -6
- package/packages/model-runtime/src/core/streams/qwen.ts +2 -2
- package/packages/model-runtime/src/core/streams/spark.ts +3 -3
- package/packages/model-runtime/src/core/streams/vertex-ai.test.ts +2 -2
- package/packages/model-runtime/src/core/streams/vertex-ai.ts +14 -23
- package/packages/model-runtime/src/core/usageConverters/anthropic.test.ts +99 -0
- package/packages/model-runtime/src/core/usageConverters/anthropic.ts +73 -0
- package/packages/model-runtime/src/core/usageConverters/google-ai.test.ts +88 -0
- package/packages/model-runtime/src/core/usageConverters/google-ai.ts +55 -0
- package/packages/model-runtime/src/core/usageConverters/index.ts +4 -0
- package/packages/model-runtime/src/core/usageConverters/openai.test.ts +429 -0
- package/packages/model-runtime/src/core/usageConverters/openai.ts +152 -0
- package/packages/model-runtime/src/core/usageConverters/utils/computeChatCost.test.ts +455 -0
- package/packages/model-runtime/src/core/usageConverters/utils/computeChatCost.ts +293 -0
- package/packages/model-runtime/src/core/usageConverters/utils/computeImageCost.test.ts +47 -0
- package/packages/model-runtime/src/core/usageConverters/utils/computeImageCost.ts +121 -0
- package/packages/model-runtime/src/core/usageConverters/utils/index.ts +11 -0
- package/packages/model-runtime/src/core/usageConverters/utils/withUsageCost.ts +19 -0
- package/packages/model-runtime/src/index.ts +2 -0
- package/packages/model-runtime/src/providers/anthropic/index.test.ts +0 -12
- package/packages/model-runtime/src/providers/anthropic/index.ts +48 -1
- package/packages/model-runtime/src/providers/google/createImage.ts +11 -2
- package/packages/model-runtime/src/providers/google/index.ts +8 -1
- package/packages/model-runtime/src/providers/novita/index.ts +2 -1
- package/packages/model-runtime/src/providers/novita/type.ts +4 -0
- package/packages/model-runtime/src/providers/ollamacloud/index.ts +1 -1
- package/packages/model-runtime/src/providers/openai/__snapshots__/index.test.ts.snap +7 -0
- package/packages/model-runtime/src/providers/openrouter/index.ts +11 -4
- package/packages/model-runtime/src/providers/zhipu/index.ts +3 -1
- package/packages/model-runtime/src/types/chat.ts +5 -3
- package/packages/model-runtime/src/types/image.ts +20 -9
- package/packages/model-runtime/src/utils/getModelPricing.ts +36 -0
- package/packages/obervability-otel/package.json +2 -2
- package/packages/ssrf-safe-fetch/index.test.ts +343 -0
- package/packages/ssrf-safe-fetch/index.ts +37 -0
- package/packages/ssrf-safe-fetch/package.json +17 -0
- package/packages/ssrf-safe-fetch/vitest.config.mts +10 -0
- package/packages/types/src/message/base.ts +43 -17
- package/packages/utils/package.json +0 -1
- package/packages/utils/src/client/apiKeyManager.test.ts +70 -0
- package/packages/utils/src/client/apiKeyManager.ts +41 -0
- package/packages/utils/src/client/index.ts +2 -0
- package/packages/utils/src/fetch/fetchSSE.ts +4 -4
- package/packages/utils/src/index.ts +1 -0
- package/packages/utils/src/toolManifest.ts +2 -1
- package/src/app/(backend)/webapi/proxy/route.ts +2 -13
- package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatMinimap/index.tsx +51 -23
- package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/components/QualitySelect.tsx +23 -0
- package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/index.tsx +9 -0
- package/src/config/modelProviders/anthropic.ts +0 -30
- package/src/config/modelProviders/ollamacloud.ts +1 -0
- package/src/config/modelProviders/zhipu.ts +4 -21
- package/src/features/Conversation/Extras/Usage/UsageDetail/tokens.test.ts +13 -13
- package/src/features/Conversation/Extras/Usage/UsageDetail/tokens.ts +1 -1
- package/src/features/Conversation/components/WideScreenContainer/index.tsx +3 -0
- package/src/locales/default/image.ts +7 -0
- package/src/server/modules/EdgeConfig/index.ts +1 -1
- package/src/server/routers/async/image.ts +9 -1
- package/src/services/_auth.ts +12 -12
- package/src/services/chat/contextEngineering.ts +2 -3
|
@@ -76,12 +76,11 @@ jobs:
|
|
|
76
76
|
|
|
77
77
|
- Title: English translation (if non-English)
|
|
78
78
|
- Content format:
|
|
79
|
-
> [!NOTE]
|
|
80
|
-
> This issue/comment/review was translated by Claude.
|
|
81
|
-
|
|
82
79
|
[Translated content]
|
|
83
80
|
|
|
84
81
|
---
|
|
82
|
+
> This issue/comment/review was translated by Claude.
|
|
83
|
+
|
|
85
84
|
<details>
|
|
86
85
|
<summary>Original Content</summary>
|
|
87
86
|
[Original content]
|
|
@@ -28,8 +28,7 @@ jobs:
|
|
|
28
28
|
👀 @{{ author }}
|
|
29
29
|
|
|
30
30
|
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
|
|
31
|
-
Please make sure you have given us as much context as possible
|
|
32
|
-
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
|
|
31
|
+
Please make sure you have given us as much context as possible.
|
|
33
32
|
- name: Auto Comment on Issues Closed
|
|
34
33
|
uses: wow-actions/auto-comment@v1
|
|
35
34
|
with:
|
|
@@ -37,8 +36,7 @@ jobs:
|
|
|
37
36
|
issuesClosed: |
|
|
38
37
|
✅ @{{ author }}
|
|
39
38
|
|
|
40
|
-
This issue is closed, If you have any questions, you can comment and reply
|
|
41
|
-
此问题已经关闭。如果您有任何问题,可以留言并回复。
|
|
39
|
+
This issue is closed, If you have any questions, you can comment and reply.
|
|
42
40
|
- name: Auto Comment on Pull Request Opened
|
|
43
41
|
uses: wow-actions/auto-comment@v1
|
|
44
42
|
with:
|
|
@@ -48,9 +46,7 @@ jobs:
|
|
|
48
46
|
|
|
49
47
|
Thank you for raising your pull request and contributing to our Community
|
|
50
48
|
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
|
|
51
|
-
If you encounter any problems, please feel free to connect with us
|
|
52
|
-
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
|
|
53
|
-
如果您遇到任何问题,请随时与我们联系。
|
|
49
|
+
If you encounter any problems, please feel free to connect with us.
|
|
54
50
|
- name: Auto Comment on Pull Request Merged
|
|
55
51
|
uses: actions-cool/pr-welcome@main
|
|
56
52
|
if: github.event.pull_request.merged == true
|
|
@@ -59,8 +55,7 @@ jobs:
|
|
|
59
55
|
comment: |
|
|
60
56
|
❤️ Great PR @${{ github.event.pull_request.user.login }} ❤️
|
|
61
57
|
|
|
62
|
-
The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our [discord](https://discord.com/invite/AYFPHvv2jT) and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world
|
|
63
|
-
项目的成长离不开用户反馈和贡献,感谢您的贡献! 如果您对 LobeHub 开发者社区感兴趣,请加入我们的 [discord](https://discord.com/invite/AYFPHvv2jT),然后私信 @arvinxx 或 @canisminor1990。他们会邀请您加入我们的私密开发者频道。我们将会讨论关于 Lobe Chat 的开发,分享和讨论全球范围内的 AI 消息。
|
|
58
|
+
The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our [discord](https://discord.com/invite/AYFPHvv2jT) and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world.
|
|
64
59
|
emoji: 'hooray'
|
|
65
60
|
pr-emoji: '+1, heart'
|
|
66
61
|
- name: Remove inactive
|
|
@@ -38,8 +38,7 @@ jobs:
|
|
|
38
38
|
body: |
|
|
39
39
|
👋 @{{ author }}
|
|
40
40
|
<br/>
|
|
41
|
-
Since the issue was labeled with `✅ Fixed`, but no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply
|
|
42
|
-
由于该 issue 被标记为已修复,同时 3 天未收到回应。现关闭 issue,若有任何问题,可评论回复。
|
|
41
|
+
Since the issue was labeled with `✅ Fixed`, but no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply.
|
|
43
42
|
- name: need reproduce
|
|
44
43
|
uses: actions-cool/issues-helper@v3
|
|
45
44
|
with:
|
|
@@ -50,8 +49,7 @@ jobs:
|
|
|
50
49
|
body: |
|
|
51
50
|
👋 @{{ author }}
|
|
52
51
|
<br/>
|
|
53
|
-
Since the issue was labeled with `🤔 Need Reproduce`, but no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply
|
|
54
|
-
由于该 issue 被标记为需要更多信息,却 3 天未收到回应。现关闭 issue,若有任何问题,可评论回复。
|
|
52
|
+
Since the issue was labeled with `🤔 Need Reproduce`, but no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply.
|
|
55
53
|
- name: need reproduce
|
|
56
54
|
uses: actions-cool/issues-helper@v3
|
|
57
55
|
with:
|
|
@@ -62,5 +60,4 @@ jobs:
|
|
|
62
60
|
body: |
|
|
63
61
|
👋 @{{ github.event.issue.user.login }}
|
|
64
62
|
<br/>
|
|
65
|
-
Since the issue was labeled with `🙅🏻♀️ WON'T DO`, and no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply
|
|
66
|
-
由于该 issue 被标记为暂不处理,同时 3 天未收到回应。现关闭 issue,若有任何问题,可评论回复。
|
|
63
|
+
Since the issue was labeled with `🙅🏻♀️ WON'T DO`, and no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply.
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,72 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 1.133.4](https://github.com/lobehub/lobe-chat/compare/v1.133.3...v1.133.4)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2025-10-01**</sup>
|
|
8
|
+
|
|
9
|
+
#### 🐛 Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **misc**: OllamaCloud error.
|
|
12
|
+
|
|
13
|
+
#### 💄 Styles
|
|
14
|
+
|
|
15
|
+
- **misc**: Fix chat minimap overflow.
|
|
16
|
+
|
|
17
|
+
<br/>
|
|
18
|
+
|
|
19
|
+
<details>
|
|
20
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
21
|
+
|
|
22
|
+
#### What's fixed
|
|
23
|
+
|
|
24
|
+
- **misc**: OllamaCloud error, closes [#9481](https://github.com/lobehub/lobe-chat/issues/9481) ([55c45a5](https://github.com/lobehub/lobe-chat/commit/55c45a5))
|
|
25
|
+
|
|
26
|
+
#### Styles
|
|
27
|
+
|
|
28
|
+
- **misc**: Fix chat minimap overflow, closes [#9507](https://github.com/lobehub/lobe-chat/issues/9507) ([d835c33](https://github.com/lobehub/lobe-chat/commit/d835c33))
|
|
29
|
+
|
|
30
|
+
</details>
|
|
31
|
+
|
|
32
|
+
<div align="right">
|
|
33
|
+
|
|
34
|
+
[](#readme-top)
|
|
35
|
+
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
### [Version 1.133.3](https://github.com/lobehub/lobe-chat/compare/v1.133.2...v1.133.3)
|
|
39
|
+
|
|
40
|
+
<sup>Released on **2025-10-01**</sup>
|
|
41
|
+
|
|
42
|
+
#### ♻ Code Refactoring
|
|
43
|
+
|
|
44
|
+
- **misc**: Refactor a `ssrf-safe-fetch` module.
|
|
45
|
+
|
|
46
|
+
#### 🐛 Bug Fixes
|
|
47
|
+
|
|
48
|
+
- **misc**: Fix frontend random API key config not work.
|
|
49
|
+
|
|
50
|
+
<br/>
|
|
51
|
+
|
|
52
|
+
<details>
|
|
53
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
54
|
+
|
|
55
|
+
#### Code refactoring
|
|
56
|
+
|
|
57
|
+
- **misc**: Refactor a `ssrf-safe-fetch` module, closes [#9474](https://github.com/lobehub/lobe-chat/issues/9474) ([92da716](https://github.com/lobehub/lobe-chat/commit/92da716))
|
|
58
|
+
|
|
59
|
+
#### What's fixed
|
|
60
|
+
|
|
61
|
+
- **misc**: Fix frontend random API key config not work, closes [#9477](https://github.com/lobehub/lobe-chat/issues/9477) [#9255](https://github.com/lobehub/lobe-chat/issues/9255) ([a194d48](https://github.com/lobehub/lobe-chat/commit/a194d48))
|
|
62
|
+
|
|
63
|
+
</details>
|
|
64
|
+
|
|
65
|
+
<div align="right">
|
|
66
|
+
|
|
67
|
+
[](#readme-top)
|
|
68
|
+
|
|
69
|
+
</div>
|
|
70
|
+
|
|
5
71
|
### [Version 1.133.2](https://github.com/lobehub/lobe-chat/compare/v1.133.1...v1.133.2)
|
|
6
72
|
|
|
7
73
|
<sup>Released on **2025-09-30**</sup>
|
package/changelog/v1.json
CHANGED
|
@@ -1,4 +1,28 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"children": {
|
|
4
|
+
"fixes": [
|
|
5
|
+
"OllamaCloud error."
|
|
6
|
+
],
|
|
7
|
+
"improvements": [
|
|
8
|
+
"Fix chat minimap overflow."
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"date": "2025-10-01",
|
|
12
|
+
"version": "1.133.4"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"children": {
|
|
16
|
+
"improvements": [
|
|
17
|
+
"Refactor a ssrf-safe-fetch module."
|
|
18
|
+
],
|
|
19
|
+
"fixes": [
|
|
20
|
+
"Fix frontend random API key config not work."
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"date": "2025-10-01",
|
|
24
|
+
"version": "1.133.3"
|
|
25
|
+
},
|
|
2
26
|
{
|
|
3
27
|
"children": {
|
|
4
28
|
"improvements": [
|
package/locales/ar/image.json
CHANGED
|
@@ -30,6 +30,13 @@
|
|
|
30
30
|
"prompt": {
|
|
31
31
|
"placeholder": "وصف المحتوى الذي ترغب في إنشائه"
|
|
32
32
|
},
|
|
33
|
+
"quality": {
|
|
34
|
+
"label": "جودة الصورة",
|
|
35
|
+
"options": {
|
|
36
|
+
"hd": "عالي الدقة",
|
|
37
|
+
"standard": "عادي"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
33
40
|
"seed": {
|
|
34
41
|
"label": "البذرة",
|
|
35
42
|
"random": "بذرة عشوائية"
|
package/locales/ar/models.json
CHANGED
package/locales/bg-BG/image.json
CHANGED
|
@@ -30,6 +30,13 @@
|
|
|
30
30
|
"prompt": {
|
|
31
31
|
"placeholder": "Опишете съдържанието, което искате да генерирате"
|
|
32
32
|
},
|
|
33
|
+
"quality": {
|
|
34
|
+
"label": "Качество на изображението",
|
|
35
|
+
"options": {
|
|
36
|
+
"hd": "Висока резолюция",
|
|
37
|
+
"standard": "Стандартно"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
33
40
|
"seed": {
|
|
34
41
|
"label": "Семена",
|
|
35
42
|
"random": "Случаен семенен код"
|
package/locales/de-DE/image.json
CHANGED
|
@@ -30,6 +30,13 @@
|
|
|
30
30
|
"prompt": {
|
|
31
31
|
"placeholder": "Beschreiben Sie den Inhalt, den Sie generieren möchten"
|
|
32
32
|
},
|
|
33
|
+
"quality": {
|
|
34
|
+
"label": "Bildqualität",
|
|
35
|
+
"options": {
|
|
36
|
+
"hd": "Hohe Auflösung",
|
|
37
|
+
"standard": "Standard"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
33
40
|
"seed": {
|
|
34
41
|
"label": "Seed",
|
|
35
42
|
"random": "Zufälliger Seed"
|
package/locales/en-US/image.json
CHANGED
|
@@ -30,6 +30,13 @@
|
|
|
30
30
|
"prompt": {
|
|
31
31
|
"placeholder": "Describe what you want to generate"
|
|
32
32
|
},
|
|
33
|
+
"quality": {
|
|
34
|
+
"label": "Image Quality",
|
|
35
|
+
"options": {
|
|
36
|
+
"hd": "High Definition",
|
|
37
|
+
"standard": "Standard"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
33
40
|
"seed": {
|
|
34
41
|
"label": "Seed",
|
|
35
42
|
"random": "Random Seed"
|
package/locales/es-ES/image.json
CHANGED
|
@@ -30,6 +30,13 @@
|
|
|
30
30
|
"prompt": {
|
|
31
31
|
"placeholder": "Describe el contenido que deseas generar"
|
|
32
32
|
},
|
|
33
|
+
"quality": {
|
|
34
|
+
"label": "Calidad de imagen",
|
|
35
|
+
"options": {
|
|
36
|
+
"hd": "Alta definición",
|
|
37
|
+
"standard": "Estándar"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
33
40
|
"seed": {
|
|
34
41
|
"label": "Semilla",
|
|
35
42
|
"random": "Semilla aleatoria"
|
package/locales/es-ES/tool.json
CHANGED
package/locales/fa-IR/image.json
CHANGED
|
@@ -30,6 +30,13 @@
|
|
|
30
30
|
"prompt": {
|
|
31
31
|
"placeholder": "توصیف محتوایی که میخواهید تولید شود"
|
|
32
32
|
},
|
|
33
|
+
"quality": {
|
|
34
|
+
"label": "کیفیت تصویر",
|
|
35
|
+
"options": {
|
|
36
|
+
"hd": "وضوح بالا",
|
|
37
|
+
"standard": "استاندارد"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
33
40
|
"seed": {
|
|
34
41
|
"label": "بذر",
|
|
35
42
|
"random": "بذر تصادفی"
|
package/locales/fr-FR/image.json
CHANGED
|
@@ -30,6 +30,13 @@
|
|
|
30
30
|
"prompt": {
|
|
31
31
|
"placeholder": "Décrivez ce que vous souhaitez générer"
|
|
32
32
|
},
|
|
33
|
+
"quality": {
|
|
34
|
+
"label": "Qualité de l'image",
|
|
35
|
+
"options": {
|
|
36
|
+
"hd": "Haute définition",
|
|
37
|
+
"standard": "Standard"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
33
40
|
"seed": {
|
|
34
41
|
"label": "Graine",
|
|
35
42
|
"random": "Graine aléatoire"
|
|
@@ -3149,4 +3149,4 @@
|
|
|
3149
3149
|
"zai/glm-4.5v": {
|
|
3150
3150
|
"description": "GLM-4.5V est construit sur le modèle de base GLM-4.5-Air, héritant des techniques éprouvées de GLM-4.1V-Thinking, tout en réalisant une mise à l'échelle efficace grâce à une puissante architecture MoE de 106 milliards de paramètres."
|
|
3151
3151
|
}
|
|
3152
|
-
}
|
|
3152
|
+
}
|
package/locales/it-IT/image.json
CHANGED
|
@@ -30,6 +30,13 @@
|
|
|
30
30
|
"prompt": {
|
|
31
31
|
"placeholder": "Descrivi ciò che desideri generare"
|
|
32
32
|
},
|
|
33
|
+
"quality": {
|
|
34
|
+
"label": "Qualità immagine",
|
|
35
|
+
"options": {
|
|
36
|
+
"hd": "Alta definizione",
|
|
37
|
+
"standard": "Standard"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
33
40
|
"seed": {
|
|
34
41
|
"label": "Seed",
|
|
35
42
|
"random": "Seme casuale"
|
package/locales/ja-JP/image.json
CHANGED
package/locales/ko-KR/image.json
CHANGED
package/locales/nl-NL/image.json
CHANGED
|
@@ -30,6 +30,13 @@
|
|
|
30
30
|
"prompt": {
|
|
31
31
|
"placeholder": "Beschrijf wat je wilt genereren"
|
|
32
32
|
},
|
|
33
|
+
"quality": {
|
|
34
|
+
"label": "Beeldkwaliteit",
|
|
35
|
+
"options": {
|
|
36
|
+
"hd": "Hoge resolutie",
|
|
37
|
+
"standard": "Standaard"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
33
40
|
"seed": {
|
|
34
41
|
"label": "Zaad",
|
|
35
42
|
"random": "Willekeurige zaad"
|
package/locales/pl-PL/image.json
CHANGED
|
@@ -30,6 +30,13 @@
|
|
|
30
30
|
"prompt": {
|
|
31
31
|
"placeholder": "Opisz, co chcesz wygenerować"
|
|
32
32
|
},
|
|
33
|
+
"quality": {
|
|
34
|
+
"label": "Jakość obrazu",
|
|
35
|
+
"options": {
|
|
36
|
+
"hd": "Wysoka rozdzielczość",
|
|
37
|
+
"standard": "Standardowa"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
33
40
|
"seed": {
|
|
34
41
|
"label": "Ziarno",
|
|
35
42
|
"random": "Losowy seed"
|
package/locales/pt-BR/image.json
CHANGED
|
@@ -30,6 +30,13 @@
|
|
|
30
30
|
"prompt": {
|
|
31
31
|
"placeholder": "Descreva o conteúdo que deseja gerar"
|
|
32
32
|
},
|
|
33
|
+
"quality": {
|
|
34
|
+
"label": "Qualidade da imagem",
|
|
35
|
+
"options": {
|
|
36
|
+
"hd": "Alta definição",
|
|
37
|
+
"standard": "Padrão"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
33
40
|
"seed": {
|
|
34
41
|
"label": "Semente",
|
|
35
42
|
"random": "Semente aleatória"
|
package/locales/ru-RU/image.json
CHANGED
|
@@ -30,6 +30,13 @@
|
|
|
30
30
|
"prompt": {
|
|
31
31
|
"placeholder": "Опишите, что вы хотите сгенерировать"
|
|
32
32
|
},
|
|
33
|
+
"quality": {
|
|
34
|
+
"label": "Качество изображения",
|
|
35
|
+
"options": {
|
|
36
|
+
"hd": "Высокое разрешение",
|
|
37
|
+
"standard": "Стандартное"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
33
40
|
"seed": {
|
|
34
41
|
"label": "Сид",
|
|
35
42
|
"random": "Случайное начальное значение"
|
package/locales/ru-RU/tool.json
CHANGED
package/locales/tr-TR/image.json
CHANGED
|
@@ -30,6 +30,13 @@
|
|
|
30
30
|
"prompt": {
|
|
31
31
|
"placeholder": "Oluşturmak istediğiniz içeriği tanımlayın"
|
|
32
32
|
},
|
|
33
|
+
"quality": {
|
|
34
|
+
"label": "Görüntü Kalitesi",
|
|
35
|
+
"options": {
|
|
36
|
+
"hd": "Yüksek Çözünürlük",
|
|
37
|
+
"standard": "Standart"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
33
40
|
"seed": {
|
|
34
41
|
"label": "Tohum",
|
|
35
42
|
"random": "Rastgele Tohum"
|
|
@@ -3149,4 +3149,4 @@
|
|
|
3149
3149
|
"zai/glm-4.5v": {
|
|
3150
3150
|
"description": "GLM-4.5V, GLM-4.5-Air temel modeli üzerine inşa edilmiştir, GLM-4.1V-Thinking'in doğrulanmış teknolojisini devralır ve güçlü 106 milyar parametreli MoE mimarisi ile etkili ölçeklenebilirlik sağlar."
|
|
3151
3151
|
}
|
|
3152
|
-
}
|
|
3152
|
+
}
|
package/locales/vi-VN/image.json
CHANGED
|
@@ -30,6 +30,13 @@
|
|
|
30
30
|
"prompt": {
|
|
31
31
|
"placeholder": "Mô tả nội dung bạn muốn tạo"
|
|
32
32
|
},
|
|
33
|
+
"quality": {
|
|
34
|
+
"label": "Chất lượng hình ảnh",
|
|
35
|
+
"options": {
|
|
36
|
+
"hd": "Độ nét cao",
|
|
37
|
+
"standard": "Tiêu chuẩn"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
33
40
|
"seed": {
|
|
34
41
|
"label": "Hạt giống",
|
|
35
42
|
"random": "Hạt giống ngẫu nhiên"
|
package/locales/zh-CN/image.json
CHANGED
package/locales/zh-TW/image.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "1.133.
|
|
3
|
+
"version": "1.133.4",
|
|
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",
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"dependencies": {
|
|
123
123
|
"@ant-design/icons": "^5.6.1",
|
|
124
124
|
"@ant-design/pro-components": "^2.8.10",
|
|
125
|
-
"@anthropic-ai/sdk": "^0.
|
|
125
|
+
"@anthropic-ai/sdk": "^0.65.0",
|
|
126
126
|
"@auth/core": "^0.40.0",
|
|
127
127
|
"@aws-sdk/client-s3": "~3.893.0",
|
|
128
128
|
"@aws-sdk/s3-request-presigner": "~3.893.0",
|
|
@@ -262,12 +262,12 @@
|
|
|
262
262
|
"remark": "^15.0.1",
|
|
263
263
|
"remark-gfm": "^4.0.1",
|
|
264
264
|
"remark-html": "^16.0.1",
|
|
265
|
-
"request-filtering-agent": "^3.0.0",
|
|
266
265
|
"resolve-accept-language": "^3.1.13",
|
|
267
266
|
"rtl-detect": "^1.1.2",
|
|
268
267
|
"semver": "^7.7.2",
|
|
269
268
|
"sharp": "^0.34.3",
|
|
270
269
|
"shiki": "^3.12.2",
|
|
270
|
+
"ssrf-safe-fetch": "workspace:*",
|
|
271
271
|
"stripe": "^17.7.0",
|
|
272
272
|
"superjson": "^2.2.2",
|
|
273
273
|
"svix": "^1.76.1",
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
"@peculiar/webcrypto": "^1.5.0",
|
|
302
302
|
"@prettier/sync": "^0.6.1",
|
|
303
303
|
"@semantic-release/exec": "^6.0.3",
|
|
304
|
-
"@testing-library/jest-dom": "
|
|
304
|
+
"@testing-library/jest-dom": "~6.8.0",
|
|
305
305
|
"@testing-library/react": "^16.3.0",
|
|
306
306
|
"@testing-library/user-event": "^14.6.1",
|
|
307
307
|
"@types/chroma-js": "^3.1.1",
|
|
@@ -323,7 +323,6 @@
|
|
|
323
323
|
"@types/systemjs": "^6.15.3",
|
|
324
324
|
"@types/ua-parser-js": "^0.7.39",
|
|
325
325
|
"@types/unist": "^3.0.3",
|
|
326
|
-
"@types/uuid": "^11.0.0",
|
|
327
326
|
"@types/ws": "^8.18.1",
|
|
328
327
|
"@typescript/native-preview": "7.0.0-dev.20250711.1",
|
|
329
328
|
"@vitest/coverage-v8": "^3.2.4",
|
|
@@ -68,7 +68,8 @@
|
|
|
68
68
|
"./xai": "./src/aiModels/xai.ts",
|
|
69
69
|
"./xinference": "./src/aiModels/xinference.ts",
|
|
70
70
|
"./zeroone": "./src/aiModels/zeroone.ts",
|
|
71
|
-
"./zhipu": "./src/aiModels/zhipu.ts"
|
|
71
|
+
"./zhipu": "./src/aiModels/zhipu.ts",
|
|
72
|
+
"./types": "./src/types/index.ts"
|
|
72
73
|
},
|
|
73
74
|
"scripts": {
|
|
74
75
|
"test": "vitest",
|
|
@@ -526,6 +526,40 @@ const aihubmixModels: AIChatModelCard[] = [
|
|
|
526
526
|
},
|
|
527
527
|
type: 'chat',
|
|
528
528
|
},
|
|
529
|
+
{
|
|
530
|
+
abilities: {
|
|
531
|
+
functionCall: true,
|
|
532
|
+
reasoning: true,
|
|
533
|
+
search: true,
|
|
534
|
+
vision: true,
|
|
535
|
+
},
|
|
536
|
+
contextWindowTokens: 200_000,
|
|
537
|
+
description:
|
|
538
|
+
'Sonnet 4.5 是世界上最好的代理、编码和计算机使用模型。它也是我们在长时间运行任务中最准确、最详细的模型,具有增强的编码、金融和网络安全领域知识。',
|
|
539
|
+
displayName: 'Claude Sonnet 4.5',
|
|
540
|
+
enabled: true,
|
|
541
|
+
id: 'claude-sonnet-4-5-20250929',
|
|
542
|
+
maxOutput: 64_000,
|
|
543
|
+
pricing: {
|
|
544
|
+
units: [
|
|
545
|
+
{ name: 'textInput', rate: 3, strategy: 'fixed', unit: 'millionTokens' },
|
|
546
|
+
{ name: 'textOutput', rate: 15, strategy: 'fixed', unit: 'millionTokens' },
|
|
547
|
+
{ name: 'textInput_cacheRead', rate: 0.3, strategy: 'fixed', unit: 'millionTokens' },
|
|
548
|
+
{
|
|
549
|
+
lookup: { prices: { '1h': 6, '5m': 3.75 }, pricingParams: ['ttl'] },
|
|
550
|
+
name: 'textInput_cacheWrite',
|
|
551
|
+
strategy: 'lookup',
|
|
552
|
+
unit: 'millionTokens',
|
|
553
|
+
},
|
|
554
|
+
],
|
|
555
|
+
},
|
|
556
|
+
releasedAt: '2025-09-29',
|
|
557
|
+
settings: {
|
|
558
|
+
extendParams: ['disableContextCaching', 'enableReasoning', 'reasoningBudgetToken'],
|
|
559
|
+
searchImpl: 'params',
|
|
560
|
+
},
|
|
561
|
+
type: 'chat',
|
|
562
|
+
},
|
|
529
563
|
{
|
|
530
564
|
abilities: {
|
|
531
565
|
functionCall: true,
|
|
@@ -537,7 +571,6 @@ const aihubmixModels: AIChatModelCard[] = [
|
|
|
537
571
|
description:
|
|
538
572
|
'Claude Sonnet 4 可以产生近乎即时的响应或延长的逐步思考,用户可以清晰地看到这些过程。API 用户还可以对模型思考的时间进行细致的控制',
|
|
539
573
|
displayName: 'Claude Sonnet 4',
|
|
540
|
-
enabled: true,
|
|
541
574
|
id: 'claude-sonnet-4-20250514',
|
|
542
575
|
maxOutput: 64_000,
|
|
543
576
|
pricing: {
|