@lobehub/chat 1.9.7 → 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
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
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
|
+
|
|
5
30
|
### [Version 1.9.7](https://github.com/lobehub/lobe-chat/compare/v1.9.6...v1.9.7)
|
|
6
31
|
|
|
7
32
|
<sup>Released on **2024-08-13**</sup>
|
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",
|
|
@@ -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`
|