@lobehub/chat 0.142.6 → 0.142.8
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/.env.example +1 -1
- package/CHANGELOG.md +50 -0
- package/README.md +8 -8
- package/README.zh-CN.md +8 -8
- package/docs/self-hosting/environment-variables/model-provider.mdx +8 -2
- package/docs/self-hosting/platform/railway.mdx +21 -0
- package/docs/self-hosting/platform/railway.zh-CN.mdx +21 -0
- package/docs/self-hosting/start.mdx +1 -1
- package/docs/self-hosting/start.zh-CN.mdx +1 -0
- package/locales/de-DE/common.json +18 -18
- package/package.json +1 -1
- package/src/config/modelProviders/google.ts +10 -5
package/.env.example
CHANGED
|
@@ -104,7 +104,7 @@ OPENAI_API_KEY=sk-xxxxxxxxx
|
|
|
104
104
|
######### 01.AI Service ##########
|
|
105
105
|
########################################
|
|
106
106
|
|
|
107
|
-
#
|
|
107
|
+
#ZEROONE_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
108
108
|
|
|
109
109
|
########################################
|
|
110
110
|
############ Market Service ############
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,56 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 0.142.8](https://github.com/lobehub/lobe-chat/compare/v0.142.7...v0.142.8)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-03-28**</sup>
|
|
8
|
+
|
|
9
|
+
#### 🐛 Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **misc**: Fix gemini 1.5 pro model id to support gemini new models.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's fixed
|
|
19
|
+
|
|
20
|
+
- **misc**: Fix gemini 1.5 pro model id to support gemini new models, closes [#1776](https://github.com/lobehub/lobe-chat/issues/1776) ([591dcb3](https://github.com/lobehub/lobe-chat/commit/591dcb3))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
### [Version 0.142.7](https://github.com/lobehub/lobe-chat/compare/v0.142.6...v0.142.7)
|
|
31
|
+
|
|
32
|
+
<sup>Released on **2024-03-27**</sup>
|
|
33
|
+
|
|
34
|
+
#### 🐛 Bug Fixes
|
|
35
|
+
|
|
36
|
+
- **misc**: Fix the missing German locale.
|
|
37
|
+
|
|
38
|
+
<br/>
|
|
39
|
+
|
|
40
|
+
<details>
|
|
41
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
42
|
+
|
|
43
|
+
#### What's fixed
|
|
44
|
+
|
|
45
|
+
- **misc**: Fix the missing German locale, closes [#1753](https://github.com/lobehub/lobe-chat/issues/1753) ([a452612](https://github.com/lobehub/lobe-chat/commit/a452612))
|
|
46
|
+
|
|
47
|
+
</details>
|
|
48
|
+
|
|
49
|
+
<div align="right">
|
|
50
|
+
|
|
51
|
+
[](#readme-top)
|
|
52
|
+
|
|
53
|
+
</div>
|
|
54
|
+
|
|
5
55
|
### [Version 0.142.6](https://github.com/lobehub/lobe-chat/compare/v0.142.5...v0.142.6)
|
|
6
56
|
|
|
7
57
|
<sup>Released on **2024-03-26**</sup>
|
package/README.md
CHANGED
|
@@ -259,14 +259,14 @@ Our marketplace is not just a showcase platform but also a collaborative space.
|
|
|
259
259
|
|
|
260
260
|
<!-- AGENT LIST -->
|
|
261
261
|
|
|
262
|
-
| Recent Submits
|
|
263
|
-
|
|
|
264
|
-
| [
|
|
265
|
-
| [
|
|
266
|
-
| [
|
|
267
|
-
| [
|
|
268
|
-
|
|
269
|
-
> 📊 Total agents: [<kbd>**
|
|
262
|
+
| Recent Submits | Description |
|
|
263
|
+
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
264
|
+
| [Girlfriend Subtext Expert](https://chat-preview.lobehub.com/market?agent=girlfriend-subtext)<br/><sup>By **[vayron](https://github.com/vayron)** on **2024-03-26**</sup> | Decipher the 'subtext' behind girls' words, sharp and witty, respond with strength! 🔥<br/>`girlfriend` `girls` `subtext` `fierce` `strong` `decipher` |
|
|
265
|
+
| [Interview Question Refinement Assistant](https://chat-preview.lobehub.com/market?agent=question-extraction-assistant)<br/><sup>By **[couldnice](https://github.com/couldnice)** on **2024-03-26**</sup> | Interview question generation assistant, generates targeted interview questions based on article content and job descriptions.<br/>`interview-questions` `customized-service` `java-engineer` `data-collection` `interview-preparation` |
|
|
266
|
+
| [Claim Analyzer](https://chat-preview.lobehub.com/market?agent=fact-checking)<br/><sup>By **[pedroespecial101](https://github.com/pedroespecial101)** on **2024-03-25**</sup> | Detailed truth analyzer (from <https://github.com/danielmiessler/fabric>)<br/>`https-github-com-danielmiessler-fabric` |
|
|
267
|
+
| [Rap Lyric Master](https://chat-preview.lobehub.com/market?agent=rap-writer)<br/><sup>By **[aoocar](https://github.com/aoocar)** on **2024-03-25**</sup> | Match lyrics in the form of rap lyrics, and create rap lyrics according to the reference format<br/>`rap` `lyrics` |
|
|
268
|
+
|
|
269
|
+
> 📊 Total agents: [<kbd>**220**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
270
270
|
|
|
271
271
|
<!-- AGENT LIST -->
|
|
272
272
|
|
package/README.zh-CN.md
CHANGED
|
@@ -247,14 +247,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
|
|
|
247
247
|
|
|
248
248
|
<!-- AGENT LIST -->
|
|
249
249
|
|
|
250
|
-
| 最近新增
|
|
251
|
-
|
|
|
252
|
-
| [
|
|
253
|
-
| [
|
|
254
|
-
| [
|
|
255
|
-
| [
|
|
256
|
-
|
|
257
|
-
> 📊 Total agents: [<kbd>**
|
|
250
|
+
| 最近新增 | 助手说明 |
|
|
251
|
+
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
|
|
252
|
+
| [女朋友潜台词专家](https://chat-preview.lobehub.com/market?agent=girlfriend-subtext)<br/><sup>By **[vayron](https://github.com/vayron)** on **2024-03-26**</sup> | 解读女生话背后的「潜台词」,尖酸刻薄,强势回复!🔥<br/>`女朋友` `女生` `潜台词` `彪悍` `强势` `解读` |
|
|
253
|
+
| [面试问题提炼助手](https://chat-preview.lobehub.com/market?agent=question-extraction-assistant)<br/><sup>By **[couldnice](https://github.com/couldnice)** on **2024-03-26**</sup> | 面试问题生成助手,根据文章内容和职位描述生成针对性面试问题。<br/>`面试问题` `定制服务` `java工程师` `资料收集` `面试准备` |
|
|
254
|
+
| [索赔分析器](https://chat-preview.lobehub.com/market?agent=fact-checking)<br/><sup>By **[pedroespecial101](https://github.com/pedroespecial101)** on **2024-03-25**</sup> | 详细的真相分析器(来自 <https://github.com/danielmiessler/fabric)><br/>`https-github-com-danielmiessler-fabric` |
|
|
255
|
+
| [Rap 说唱歌词大师](https://chat-preview.lobehub.com/market?agent=rap-writer)<br/><sup>By **[aoocar](https://github.com/aoocar)** on **2024-03-25**</sup> | 将歌词以 rap 歌词的形式进行匹配,按照参考格式进行 rap 歌词创作<br/>`说唱` `歌词` |
|
|
256
|
+
|
|
257
|
+
> 📊 Total agents: [<kbd>**220**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
258
258
|
|
|
259
259
|
<!-- AGENT LIST -->
|
|
260
260
|
|
|
@@ -82,7 +82,7 @@ When using the `turn` mode, the API Keys will be retrieved in a round-robin mann
|
|
|
82
82
|
- Type: Optional
|
|
83
83
|
- Description: The API version of Azure, following the format YYYY-MM-DD
|
|
84
84
|
- Default: `2023-08-01-preview`
|
|
85
|
-
- Example: `2023-05-15`, refer to [latest version]
|
|
85
|
+
- Example: `2023-05-15`, refer to [latest version](https://docs.microsoft.com/zh-cn/azure/developer/javascript/api-reference/es-modules/azure-sdk/ai-translation/translationconfiguration?view=azure-node-latest#api-version)
|
|
86
86
|
|
|
87
87
|
## ZHIPU AI
|
|
88
88
|
|
|
@@ -195,5 +195,11 @@ When using the `turn` mode, the API Keys will be retrieved in a round-robin mann
|
|
|
195
195
|
- Default: `-`
|
|
196
196
|
- Example: `-all,+01-ai/yi-34b-chat,+huggingfaceh4/zephyr-7b-beta`
|
|
197
197
|
|
|
198
|
+
## 01.AI
|
|
198
199
|
|
|
199
|
-
|
|
200
|
+
### `ZEROONE_API_KEY`
|
|
201
|
+
|
|
202
|
+
- Type: Required
|
|
203
|
+
- Description: This is the API key you applied for in the 01.AI service
|
|
204
|
+
- Default: -
|
|
205
|
+
- 示例:`xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Deploy LobeChat with Railway
|
|
2
|
+
|
|
3
|
+
If you want to deploy LobeChat on Railway, you can follow the steps below:
|
|
4
|
+
|
|
5
|
+
## Railway Deployment Process
|
|
6
|
+
|
|
7
|
+
<Steps>
|
|
8
|
+
### Prepare your OpenAI API Key
|
|
9
|
+
|
|
10
|
+
Go to [OpenAI API Key](https://platform.openai.com/account/api-keys) to get your OpenAI API Key.
|
|
11
|
+
|
|
12
|
+
### Click the button below to deploy
|
|
13
|
+
|
|
14
|
+
[](https://railway.app/template/FB6HrV?referralCode=9bD9mT)
|
|
15
|
+
|
|
16
|
+
### Once deployed, you can start using it
|
|
17
|
+
|
|
18
|
+
### Bind a custom domain (optional)
|
|
19
|
+
|
|
20
|
+
You can use the subdomain provided by Railway, or choose to bind a custom domain. Currently, the domains provided by Railway have not been contaminated, and most regions can connect directly.
|
|
21
|
+
</Steps>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# 使用 Railway 部署
|
|
2
|
+
|
|
3
|
+
如果想在 Railway 上部署 LobeChat,可以按照以下步骤进行操作:
|
|
4
|
+
|
|
5
|
+
## Railway 部署流程
|
|
6
|
+
|
|
7
|
+
<Steps>
|
|
8
|
+
### 准备好你的 OpenAI API Key
|
|
9
|
+
|
|
10
|
+
前往 [OpenAI API Key](https://platform.openai.com/account/api-keys) 获取你的 OpenAI API Key
|
|
11
|
+
|
|
12
|
+
### 点击下方按钮进行部署
|
|
13
|
+
|
|
14
|
+
[](https://railway.app/template/FB6HrV?referralCode=9bD9mT)
|
|
15
|
+
|
|
16
|
+
### 部署完毕后,即可开始使用
|
|
17
|
+
|
|
18
|
+
### 绑定自定义域名(可选)
|
|
19
|
+
|
|
20
|
+
你可以使用 Railway 提供的子域名,也可以选择绑定自定义域名。目前 Railway 提供的域名还未被污染,大多数地区都可以直连。
|
|
21
|
+
</Steps>
|
|
@@ -6,4 +6,4 @@ Choose your favorite platform to get started.
|
|
|
6
6
|
|
|
7
7
|
LobeChat support multiple deployment platforms, including Vercel, Docker, and Docker Compose and so on, you can choose the deployment platform that suits you.
|
|
8
8
|
|
|
9
|
-
<PlatformCards docker={'Docker'} dockerCompose={'Docker Compose'} netlify={'Netlify'} repocloud={'RepoCloud'} sealos={'SealOS'} vercel={'Vercel'} zeabur={'Zeabur'} />
|
|
9
|
+
<PlatformCards docker={'Docker'} dockerCompose={'Docker Compose'} netlify={'Netlify'} railway={'Railway'} repocloud={'RepoCloud'} sealos={'SealOS'} vercel={'Vercel'} zeabur={'Zeabur'} />
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"openai": "OpenAI",
|
|
108
108
|
"openrouter": "OpenRouter",
|
|
109
109
|
"perplexity": "Perplexity",
|
|
110
|
-
"zeroone": "01
|
|
110
|
+
"zeroone": "01-AI",
|
|
111
111
|
"zhipu": "Zhipu AI"
|
|
112
112
|
},
|
|
113
113
|
"noDescription": "Keine Beschreibung vorhanden",
|
|
@@ -126,35 +126,35 @@
|
|
|
126
126
|
"stop": "Stoppen",
|
|
127
127
|
"sync": {
|
|
128
128
|
"actions": {
|
|
129
|
-
"settings": "
|
|
130
|
-
"sync": "
|
|
129
|
+
"settings": "Sync Einstellungen",
|
|
130
|
+
"sync": "Jetzt Syncen"
|
|
131
131
|
},
|
|
132
132
|
"awareness": {
|
|
133
|
-
"current": "
|
|
133
|
+
"current": "Aktuelles Gerät"
|
|
134
134
|
},
|
|
135
|
-
"channel": "
|
|
135
|
+
"channel": "Kanal",
|
|
136
136
|
"disabled": {
|
|
137
137
|
"actions": {
|
|
138
|
-
"enable": "
|
|
139
|
-
"settings": "
|
|
138
|
+
"enable": "Cloud Sync Aktivieren",
|
|
139
|
+
"settings": "Sync Einstellungen"
|
|
140
140
|
},
|
|
141
|
-
"desc": "
|
|
142
|
-
"title": "
|
|
141
|
+
"desc": "Momentane Session Daten ist nur im Brwoser gespeichert. Wenn Sie Daten über mehrere Geräte syncen möchten, konfigurieren und aktivieren Sie bitte cloud sync.",
|
|
142
|
+
"title": "Daten Sync Deaktiviert"
|
|
143
143
|
},
|
|
144
144
|
"enabled": {
|
|
145
|
-
"title": "
|
|
145
|
+
"title": "Daten Sync Aktiviert"
|
|
146
146
|
},
|
|
147
147
|
"status": {
|
|
148
|
-
"connecting": "
|
|
149
|
-
"disabled": "
|
|
150
|
-
"ready": "
|
|
151
|
-
"synced": "
|
|
152
|
-
"syncing": "
|
|
153
|
-
"unconnected": "
|
|
148
|
+
"connecting": "Verbinden",
|
|
149
|
+
"disabled": "Sync Deaktiviert",
|
|
150
|
+
"ready": "Verbunden",
|
|
151
|
+
"synced": "Synchronisiert",
|
|
152
|
+
"syncing": "Synchronisierung",
|
|
153
|
+
"unconnected": "Verbindung gescheitert"
|
|
154
154
|
},
|
|
155
|
-
"title": "
|
|
155
|
+
"title": "Sync Status",
|
|
156
156
|
"unconnected": {
|
|
157
|
-
"tip": "
|
|
157
|
+
"tip": "Die Verbindung zum Signalisierungsserver ist fehlgeschlagen, und der Peer-to-Peer-Kommunikationskanal kann nicht hergestellt werden. Bitte überprüfen Sie das Netzwerk und versuchen Sie es erneut."
|
|
158
158
|
}
|
|
159
159
|
},
|
|
160
160
|
"tab": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "0.142.
|
|
3
|
+
"version": "0.142.8",
|
|
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",
|
|
@@ -2,11 +2,6 @@ import { ModelProviderCard } from '@/types/llm';
|
|
|
2
2
|
|
|
3
3
|
const Google: ModelProviderCard = {
|
|
4
4
|
chatModels: [
|
|
5
|
-
{
|
|
6
|
-
displayName: 'Gemini 1.5 Pro',
|
|
7
|
-
id: 'gemini-1.5-pro',
|
|
8
|
-
tokens: 1_048_576,
|
|
9
|
-
},
|
|
10
5
|
{
|
|
11
6
|
displayName: 'Gemini Pro',
|
|
12
7
|
id: 'gemini-pro',
|
|
@@ -18,6 +13,16 @@ const Google: ModelProviderCard = {
|
|
|
18
13
|
tokens: 12_288,
|
|
19
14
|
vision: true,
|
|
20
15
|
},
|
|
16
|
+
{
|
|
17
|
+
displayName: 'Gemini 1.5 Pro',
|
|
18
|
+
id: 'gemini-1.5-pro-latest',
|
|
19
|
+
tokens: 1_048_576,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
displayName: 'Gemini Ultra',
|
|
23
|
+
id: 'gemini-ultra-latest',
|
|
24
|
+
tokens: 30_720,
|
|
25
|
+
},
|
|
21
26
|
],
|
|
22
27
|
id: 'google',
|
|
23
28
|
};
|