@lobehub/chat 1.104.2 → 1.104.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/CHANGELOG.md +51 -0
- package/changelog/v1.json +18 -0
- package/locales/ar/models.json +3 -0
- package/locales/bg-BG/models.json +3 -0
- package/locales/de-DE/models.json +3 -0
- package/locales/en-US/models.json +3 -0
- package/locales/es-ES/models.json +3 -0
- package/locales/fa-IR/models.json +3 -0
- package/locales/fr-FR/models.json +3 -0
- package/locales/it-IT/models.json +3 -0
- package/locales/ja-JP/models.json +3 -0
- package/locales/ko-KR/models.json +3 -0
- package/locales/nl-NL/models.json +3 -0
- package/locales/pl-PL/models.json +3 -0
- package/locales/pt-BR/models.json +3 -0
- package/locales/ru-RU/models.json +3 -0
- package/locales/tr-TR/models.json +3 -0
- package/locales/vi-VN/models.json +3 -0
- package/locales/zh-CN/models.json +3 -0
- package/locales/zh-TW/models.json +3 -0
- package/package.json +3 -3
- package/src/app/[variants]/(main)/settings/_layout/Desktop/index.tsx +1 -2
- package/src/app/[variants]/layout.tsx +5 -0
- package/src/config/aiModels/google.ts +27 -0
- package/src/config/aiModels/vertexai.ts +27 -0
- package/src/layout/GlobalProvider/index.tsx +0 -2
- package/src/layout/GlobalProvider/ReactScan.tsx +0 -15
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,57 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.104.4](https://github.com/lobehub/lobe-chat/compare/v1.104.3...v1.104.4)
|
6
|
+
|
7
|
+
<sup>Released on **2025-07-28**</sup>
|
8
|
+
|
9
|
+
#### 💄 Styles
|
10
|
+
|
11
|
+
- **misc**: Fix setting window layout size, update i18n.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### Styles
|
19
|
+
|
20
|
+
- **misc**: Fix setting window layout size, closes [#8483](https://github.com/lobehub/lobe-chat/issues/8483) ([4902341](https://github.com/lobehub/lobe-chat/commit/4902341))
|
21
|
+
- **misc**: Update i18n, closes [#8579](https://github.com/lobehub/lobe-chat/issues/8579) ([2eccbc7](https://github.com/lobehub/lobe-chat/commit/2eccbc7))
|
22
|
+
|
23
|
+
</details>
|
24
|
+
|
25
|
+
<div align="right">
|
26
|
+
|
27
|
+
[](#readme-top)
|
28
|
+
|
29
|
+
</div>
|
30
|
+
|
31
|
+
### [Version 1.104.3](https://github.com/lobehub/lobe-chat/compare/v1.104.2...v1.104.3)
|
32
|
+
|
33
|
+
<sup>Released on **2025-07-26**</sup>
|
34
|
+
|
35
|
+
#### 💄 Styles
|
36
|
+
|
37
|
+
- **misc**: Add Gemini 2.5 Flash-Lite GA model.
|
38
|
+
|
39
|
+
<br/>
|
40
|
+
|
41
|
+
<details>
|
42
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
43
|
+
|
44
|
+
#### Styles
|
45
|
+
|
46
|
+
- **misc**: Add Gemini 2.5 Flash-Lite GA model, closes [#8539](https://github.com/lobehub/lobe-chat/issues/8539) ([404ac21](https://github.com/lobehub/lobe-chat/commit/404ac21))
|
47
|
+
|
48
|
+
</details>
|
49
|
+
|
50
|
+
<div align="right">
|
51
|
+
|
52
|
+
[](#readme-top)
|
53
|
+
|
54
|
+
</div>
|
55
|
+
|
5
56
|
### [Version 1.104.2](https://github.com/lobehub/lobe-chat/compare/v1.104.1...v1.104.2)
|
6
57
|
|
7
58
|
<sup>Released on **2025-07-26**</sup>
|
package/changelog/v1.json
CHANGED
@@ -1,4 +1,22 @@
|
|
1
1
|
[
|
2
|
+
{
|
3
|
+
"children": {
|
4
|
+
"improvements": [
|
5
|
+
"Fix setting window layout size, update i18n."
|
6
|
+
]
|
7
|
+
},
|
8
|
+
"date": "2025-07-28",
|
9
|
+
"version": "1.104.4"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"children": {
|
13
|
+
"improvements": [
|
14
|
+
"Add Gemini 2.5 Flash-Lite GA model."
|
15
|
+
]
|
16
|
+
},
|
17
|
+
"date": "2025-07-26",
|
18
|
+
"version": "1.104.3"
|
19
|
+
},
|
2
20
|
{
|
3
21
|
"children": {
|
4
22
|
"fixes": [
|
package/locales/ar/models.json
CHANGED
@@ -1100,6 +1100,9 @@
|
|
1100
1100
|
"gemini-2.5-flash": {
|
1101
1101
|
"description": "Gemini 2.5 Flash هو نموذج Google الأكثر فعالية من حيث التكلفة، ويوفر وظائف شاملة."
|
1102
1102
|
},
|
1103
|
+
"gemini-2.5-flash-lite": {
|
1104
|
+
"description": "Gemini 2.5 Flash-Lite هو أصغر وأفضل نموذج من حيث التكلفة من Google، مصمم للاستخدام على نطاق واسع."
|
1105
|
+
},
|
1103
1106
|
"gemini-2.5-flash-lite-preview-06-17": {
|
1104
1107
|
"description": "Gemini 2.5 Flash-Lite Preview هو أصغر وأكفأ نموذج من Google، مصمم للاستخدام واسع النطاق."
|
1105
1108
|
},
|
@@ -1100,6 +1100,9 @@
|
|
1100
1100
|
"gemini-2.5-flash": {
|
1101
1101
|
"description": "Gemini 2.5 Flash е най-ефективният модел на Google, предлагащ пълна функционалност."
|
1102
1102
|
},
|
1103
|
+
"gemini-2.5-flash-lite": {
|
1104
|
+
"description": "Gemini 2.5 Flash-Lite е най-малкият и най-ефективен модел на Google, създаден специално за масово използване."
|
1105
|
+
},
|
1103
1106
|
"gemini-2.5-flash-lite-preview-06-17": {
|
1104
1107
|
"description": "Gemini 2.5 Flash-Lite Preview е най-малкият и най-ефективен модел на Google, проектиран за мащабна употреба."
|
1105
1108
|
},
|
@@ -1100,6 +1100,9 @@
|
|
1100
1100
|
"gemini-2.5-flash": {
|
1101
1101
|
"description": "Gemini 2.5 Flash ist Googles kosteneffizientestes Modell und bietet umfassende Funktionen."
|
1102
1102
|
},
|
1103
|
+
"gemini-2.5-flash-lite": {
|
1104
|
+
"description": "Gemini 2.5 Flash-Lite ist Googles kleinstes und kosteneffizientestes Modell, das speziell für den großflächigen Einsatz entwickelt wurde."
|
1105
|
+
},
|
1103
1106
|
"gemini-2.5-flash-lite-preview-06-17": {
|
1104
1107
|
"description": "Gemini 2.5 Flash-Lite Preview ist Googles kleinstes und kosteneffizientestes Modell, speziell für den großflächigen Einsatz konzipiert."
|
1105
1108
|
},
|
@@ -1100,6 +1100,9 @@
|
|
1100
1100
|
"gemini-2.5-flash": {
|
1101
1101
|
"description": "Gemini 2.5 Flash is Google's most cost-effective model, offering comprehensive capabilities."
|
1102
1102
|
},
|
1103
|
+
"gemini-2.5-flash-lite": {
|
1104
|
+
"description": "Gemini 2.5 Flash-Lite is Google's smallest and most cost-effective model, designed for large-scale use."
|
1105
|
+
},
|
1103
1106
|
"gemini-2.5-flash-lite-preview-06-17": {
|
1104
1107
|
"description": "Gemini 2.5 Flash-Lite Preview is Google's smallest and most cost-efficient model, designed for large-scale usage."
|
1105
1108
|
},
|
@@ -1100,6 +1100,9 @@
|
|
1100
1100
|
"gemini-2.5-flash": {
|
1101
1101
|
"description": "Gemini 2.5 Flash es el modelo de mejor relación calidad-precio de Google, que ofrece funcionalidades completas."
|
1102
1102
|
},
|
1103
|
+
"gemini-2.5-flash-lite": {
|
1104
|
+
"description": "Gemini 2.5 Flash-Lite es el modelo más pequeño y rentable de Google, diseñado para un uso a gran escala."
|
1105
|
+
},
|
1103
1106
|
"gemini-2.5-flash-lite-preview-06-17": {
|
1104
1107
|
"description": "Gemini 2.5 Flash-Lite Preview es el modelo más pequeño y con mejor relación calidad-precio de Google, diseñado para un uso a gran escala."
|
1105
1108
|
},
|
@@ -1100,6 +1100,9 @@
|
|
1100
1100
|
"gemini-2.5-flash": {
|
1101
1101
|
"description": "Gemini 2.5 Flash مدل با بهترین نسبت قیمت به کارایی گوگل است که امکانات جامع را ارائه میدهد."
|
1102
1102
|
},
|
1103
|
+
"gemini-2.5-flash-lite": {
|
1104
|
+
"description": "Gemini 2.5 Flash-Lite کوچکترین و مقرونبهصرفهترین مدل گوگل است که برای استفاده در مقیاس وسیع طراحی شده است."
|
1105
|
+
},
|
1103
1106
|
"gemini-2.5-flash-lite-preview-06-17": {
|
1104
1107
|
"description": "Gemini 2.5 Flash-Lite Preview کوچکترین و مقرونبهصرفهترین مدل گوگل است که برای استفاده در مقیاس بزرگ طراحی شده است."
|
1105
1108
|
},
|
@@ -1100,6 +1100,9 @@
|
|
1100
1100
|
"gemini-2.5-flash": {
|
1101
1101
|
"description": "Gemini 2.5 Flash est le modèle le plus rentable de Google, offrant des fonctionnalités complètes."
|
1102
1102
|
},
|
1103
|
+
"gemini-2.5-flash-lite": {
|
1104
|
+
"description": "Gemini 2.5 Flash-Lite est le modèle le plus petit et le plus rentable de Google, conçu pour une utilisation à grande échelle."
|
1105
|
+
},
|
1103
1106
|
"gemini-2.5-flash-lite-preview-06-17": {
|
1104
1107
|
"description": "Gemini 2.5 Flash-Lite Preview est le modèle le plus compact et rentable de Google, conçu pour une utilisation à grande échelle."
|
1105
1108
|
},
|
@@ -1100,6 +1100,9 @@
|
|
1100
1100
|
"gemini-2.5-flash": {
|
1101
1101
|
"description": "Gemini 2.5 Flash è il modello Google con il miglior rapporto qualità-prezzo, offrendo funzionalità complete."
|
1102
1102
|
},
|
1103
|
+
"gemini-2.5-flash-lite": {
|
1104
|
+
"description": "Gemini 2.5 Flash-Lite è il modello più piccolo e conveniente di Google, progettato per un utilizzo su larga scala."
|
1105
|
+
},
|
1103
1106
|
"gemini-2.5-flash-lite-preview-06-17": {
|
1104
1107
|
"description": "Gemini 2.5 Flash-Lite Preview è il modello Google più piccolo e con il miglior rapporto qualità-prezzo, progettato per un utilizzo su larga scala."
|
1105
1108
|
},
|
@@ -1100,6 +1100,9 @@
|
|
1100
1100
|
"gemini-2.5-flash": {
|
1101
1101
|
"description": "Gemini 2.5 FlashはGoogleのコストパフォーマンスに優れたモデルで、包括的な機能を提供します。"
|
1102
1102
|
},
|
1103
|
+
"gemini-2.5-flash-lite": {
|
1104
|
+
"description": "Gemini 2.5 Flash-Lite は、Google の中で最も小さく、コストパフォーマンスに優れたモデルであり、大規模な利用を目的に設計されています。"
|
1105
|
+
},
|
1103
1106
|
"gemini-2.5-flash-lite-preview-06-17": {
|
1104
1107
|
"description": "Gemini 2.5 Flash-Lite PreviewはGoogleの最小かつコストパフォーマンスに優れたモデルで、大規模利用を目的に設計されています。"
|
1105
1108
|
},
|
@@ -1100,6 +1100,9 @@
|
|
1100
1100
|
"gemini-2.5-flash": {
|
1101
1101
|
"description": "Gemini 2.5 Flash는 구글에서 가장 가성비가 뛰어난 모델로, 포괄적인 기능을 제공합니다."
|
1102
1102
|
},
|
1103
|
+
"gemini-2.5-flash-lite": {
|
1104
|
+
"description": "Gemini 2.5 Flash-Lite는 Google의 가장 작고 가성비가 뛰어난 모델로, 대규모 사용을 위해 설계되었습니다."
|
1105
|
+
},
|
1103
1106
|
"gemini-2.5-flash-lite-preview-06-17": {
|
1104
1107
|
"description": "Gemini 2.5 Flash-Lite Preview는 구글의 가장 작고 가성비가 뛰어난 모델로, 대규모 사용을 위해 설계되었습니다."
|
1105
1108
|
},
|
@@ -1100,6 +1100,9 @@
|
|
1100
1100
|
"gemini-2.5-flash": {
|
1101
1101
|
"description": "Gemini 2.5 Flash is het meest kosteneffectieve model van Google en biedt uitgebreide functionaliteiten."
|
1102
1102
|
},
|
1103
|
+
"gemini-2.5-flash-lite": {
|
1104
|
+
"description": "Gemini 2.5 Flash-Lite is het kleinste en meest kosteneffectieve model van Google, speciaal ontworpen voor grootschalig gebruik."
|
1105
|
+
},
|
1103
1106
|
"gemini-2.5-flash-lite-preview-06-17": {
|
1104
1107
|
"description": "Gemini 2.5 Flash-Lite Preview is het kleinste en meest kosteneffectieve model van Google, speciaal ontworpen voor grootschalig gebruik."
|
1105
1108
|
},
|
@@ -1100,6 +1100,9 @@
|
|
1100
1100
|
"gemini-2.5-flash": {
|
1101
1101
|
"description": "Gemini 2.5 Flash to najbardziej opłacalny model Google, oferujący wszechstronne funkcje."
|
1102
1102
|
},
|
1103
|
+
"gemini-2.5-flash-lite": {
|
1104
|
+
"description": "Gemini 2.5 Flash-Lite to najmniejszy i najbardziej opłacalny model Google, zaprojektowany z myślą o szerokim zastosowaniu."
|
1105
|
+
},
|
1103
1106
|
"gemini-2.5-flash-lite-preview-06-17": {
|
1104
1107
|
"description": "Gemini 2.5 Flash-Lite Preview to najmniejszy i najbardziej opłacalny model Google, zaprojektowany z myślą o masowym zastosowaniu."
|
1105
1108
|
},
|
@@ -1100,6 +1100,9 @@
|
|
1100
1100
|
"gemini-2.5-flash": {
|
1101
1101
|
"description": "Gemini 2.5 Flash é o modelo com melhor custo-benefício do Google, oferecendo funcionalidades abrangentes."
|
1102
1102
|
},
|
1103
|
+
"gemini-2.5-flash-lite": {
|
1104
|
+
"description": "Gemini 2.5 Flash-Lite é o modelo mais compacto e com melhor custo-benefício do Google, projetado para uso em larga escala."
|
1105
|
+
},
|
1103
1106
|
"gemini-2.5-flash-lite-preview-06-17": {
|
1104
1107
|
"description": "Gemini 2.5 Flash-Lite Preview é o modelo mais compacto e com melhor custo-benefício do Google, projetado para uso em larga escala."
|
1105
1108
|
},
|
@@ -1100,6 +1100,9 @@
|
|
1100
1100
|
"gemini-2.5-flash": {
|
1101
1101
|
"description": "Gemini 2.5 Flash — самая экономичная модель Google, предоставляющая полный набор функций."
|
1102
1102
|
},
|
1103
|
+
"gemini-2.5-flash-lite": {
|
1104
|
+
"description": "Gemini 2.5 Flash-Lite — это самая компактная и экономичная модель от Google, разработанная для масштабного использования."
|
1105
|
+
},
|
1103
1106
|
"gemini-2.5-flash-lite-preview-06-17": {
|
1104
1107
|
"description": "Gemini 2.5 Flash-Lite Preview — самая компактная и экономичная модель Google, разработанная для масштабного использования."
|
1105
1108
|
},
|
@@ -1100,6 +1100,9 @@
|
|
1100
1100
|
"gemini-2.5-flash": {
|
1101
1101
|
"description": "Gemini 2.5 Flash, Google'ın en yüksek maliyet-performans modelidir ve kapsamlı özellikler sunar."
|
1102
1102
|
},
|
1103
|
+
"gemini-2.5-flash-lite": {
|
1104
|
+
"description": "Gemini 2.5 Flash-Lite, Google'ın en küçük ve en uygun maliyetli modeli olup, geniş çaplı kullanım için tasarlanmıştır."
|
1105
|
+
},
|
1103
1106
|
"gemini-2.5-flash-lite-preview-06-17": {
|
1104
1107
|
"description": "Gemini 2.5 Flash-Lite Önizlemesi, Google'ın en küçük ve en yüksek maliyet-performans modelidir ve büyük ölçekli kullanım için tasarlanmıştır."
|
1105
1108
|
},
|
@@ -1100,6 +1100,9 @@
|
|
1100
1100
|
"gemini-2.5-flash": {
|
1101
1101
|
"description": "Gemini 2.5 Flash là mô hình có hiệu suất chi phí tốt nhất của Google, cung cấp đầy đủ các chức năng."
|
1102
1102
|
},
|
1103
|
+
"gemini-2.5-flash-lite": {
|
1104
|
+
"description": "Gemini 2.5 Flash-Lite là mô hình nhỏ nhất và có hiệu suất chi phí tốt nhất của Google, được thiết kế dành cho việc sử dụng quy mô lớn."
|
1105
|
+
},
|
1103
1106
|
"gemini-2.5-flash-lite-preview-06-17": {
|
1104
1107
|
"description": "Gemini 2.5 Flash-Lite Preview là mô hình nhỏ nhất và có hiệu suất chi phí tốt nhất của Google, được thiết kế dành cho sử dụng quy mô lớn."
|
1105
1108
|
},
|
@@ -1100,6 +1100,9 @@
|
|
1100
1100
|
"gemini-2.5-flash": {
|
1101
1101
|
"description": "Gemini 2.5 Flash 是 Google 性价比最高的模型,提供全面的功能。"
|
1102
1102
|
},
|
1103
|
+
"gemini-2.5-flash-lite": {
|
1104
|
+
"description": "Gemini 2.5 Flash-Lite 是 Google 最小、性价比最高的模型,专为大规模使用而设计。"
|
1105
|
+
},
|
1103
1106
|
"gemini-2.5-flash-lite-preview-06-17": {
|
1104
1107
|
"description": "Gemini 2.5 Flash-Lite Preview 是 Google 最小、性价比最高的模型,专为大规模使用而设计。"
|
1105
1108
|
},
|
@@ -1100,6 +1100,9 @@
|
|
1100
1100
|
"gemini-2.5-flash": {
|
1101
1101
|
"description": "Gemini 2.5 Flash 是 Google 性價比最高的模型,提供全面的功能。"
|
1102
1102
|
},
|
1103
|
+
"gemini-2.5-flash-lite": {
|
1104
|
+
"description": "Gemini 2.5 Flash-Lite 是 Google 最小、性價比最高的模型,專為大規模使用而設計。"
|
1105
|
+
},
|
1103
1106
|
"gemini-2.5-flash-lite-preview-06-17": {
|
1104
1107
|
"description": "Gemini 2.5 Flash-Lite Preview 是 Google 最小、性價比最高的模型,專為大規模使用而設計。"
|
1105
1108
|
},
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.104.
|
3
|
+
"version": "1.104.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",
|
@@ -153,7 +153,7 @@
|
|
153
153
|
"@lobehub/icons": "^2.17.0",
|
154
154
|
"@lobehub/market-sdk": "^0.22.7",
|
155
155
|
"@lobehub/tts": "^2.0.1",
|
156
|
-
"@lobehub/ui": "^2.7.
|
156
|
+
"@lobehub/ui": "^2.7.5",
|
157
157
|
"@modelcontextprotocol/sdk": "^1.16.0",
|
158
158
|
"@neondatabase/serverless": "^1.0.1",
|
159
159
|
"@next/third-parties": "^15.4.3",
|
@@ -241,7 +241,7 @@
|
|
241
241
|
"react-fast-marquee": "^1.6.5",
|
242
242
|
"react-hotkeys-hook": "^5.1.0",
|
243
243
|
"react-i18next": "^15.6.1",
|
244
|
-
"react-layout-kit": "^
|
244
|
+
"react-layout-kit": "^2.0.0",
|
245
245
|
"react-lazy-load": "^4.0.1",
|
246
246
|
"react-pdf": "^9.2.1",
|
247
247
|
"react-rnd": "^10.5.2",
|
@@ -36,8 +36,7 @@ const Layout = memo<LayoutProps>(({ children, category }) => {
|
|
36
36
|
height={'100%'}
|
37
37
|
horizontal={md}
|
38
38
|
ref={ref}
|
39
|
-
style={{ background: theme.colorBgContainer, position: 'relative' }}
|
40
|
-
width={'100%'}
|
39
|
+
style={{ background: theme.colorBgContainer, flex: '1', position: 'relative', width: '0' }}
|
41
40
|
>
|
42
41
|
{md ? (
|
43
42
|
<SideBar>{category}</SideBar>
|
@@ -32,6 +32,11 @@ const RootLayout = async ({ children, params, modal }: RootLayoutProps) => {
|
|
32
32
|
|
33
33
|
return (
|
34
34
|
<html dir={direction} lang={locale} suppressHydrationWarning>
|
35
|
+
<head>
|
36
|
+
{process.env.DEBUG_REACT_SCAN === '1' && (
|
37
|
+
<script crossOrigin="anonymous" src="https://unpkg.com/react-scan/dist/auto.global.js" />
|
38
|
+
)}
|
39
|
+
</head>
|
35
40
|
<body>
|
36
41
|
<NuqsAdapter>
|
37
42
|
<GlobalProvider
|
@@ -17,6 +17,7 @@ const googleChatModels: AIChatModelCard[] = [
|
|
17
17
|
id: 'gemini-2.5-pro',
|
18
18
|
maxOutput: 65_536,
|
19
19
|
pricing: {
|
20
|
+
cachedInput: 0.31, // prompts <= 200k tokens
|
20
21
|
input: 1.25, // prompts <= 200k tokens
|
21
22
|
output: 10, // prompts <= 200k tokens
|
22
23
|
},
|
@@ -177,6 +178,32 @@ const googleChatModels: AIChatModelCard[] = [
|
|
177
178
|
},
|
178
179
|
type: 'chat',
|
179
180
|
},
|
181
|
+
{
|
182
|
+
abilities: {
|
183
|
+
functionCall: true,
|
184
|
+
reasoning: true,
|
185
|
+
search: true,
|
186
|
+
vision: true,
|
187
|
+
},
|
188
|
+
contextWindowTokens: 1_048_576 + 65_536,
|
189
|
+
description: 'Gemini 2.5 Flash-Lite 是 Google 最小、性价比最高的模型,专为大规模使用而设计。',
|
190
|
+
displayName: 'Gemini 2.5 Flash-Lite',
|
191
|
+
enabled: true,
|
192
|
+
id: 'gemini-2.5-flash-lite',
|
193
|
+
maxOutput: 65_536,
|
194
|
+
pricing: {
|
195
|
+
cachedInput: 0.025,
|
196
|
+
input: 0.1,
|
197
|
+
output: 0.4,
|
198
|
+
},
|
199
|
+
releasedAt: '2025-07-22',
|
200
|
+
settings: {
|
201
|
+
extendParams: ['thinkingBudget'],
|
202
|
+
searchImpl: 'params',
|
203
|
+
searchProvider: 'google',
|
204
|
+
},
|
205
|
+
type: 'chat',
|
206
|
+
},
|
180
207
|
{
|
181
208
|
abilities: {
|
182
209
|
functionCall: true,
|
@@ -17,6 +17,7 @@ const vertexaiChatModels: AIChatModelCard[] = [
|
|
17
17
|
id: 'gemini-2.5-pro',
|
18
18
|
maxOutput: 65_536,
|
19
19
|
pricing: {
|
20
|
+
cachedInput: 0.31, // prompts <= 200k tokens
|
20
21
|
input: 1.25, // prompts <= 200k tokens
|
21
22
|
output: 10, // prompts <= 200k tokens
|
22
23
|
},
|
@@ -80,6 +81,7 @@ const vertexaiChatModels: AIChatModelCard[] = [
|
|
80
81
|
id: 'gemini-2.5-flash',
|
81
82
|
maxOutput: 65_536,
|
82
83
|
pricing: {
|
84
|
+
cachedInput: 0.075,
|
83
85
|
input: 0.3,
|
84
86
|
output: 2.5,
|
85
87
|
},
|
@@ -109,6 +111,31 @@ const vertexaiChatModels: AIChatModelCard[] = [
|
|
109
111
|
releasedAt: '2025-04-17',
|
110
112
|
type: 'chat',
|
111
113
|
},
|
114
|
+
{
|
115
|
+
abilities: {
|
116
|
+
functionCall: true,
|
117
|
+
reasoning: true,
|
118
|
+
search: true,
|
119
|
+
vision: true,
|
120
|
+
},
|
121
|
+
contextWindowTokens: 1_000_000 + 64_000,
|
122
|
+
description: 'Gemini 2.5 Flash-Lite 是 Google 最小、性价比最高的模型,专为大规模使用而设计。',
|
123
|
+
displayName: 'Gemini 2.5 Flash-Lite',
|
124
|
+
enabled: true,
|
125
|
+
id: 'gemini-2.5-flash-lite',
|
126
|
+
maxOutput: 64_000,
|
127
|
+
pricing: {
|
128
|
+
cachedInput: 0.025,
|
129
|
+
input: 0.1,
|
130
|
+
output: 0.4,
|
131
|
+
},
|
132
|
+
releasedAt: '2025-07-22',
|
133
|
+
settings: {
|
134
|
+
searchImpl: 'params',
|
135
|
+
searchProvider: 'google',
|
136
|
+
},
|
137
|
+
type: 'chat',
|
138
|
+
},
|
112
139
|
{
|
113
140
|
abilities: {
|
114
141
|
functionCall: true,
|
@@ -13,7 +13,6 @@ import AppTheme from './AppTheme';
|
|
13
13
|
import ImportSettings from './ImportSettings';
|
14
14
|
import Locale from './Locale';
|
15
15
|
import QueryProvider from './Query';
|
16
|
-
import ReactScan from './ReactScan';
|
17
16
|
import StoreInitialization from './StoreInitialization';
|
18
17
|
import StyleRegistry from './StyleRegistry';
|
19
18
|
|
@@ -61,7 +60,6 @@ const GlobalLayout = async ({
|
|
61
60
|
<StoreInitialization />
|
62
61
|
<Suspense>
|
63
62
|
<ImportSettings />
|
64
|
-
<ReactScan />
|
65
63
|
{process.env.NODE_ENV === 'development' && <DevPanel />}
|
66
64
|
</Suspense>
|
67
65
|
</ServerConfigStoreProvider>
|
@@ -1,15 +0,0 @@
|
|
1
|
-
'use client';
|
2
|
-
|
3
|
-
import Script from 'next/script';
|
4
|
-
import { useQueryState } from 'nuqs';
|
5
|
-
import React, { memo } from 'react';
|
6
|
-
|
7
|
-
import { withSuspense } from '@/components/withSuspense';
|
8
|
-
|
9
|
-
const ReactScan = memo(() => {
|
10
|
-
const [debug] = useQueryState('debug', { clearOnDefault: true, defaultValue: '' });
|
11
|
-
|
12
|
-
return !!debug && <Script src="https://unpkg.com/react-scan/dist/auto.global.js" />;
|
13
|
-
});
|
14
|
-
|
15
|
-
export default withSuspense(ReactScan);
|