@lobehub/chat 0.159.10 → 0.159.11

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 0.159.11](https://github.com/lobehub/lobe-chat/compare/v0.159.10...v0.159.11)
6
+
7
+ <sup>Released on **2024-05-15**</sup>
8
+
9
+ #### 💄 Styles
10
+
11
+ - **misc**: Add Gemini 1.5 Flash model.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Styles
19
+
20
+ - **misc**: Add Gemini 1.5 Flash model, closes [#2507](https://github.com/lobehub/lobe-chat/issues/2507) ([5568472](https://github.com/lobehub/lobe-chat/commit/5568472))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
5
30
  ### [Version 0.159.10](https://github.com/lobehub/lobe-chat/compare/v0.159.9...v0.159.10)
6
31
 
7
32
  <sup>Released on **2024-05-15**</sup>
package/README.md CHANGED
@@ -714,7 +714,7 @@ This project is [MIT](./LICENSE) licensed.
714
714
  [image-feat-theme]: https://gw.alipayobjects.com/zos/kitchen/pvus1lo%26Z7/darkmode.webp
715
715
  [image-feat-tts]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/284072124-c9853d8d-f1b5-44a8-a305-45ebc0f6d19a.png
716
716
  [image-feat-vision]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/284072129-382bdf30-e3d6-4411-b5a0-249710b8ba08.png
717
- [image-overview]: https://github.com/lobehub/lobe-chat/assets/28616219/8b04c3c9-3d71-4fb4-bd9b-a4f415c5876d
717
+ [image-overview]: https://github.com/lobehub/lobe-chat/assets/17870709/56b95d48-f573-41cd-8b38-387bf88bc4bf
718
718
  [image-star]: https://github.com/lobehub/lobe-chat/assets/17870709/cb06b748-513f-47c2-8740-d876858d7855
719
719
  [issues-link]: https://img.shields.io/github/issues/lobehub/lobe-chat.svg?style=flat
720
720
  [lobe-chat-plugins]: https://github.com/lobehub/lobe-chat-plugins
package/README.zh-CN.md CHANGED
@@ -735,7 +735,7 @@ This project is [MIT](./LICENSE) licensed.
735
735
  [image-feat-theme]: https://gw.alipayobjects.com/zos/kitchen/pvus1lo%26Z7/darkmode.webp
736
736
  [image-feat-tts]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/284072124-c9853d8d-f1b5-44a8-a305-45ebc0f6d19a.png
737
737
  [image-feat-vision]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/284072129-382bdf30-e3d6-4411-b5a0-249710b8ba08.png
738
- [image-overview]: https://github.com/lobehub/lobe-chat/assets/28616219/8b04c3c9-3d71-4fb4-bd9b-a4f415c5876d
738
+ [image-overview]: https://github.com/lobehub/lobe-chat/assets/17870709/56b95d48-f573-41cd-8b38-387bf88bc4bf
739
739
  [image-star]: https://github.com/lobehub/lobe-chat/assets/17870709/cb06b748-513f-47c2-8740-d876858d7855
740
740
  [issues-link]: https://img.shields.io/github/issues/lobehub/lobe-chat.svg?style=flat
741
741
  [lobe-chat-plugins]: https://github.com/lobehub/lobe-chat-plugins
@@ -23,7 +23,7 @@ tags:
23
23
  borderless
24
24
  height={426}
25
25
  margin={12}
26
- src={'https://github.com/lobehub/lobe-chat/assets/28616219/8b04c3c9-3d71-4fb4-bd9b-a4f415c5876d'}
26
+ src={'https://github.com/lobehub/lobe-chat/assets/17870709/56b95d48-f573-41cd-8b38-387bf88bc4bf'}
27
27
  width={832}
28
28
  />
29
29
 
@@ -19,7 +19,7 @@ tags:
19
19
  borderless
20
20
  height={426}
21
21
  margin={12}
22
- src={'https://github.com/lobehub/lobe-chat/assets/28616219/8b04c3c9-3d71-4fb4-bd9b-a4f415c5876d'}
22
+ src={'https://github.com/lobehub/lobe-chat/assets/17870709/56b95d48-f573-41cd-8b38-387bf88bc4bf'}
23
23
  width={832}
24
24
  />
25
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "0.159.10",
3
+ "version": "0.159.11",
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",
@@ -8,6 +8,7 @@ const Google: ModelProviderCard = {
8
8
  description: 'A legacy text-only model optimized for chat conversations',
9
9
  displayName: 'PaLM 2 Chat (Legacy)',
10
10
  id: 'chat-bison-001',
11
+ legacy: true,
11
12
  maxOutput: 1024,
12
13
  // tokens: 4096 + 1024, // none tokens test
13
14
  },
@@ -15,13 +16,13 @@ const Google: ModelProviderCard = {
15
16
  description: 'A legacy model that understands text and generates text as an output',
16
17
  displayName: 'PaLM 2 (Legacy)',
17
18
  id: 'text-bison-001',
19
+ legacy: true,
18
20
  maxOutput: 1024,
19
21
  tokens: 8196 + 1024,
20
22
  },
21
23
  {
22
24
  description: 'The best model for scaling across a wide range of tasks',
23
25
  displayName: 'Gemini 1.0 Pro',
24
- enabled: true,
25
26
  functionCall: true,
26
27
  id: 'gemini-pro',
27
28
  maxOutput: 2048,
@@ -38,7 +39,6 @@ const Google: ModelProviderCard = {
38
39
  {
39
40
  description: 'The best image understanding model to handle a broad range of applications',
40
41
  displayName: 'Gemini 1.0 Pro Vision',
41
- enabled: true,
42
42
  id: 'gemini-pro-vision',
43
43
  maxOutput: 4096,
44
44
  tokens: 12_288 + 4096,
@@ -69,6 +69,16 @@ const Google: ModelProviderCard = {
69
69
  maxOutput: 2048,
70
70
  tokens: 30_720 + 2048,
71
71
  },
72
+ {
73
+ description: 'Fast and versatile multimodal model for scaling across diverse tasks',
74
+ displayName: 'Gemini 1.5 Flash',
75
+ enabled: true,
76
+ functionCall: true,
77
+ id: 'gemini-1.5-flash-latest',
78
+ maxOutput: 8192,
79
+ tokens: 1_048_576 + 8192,
80
+ vision: true,
81
+ },
72
82
  {
73
83
  description: 'Mid-size multimodal model that supports up to 1 million tokens',
74
84
  displayName: 'Gemini 1.5 Pro',