@lobehub/chat 1.9.6 → 1.9.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/CHANGELOG.md +42 -0
- package/README.md +8 -8
- package/README.zh-CN.md +2 -2
- package/package.json +3 -3
- package/src/components/GalleyGrid/index.tsx +1 -1
- package/src/components/GalleyGrid/style.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,48 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 1.9.8](https://github.com/lobehub/lobe-chat/compare/v1.9.7...v1.9.8)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-08-13**</sup>
|
|
8
|
+
|
|
9
|
+
#### 💄 Styles
|
|
10
|
+
|
|
11
|
+
- **misc**: Resize the image size in chat message.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### Styles
|
|
19
|
+
|
|
20
|
+
- **misc**: Resize the image size in chat message, closes [#3462](https://github.com/lobehub/lobe-chat/issues/3462) ([37c7429](https://github.com/lobehub/lobe-chat/commit/37c7429))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
### [Version 1.9.7](https://github.com/lobehub/lobe-chat/compare/v1.9.6...v1.9.7)
|
|
31
|
+
|
|
32
|
+
<sup>Released on **2024-08-13**</sup>
|
|
33
|
+
|
|
34
|
+
<br/>
|
|
35
|
+
|
|
36
|
+
<details>
|
|
37
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
38
|
+
|
|
39
|
+
</details>
|
|
40
|
+
|
|
41
|
+
<div align="right">
|
|
42
|
+
|
|
43
|
+
[](#readme-top)
|
|
44
|
+
|
|
45
|
+
</div>
|
|
46
|
+
|
|
5
47
|
### [Version 1.9.6](https://github.com/lobehub/lobe-chat/compare/v1.9.5...v1.9.6)
|
|
6
48
|
|
|
7
49
|
<sup>Released on **2024-08-09**</sup>
|
package/README.md
CHANGED
|
@@ -227,14 +227,14 @@ In addition, these plugins are not limited to news aggregation, but can also ext
|
|
|
227
227
|
|
|
228
228
|
<!-- PLUGIN LIST -->
|
|
229
229
|
|
|
230
|
-
| Recent Submits
|
|
231
|
-
|
|
|
232
|
-
| [
|
|
233
|
-
| [
|
|
234
|
-
| [
|
|
235
|
-
| [
|
|
236
|
-
|
|
237
|
-
> 📊 Total plugins: [<kbd>**
|
|
230
|
+
| Recent Submits | Description |
|
|
231
|
+
| ---------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
|
|
232
|
+
| [Tongyi wanxiang Image Generator](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **YoungTx** on **2024-08-09**</sup> | This plugin uses Alibaba's Tongyi Wanxiang model to generate images based on text prompts.<br/>`image` `tongyi` `wanxiang` |
|
|
233
|
+
| [Shopping tools](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **shoppingtools** on **2024-07-19**</sup> | Search for products on eBay & AliExpress, find eBay events & coupons. Get prompt examples.<br/>`shopping` `e-bay` `ali-express` `coupons` |
|
|
234
|
+
| [Savvy Trader AI](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **savvytrader** on **2024-06-27**</sup> | Realtime stock, crypto and other investment data.<br/>`stock` `analyze` |
|
|
235
|
+
| [Social Search](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **say-apps** on **2024-06-02**</sup> | The Social Search provides access to tweets, users, followers, images, media and more.<br/>`social` `twitter` `x` `search` |
|
|
236
|
+
|
|
237
|
+
> 📊 Total plugins: [<kbd>**51**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
|
|
238
238
|
|
|
239
239
|
<!-- PLUGIN LIST -->
|
|
240
240
|
|
package/README.zh-CN.md
CHANGED
|
@@ -221,12 +221,12 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
|
|
|
221
221
|
|
|
222
222
|
| 最近新增 | 插件描述 |
|
|
223
223
|
| ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
|
|
224
|
+
| [通义万象图像生成器](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **YoungTx** on **2024-08-09**</sup> | 此插件使用阿里巴巴的通义万象模型根据文本提示生成图像。<br/>`图像` `通义` `万象` |
|
|
224
225
|
| [购物工具](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **shoppingtools** on **2024-07-19**</sup> | 在 eBay 和 AliExpress 上搜索产品,查找 eBay 活动和优惠券。获取快速示例。<br/>`购物` `e-bay` `ali-express` `优惠券` |
|
|
225
226
|
| [Savvy Trader AI](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **savvytrader** on **2024-06-27**</sup> | 实时股票、加密货币和其他投资数据。<br/>`股票` `分析` |
|
|
226
227
|
| [社交搜索](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **say-apps** on **2024-06-02**</sup> | 社交搜索提供访问推文、用户、关注者、图片、媒体等功能。<br/>`社交` `推特` `x` `搜索` |
|
|
227
|
-
| [空间](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **automateyournetwork** on **2024-05-12**</sup> | 包括 NASA 的空间数据。<br/>`空间` `nasa` |
|
|
228
228
|
|
|
229
|
-
> 📊 Total plugins: [<kbd>**
|
|
229
|
+
> 📊 Total plugins: [<kbd>**51**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
|
|
230
230
|
|
|
231
231
|
<!-- PLUGIN LIST -->
|
|
232
232
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.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",
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"next-sitemap": "^4.2.3",
|
|
163
163
|
"numeral": "^2.0.6",
|
|
164
164
|
"nuqs": "^1.17.4",
|
|
165
|
-
"ollama": "^0.5.
|
|
165
|
+
"ollama": "^0.5.8",
|
|
166
166
|
"openai": "~4.54.0",
|
|
167
167
|
"partial-json": "^0.1.7",
|
|
168
168
|
"pg": "^8.12.0",
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
"vitest": "~1.2.2",
|
|
273
273
|
"vitest-canvas-mock": "^0.3.3"
|
|
274
274
|
},
|
|
275
|
-
"packageManager": "pnpm@9.
|
|
275
|
+
"packageManager": "pnpm@9.7.0",
|
|
276
276
|
"publishConfig": {
|
|
277
277
|
"access": "public",
|
|
278
278
|
"registry": "https://registry.npmjs.org"
|
|
@@ -32,7 +32,7 @@ const GalleyGrid = memo<GalleyGridProps>(({ items, renderItem: Render }) => {
|
|
|
32
32
|
const { gap, max } = useMemo(
|
|
33
33
|
() => ({
|
|
34
34
|
gap: mobile ? 4 : 6,
|
|
35
|
-
max: mobile ? MAX_SIZE_MOBILE : MAX_SIZE_DESKTOP,
|
|
35
|
+
max: (mobile ? MAX_SIZE_MOBILE : MAX_SIZE_DESKTOP) * firstRow.length,
|
|
36
36
|
}),
|
|
37
37
|
[mobile],
|
|
38
38
|
);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createStyles } from 'antd-style';
|
|
2
2
|
|
|
3
3
|
export const MIN_IMAGE_SIZE = 64;
|
|
4
|
-
export const MAX_SIZE_DESKTOP =
|
|
5
|
-
export const MAX_SIZE_MOBILE =
|
|
4
|
+
export const MAX_SIZE_DESKTOP = 200;
|
|
5
|
+
export const MAX_SIZE_MOBILE = 90;
|
|
6
6
|
export const useStyles = createStyles(
|
|
7
7
|
({ css }, { col, gap, max, min }: { col: number; gap: number; max: number; min: number }) => ({
|
|
8
8
|
container: css`
|