@lobehub/chat 1.22.8 → 1.22.10

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,48 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.22.10](https://github.com/lobehub/lobe-chat/compare/v1.22.9...v1.22.10)
6
+
7
+ <sup>Released on **2024-10-20**</sup>
8
+
9
+ <br/>
10
+
11
+ <details>
12
+ <summary><kbd>Improvements and Fixes</kbd></summary>
13
+
14
+ </details>
15
+
16
+ <div align="right">
17
+
18
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
19
+
20
+ </div>
21
+
22
+ ### [Version 1.22.9](https://github.com/lobehub/lobe-chat/compare/v1.22.8...v1.22.9)
23
+
24
+ <sup>Released on **2024-10-18**</sup>
25
+
26
+ #### 💄 Styles
27
+
28
+ - **misc**: Update Fireworks AI model list.
29
+
30
+ <br/>
31
+
32
+ <details>
33
+ <summary><kbd>Improvements and Fixes</kbd></summary>
34
+
35
+ #### Styles
36
+
37
+ - **misc**: Update Fireworks AI model list, closes [#4394](https://github.com/lobehub/lobe-chat/issues/4394) ([fe8ffdd](https://github.com/lobehub/lobe-chat/commit/fe8ffdd))
38
+
39
+ </details>
40
+
41
+ <div align="right">
42
+
43
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
44
+
45
+ </div>
46
+
5
47
  ### [Version 1.22.8](https://github.com/lobehub/lobe-chat/compare/v1.22.7...v1.22.8)
6
48
 
7
49
  <sup>Released on **2024-10-17**</sup>
package/README.md CHANGED
@@ -439,15 +439,15 @@ Beside these features, LobeChat also have much better basic technique undergroun
439
439
 
440
440
  ## 🛳 Self Hosting
441
441
 
442
- LobeChat provides Self-Hosted Version with Vercel and [Docker Image][docker-release-link]. This allows you to deploy your own chatbot within a few minutes without any prior knowledge.
442
+ LobeChat provides Self-Hosted Version with Vercel, Alibaba Cloud, and [Docker Image][docker-release-link]. This allows you to deploy your own chatbot within a few minutes without any prior knowledge.
443
443
 
444
444
  > \[!TIP]
445
445
  >
446
446
  > Learn more about [📘 Build your own LobeChat][docs-self-hosting] by checking it out.
447
447
 
448
- ### `A` Deploying with Vercel, Zeabur or Sealos
448
+ ### `A` Deploying with Vercel, Zeabur , Sealos or Alibaba Cloud
449
449
 
450
- If you want to deploy this service yourself on either Vercel or Zeabur, you can follow these steps:
450
+ "If you want to deploy this service yourself on Vercel, Zeabur or Alibaba Cloud, you can follow these steps:
451
451
 
452
452
  - Prepare your [OpenAI API Key](https://platform.openai.com/account/api-keys).
453
453
  - Click the button below to start deployment: Log in directly with your GitHub account, and remember to fill in the `OPENAI_API_KEY`(required) and `ACCESS_CODE` (recommended) on the environment variable section.
@@ -456,9 +456,9 @@ If you want to deploy this service yourself on either Vercel or Zeabur, you can
456
456
 
457
457
  <div align="center">
458
458
 
459
- | Deploy with Vercel | Deploy with Zeabur | Deploy with Sealos | Deploy with RepoCloud |
460
- | :-------------------------------------: | :---------------------------------------------------------: | :---------------------------------------------------------: | :---------------------------------------------------------------: |
461
- | [![][deploy-button-image]][deploy-link] | [![][deploy-on-zeabur-button-image]][deploy-on-zeabur-link] | [![][deploy-on-sealos-button-image]][deploy-on-sealos-link] | [![][deploy-on-repocloud-button-image]][deploy-on-repocloud-link] |
459
+ | Deploy with Vercel | Deploy with Zeabur | Deploy with Sealos | Deploy with RepoCloud | Deploy with Alibaba Cloud |
460
+ |:---------------------------------------:|:-----------------------------------------------------------:|:-----------------------------------------------------------:|:-----------------------------------------------------------------:|:-------------------------------------------------------------------------:|
461
+ | [![][deploy-button-image]][deploy-link] | [![][deploy-on-zeabur-button-image]][deploy-on-zeabur-link] | [![][deploy-on-sealos-button-image]][deploy-on-sealos-link] | [![][deploy-on-repocloud-button-image]][deploy-on-repocloud-link] | [![][deploy-on-alibaba-cloud-button-image]][deploy-on-alibaba-cloud-link] |
462
462
 
463
463
  </div>
464
464
 
@@ -711,6 +711,8 @@ This project is [Apache 2.0](./LICENSE) licensed.
711
711
  [deploy-on-sealos-link]: https://cloud.sealos.io/?openapp=system-template%3FtemplateName%3Dlobe-chat
712
712
  [deploy-on-zeabur-button-image]: https://zeabur.com/button.svg
713
713
  [deploy-on-zeabur-link]: https://zeabur.com/templates/VZGGTI
714
+ [deploy-on-alibaba-cloud-button-image]: https://service-info-public.oss-cn-hangzhou.aliyuncs.com/computenest-en.svg
715
+ [deploy-on-alibaba-cloud-link]: https://computenest.console.aliyun.com/service/instance/create/default?type=user&ServiceName=LobeChat%E7%A4%BE%E5%8C%BA%E7%89%88
714
716
  [discord-link]: https://discord.gg/AYFPHvv2jT
715
717
  [discord-shield]: https://img.shields.io/discord/1127171173982154893?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square
716
718
  [discord-shield-badge]: https://img.shields.io/discord/1127171173982154893?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge
package/README.zh-CN.md CHANGED
@@ -153,6 +153,7 @@ LobeChat 支持文件上传与知识库功能,你可以上传文件、图片
153
153
  - **Minimax**: 接入了 Minimax 的 AI 模型,包括 MoE 模型 **abab6**,提供了更多的选择空间。[了解更多](https://www.minimaxi.com/)
154
154
  - **DeepSeek**: 接入了 DeepSeek 的 AI 模型,包括最新的 **DeepSeek-V2**,提供兼顾性能与价格的模型。[了解更多](https://www.deepseek.com/)
155
155
  - **Qwen**: 接入了 Qwen 的 AI 模型,包括最新的 **qwen-turbo**,**qwen-plus** 和 **qwen-max** 等模型。[了解更多](https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction)
156
+ - **Novita AI**: 性价比最高的开源模型供应商,支持 **Llama**,**Mistral** 系列等最前沿的开源模型。在情感陪伴等场景表现优异,无任何内容限制或审查。 [了解更多](https://novita.ai/model-api/product/llm-api?utm_source=lobechat&utm_medium=ch&utm_campaign=api)
156
157
 
157
158
  同时,我们也在计划支持更多的模型服务商,如 Replicate 和 Perplexity 等,以进一步丰富我们的服务商库。如果你希望让 LobeChat 支持你喜爱的服务商,欢迎加入我们的[社区讨论](https://github.com/lobehub/lobe-chat/discussions/1284)。
158
159
 
@@ -0,0 +1,33 @@
1
+ ---
2
+ title: Deploy LobeChat on Alibaba Cloud
3
+ description: Learn how to deploy the LobeChat application on Alibaba Cloud, including preparing the large model API Key, clicking the deploy button, and other operations.
4
+ tags:
5
+ - Alibaba Cloud
6
+ - LobeChat
7
+ - Alibaba Cloud Compute Nest
8
+ - API Key
9
+ ---
10
+
11
+ # Deploy LobeChat with Alibaba Cloud
12
+
13
+ If you want to deploy LobeChat on Alibaba Cloud, you can follow the steps below:
14
+
15
+ ## Alibaba Cloud Deployment Process
16
+
17
+ <Steps>
18
+
19
+ ### Prepare your API Key
20
+
21
+ Go to [OpenAI API Key](https://platform.openai.com/account/api-keys) to get your OpenAI API Key.
22
+ Or go to [Tongyi Qianwen API Key](https://bailian.console.aliyun.com/?apiKey=1#/api-key) to get your API Key.
23
+
24
+ ### One-click to deploy
25
+
26
+ [![][deploy-button-image]][deploy-link]
27
+
28
+ ### Once deployed, you can start using it
29
+
30
+ </Steps>
31
+
32
+ [deploy-button-image]: https://service-info-public.oss-cn-hangzhou.aliyuncs.com/computenest-en.svg
33
+ [deploy-link]: https://computenest.console.aliyun.com/service/instance/create/default?type=user&ServiceName=LobeChat%E7%A4%BE%E5%8C%BA%E7%89%88
@@ -0,0 +1,33 @@
1
+ ---
2
+ title: 在 阿里云 上部署 LobeChat
3
+ description: 学习如何在阿里云上部署LobeChat应用,包括准备大模型 API Key、点击部署按钮等操作。
4
+ tags:
5
+ - 阿里云
6
+ - LobeChat
7
+ - 部署流程
8
+ - 大模型 API Key
9
+ ---
10
+
11
+ # 使用 阿里云计算巢 部署
12
+
13
+ 如果想在 阿里云 上部署 LobeChat,可以按照以下步骤进行操作:
14
+
15
+ ## 阿里云 部署流程
16
+
17
+ <Steps>
18
+
19
+ ### 准备好你的 API Key
20
+
21
+ 前往 [OpenAI API Key](https://platform.openai.com/account/api-keys) 获取你的 OpenAI API Key
22
+ 或 前往 [通义千问 API Key](https://bailian.console.aliyun.com/?apiKey=1#/api-key) 获取你的通义千问 API Key
23
+
24
+ ### 点击下方按钮进行部署
25
+
26
+ [![][deploy-button-image]][deploy-link]
27
+
28
+ ### 部署完毕后,即可开始使用
29
+
30
+ </Steps>
31
+
32
+ [deploy-button-image]: https://service-info-public.oss-cn-hangzhou.aliyuncs.com/computenest-en.svg
33
+ [deploy-link]: https://computenest.console.aliyun.com/service/instance/create/default?type=user&ServiceName=LobeChat%E7%A4%BE%E5%8C%BA%E7%89%88
@@ -9,6 +9,7 @@ tags:
9
9
  - Vercel
10
10
  - Docker
11
11
  - Docker Compose
12
+ - Alibaba Cloud
12
13
  ---
13
14
  # Build Your Own Lobe Chat
14
15
 
@@ -9,12 +9,13 @@ tags:
9
9
  - Docker
10
10
  - Netlify
11
11
  - Vercel
12
+ - 阿里云计算巢
12
13
  - 个性化
13
14
  ---
14
15
 
15
16
  # 构建属于自己的 Lobe Chat
16
17
 
17
- LobeChat 支持多种部署平台,包括 Vercel、Docker Docker Compose 等,你可以选择适合自己的部署平台进行部署,构建属于自己的 Lobe Chat。
18
+ LobeChat 支持多种部署平台,包括 Vercel、Docker Docker Compose 和 阿里云计算巢 等,你可以选择适合自己的部署平台进行部署,构建属于自己的 Lobe Chat。
18
19
 
19
20
  ## 快速部署
20
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.22.8",
3
+ "version": "1.22.10",
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",
@@ -99,74 +99,74 @@
99
99
  ]
100
100
  },
101
101
  "dependencies": {
102
- "@ant-design/icons": "^5.4.0",
103
- "@ant-design/pro-components": "^2.7.10",
104
- "@anthropic-ai/sdk": "^0.29.0",
102
+ "@ant-design/icons": "^5.5.1",
103
+ "@ant-design/pro-components": "^2.7.18",
104
+ "@anthropic-ai/sdk": "^0.29.2",
105
105
  "@auth/core": "^0.34.2",
106
- "@aws-sdk/client-bedrock-runtime": "^3.637.0",
107
- "@aws-sdk/client-s3": "^3.637.0",
108
- "@aws-sdk/s3-request-presigner": "^3.637.0",
106
+ "@aws-sdk/client-bedrock-runtime": "^3.675.0",
107
+ "@aws-sdk/client-s3": "^3.675.0",
108
+ "@aws-sdk/s3-request-presigner": "^3.675.0",
109
109
  "@azure/core-rest-pipeline": "1.16.0",
110
110
  "@azure/openai": "1.0.0-beta.12",
111
111
  "@baiducloud/qianfan": "^0.1.9",
112
- "@cfworker/json-schema": "^2.0.0",
113
- "@clerk/localizations": "^3.0.4",
114
- "@clerk/nextjs": "^5.3.3",
115
- "@clerk/themes": "^2.1.27",
116
- "@codesandbox/sandpack-react": "^2.19.8",
117
- "@cyntler/react-doc-viewer": "^1.16.6",
118
- "@google/generative-ai": "^0.16.0",
112
+ "@cfworker/json-schema": "^2.0.1",
113
+ "@clerk/localizations": "^3.3.0",
114
+ "@clerk/nextjs": "^5.7.5",
115
+ "@clerk/themes": "^2.1.37",
116
+ "@codesandbox/sandpack-react": "^2.19.9",
117
+ "@cyntler/react-doc-viewer": "^1.17.0",
118
+ "@google/generative-ai": "^0.16.1",
119
119
  "@huggingface/inference": "^2.8.1",
120
120
  "@icons-pack/react-simple-icons": "9.6.0",
121
121
  "@khmyznikov/pwa-install": "^0.3.9",
122
- "@langchain/community": "^0.2.31",
122
+ "@langchain/community": "^0.2.33",
123
123
  "@lobehub/chat-plugin-sdk": "^1.32.4",
124
124
  "@lobehub/chat-plugins-gateway": "^1.9.0",
125
- "@lobehub/icons": "^1.35.3",
126
- "@lobehub/tts": "^1.24.3",
127
- "@lobehub/ui": "^1.150.3",
128
- "@neondatabase/serverless": "^0.10.0",
129
- "@next/third-parties": "^14.2.6",
130
- "@react-spring/web": "^9.7.3",
131
- "@sentry/nextjs": "^7.119.0",
132
- "@serwist/next": "^9.0.8",
133
- "@t3-oss/env-nextjs": "^0.11.0",
134
- "@tanstack/react-query": "^5.52.1",
125
+ "@lobehub/icons": "^1.35.4",
126
+ "@lobehub/tts": "^1.25.1",
127
+ "@lobehub/ui": "^1.151.5",
128
+ "@neondatabase/serverless": "^0.10.1",
129
+ "@next/third-parties": "^14.2.15",
130
+ "@react-spring/web": "^9.7.5",
131
+ "@sentry/nextjs": "^7.119.2",
132
+ "@serwist/next": "^9.0.9",
133
+ "@t3-oss/env-nextjs": "^0.11.1",
134
+ "@tanstack/react-query": "^5.59.15",
135
135
  "@trpc/client": "next",
136
136
  "@trpc/next": "next",
137
137
  "@trpc/react-query": "next",
138
138
  "@trpc/server": "next",
139
139
  "@vercel/analytics": "^1.3.1",
140
- "@vercel/edge-config": "^1.2.1",
140
+ "@vercel/edge-config": "^1.3.0",
141
141
  "@vercel/speed-insights": "^1.0.12",
142
142
  "ahooks": "^3.8.1",
143
- "ai": "^3.3.16",
144
- "antd": "^5.21.1",
145
- "antd-style": "^3.6.3",
143
+ "ai": "^3.4.16",
144
+ "antd": "^5.21.4",
145
+ "antd-style": "^3.7.0",
146
146
  "brotli-wasm": "^3.0.1",
147
147
  "chroma-js": "^2.6.0",
148
148
  "dayjs": "^1.11.13",
149
- "debug": "^4.3.6",
149
+ "debug": "^4.3.7",
150
150
  "dexie": "^3.2.7",
151
151
  "diff": "^5.2.0",
152
- "drizzle-orm": "^0.34.0",
152
+ "drizzle-orm": "^0.34.1",
153
153
  "drizzle-zod": "^0.5.1",
154
154
  "fast-deep-equal": "^3.1.3",
155
- "file-type": "^19.4.1",
156
- "framer-motion": "^11.2.6",
157
- "gpt-tokenizer": "^2.2.1",
158
- "i18next": "^23.14.0",
155
+ "file-type": "^19.6.0",
156
+ "framer-motion": "^11.11.9",
157
+ "gpt-tokenizer": "^2.5.0",
158
+ "i18next": "^23.16.1",
159
159
  "i18next-browser-languagedetector": "^7.2.1",
160
160
  "i18next-resources-to-backend": "^1.2.1",
161
161
  "idb-keyval": "^6.2.1",
162
162
  "immer": "^10.1.1",
163
163
  "ip": "^2.0.1",
164
- "jose": "^5.7.0",
164
+ "jose": "^5.9.4",
165
165
  "js-sha256": "^0.11.0",
166
166
  "jsonl-parse-stringify": "^1.0.3",
167
- "langchain": "^0.3.0",
168
- "langfuse": "^3.19.0",
169
- "langfuse-core": "^3.19.0",
167
+ "langchain": "^0.3.2",
168
+ "langfuse": "^3.27.0",
169
+ "langfuse-core": "^3.27.0",
170
170
  "lodash-es": "^4.17.21",
171
171
  "lucide-react": "latest",
172
172
  "mammoth": "^1.8.0",
@@ -175,51 +175,51 @@
175
175
  "next": "14.2.8",
176
176
  "next-auth": "beta",
177
177
  "next-mdx-remote": "^4.4.1",
178
- "nextjs-toploader": "^3.6.15",
178
+ "nextjs-toploader": "^3.7.15",
179
179
  "numeral": "^2.0.6",
180
- "nuqs": "^1.17.8",
181
- "officeparser": "^4.1.1",
182
- "ollama": "^0.5.8",
183
- "openai": "^4.56.0",
184
- "openapi-fetch": "^0.9.7",
180
+ "nuqs": "^1.20.0",
181
+ "officeparser": "^4.2.0",
182
+ "ollama": "^0.5.9",
183
+ "openai": "^4.68.1",
184
+ "openapi-fetch": "^0.9.8",
185
185
  "partial-json": "^0.1.7",
186
186
  "pdf-parse": "^1.1.1",
187
187
  "pdfjs-dist": "4.4.168",
188
- "pg": "^8.12.0",
189
- "pino": "^9.3.2",
188
+ "pg": "^8.13.0",
189
+ "pino": "^9.5.0",
190
190
  "polished": "^4.3.1",
191
- "posthog-js": "^1.157.2",
192
- "pwa-install-handler": "^2.6.0",
193
- "query-string": "^9.1.0",
191
+ "posthog-js": "^1.174.2",
192
+ "pwa-install-handler": "^2.6.1",
193
+ "query-string": "^9.1.1",
194
194
  "random-words": "^2.0.1",
195
195
  "react": "^18.3.1",
196
196
  "react-confetti": "^6.1.0",
197
197
  "react-dom": "^18.3.1",
198
198
  "react-fast-marquee": "^1.6.5",
199
- "react-hotkeys-hook": "^4.5.0",
199
+ "react-hotkeys-hook": "^4.5.1",
200
200
  "react-i18next": "14.0.2",
201
201
  "react-layout-kit": "^1.9.0",
202
202
  "react-lazy-load": "^4.0.1",
203
- "react-pdf": "^9.1.0",
204
- "react-virtuoso": "^4.10.1",
203
+ "react-pdf": "^9.1.1",
204
+ "react-virtuoso": "^4.12.0",
205
205
  "react-wrap-balancer": "^1.1.1",
206
206
  "remark": "^14.0.3",
207
207
  "remark-gfm": "^3.0.1",
208
208
  "remark-html": "^15.0.2",
209
209
  "request-filtering-agent": "^2.0.1",
210
- "resolve-accept-language": "^3.1.5",
210
+ "resolve-accept-language": "^3.1.8",
211
211
  "rtl-detect": "^1.1.2",
212
212
  "semver": "^7.6.3",
213
213
  "sharp": "^0.33.5",
214
- "shiki": "^1.21.0",
215
- "stripe": "^15.8.0",
214
+ "shiki": "^1.22.0",
215
+ "stripe": "^15.12.0",
216
216
  "superjson": "^2.2.1",
217
- "svix": "^1.30.0",
217
+ "svix": "^1.37.0",
218
218
  "swr": "^2.2.5",
219
219
  "systemjs": "^6.15.1",
220
220
  "ts-md5": "^1.3.1",
221
- "ua-parser-js": "^1.0.38",
222
- "unstructured-client": "^0.18.0",
221
+ "ua-parser-js": "^1.0.39",
222
+ "unstructured-client": "^0.18.1",
223
223
  "url-join": "^5.0.0",
224
224
  "use-merge-value": "^1.2.0",
225
225
  "utility-types": "^3.11.0",
@@ -227,60 +227,60 @@
227
227
  "ws": "^8.18.0",
228
228
  "y-protocols": "^1.0.6",
229
229
  "y-webrtc": "^10.3.0",
230
- "yaml": "^2.5.0",
231
- "yjs": "^13.6.18",
230
+ "yaml": "^2.6.0",
231
+ "yjs": "^13.6.20",
232
232
  "zod": "^3.23.8",
233
233
  "zustand": "^4.5.5",
234
234
  "zustand-utils": "^1.3.2"
235
235
  },
236
236
  "devDependencies": {
237
- "@commitlint/cli": "^19.4.0",
238
- "@edge-runtime/vm": "^4.0.2",
239
- "@huggingface/tasks": "^0.12.12",
240
- "@lobehub/i18n-cli": "^1.19.1",
237
+ "@commitlint/cli": "^19.5.0",
238
+ "@edge-runtime/vm": "^4.0.3",
239
+ "@huggingface/tasks": "^0.12.22",
240
+ "@lobehub/i18n-cli": "^1.20.0",
241
241
  "@lobehub/lint": "^1.24.4",
242
242
  "@lobehub/seo-cli": "^1.4.2",
243
- "@next/bundle-analyzer": "^14.2.6",
244
- "@next/eslint-plugin-next": "^14.2.6",
243
+ "@next/bundle-analyzer": "^14.2.15",
244
+ "@next/eslint-plugin-next": "^14.2.15",
245
245
  "@peculiar/webcrypto": "^1.5.0",
246
- "@testing-library/jest-dom": "^6.4.8",
247
- "@testing-library/react": "^16.0.0",
246
+ "@testing-library/jest-dom": "^6.6.2",
247
+ "@testing-library/react": "^16.0.1",
248
248
  "@types/chroma-js": "^2.4.4",
249
249
  "@types/debug": "^4.1.12",
250
- "@types/diff": "^5.2.1",
250
+ "@types/diff": "^5.2.3",
251
251
  "@types/ip": "^1.1.3",
252
252
  "@types/json-schema": "^7.0.15",
253
- "@types/lodash": "^4.17.7",
253
+ "@types/lodash": "^4.17.12",
254
254
  "@types/lodash-es": "^4.17.12",
255
- "@types/node": "^20.16.1",
255
+ "@types/node": "^20.16.13",
256
256
  "@types/numeral": "^2.0.5",
257
- "@types/pg": "^8.11.6",
258
- "@types/react": "^18.3.4",
259
- "@types/react-dom": "^18.3.0",
257
+ "@types/pg": "^8.11.10",
258
+ "@types/react": "^18.3.11",
259
+ "@types/react-dom": "^18.3.1",
260
260
  "@types/rtl-detect": "^1.0.3",
261
261
  "@types/semver": "^7.5.8",
262
- "@types/systemjs": "^6.13.5",
262
+ "@types/systemjs": "^6.15.1",
263
263
  "@types/ua-parser-js": "^0.7.39",
264
264
  "@types/unist": "^3.0.3",
265
265
  "@types/uuid": "^10.0.0",
266
266
  "@types/ws": "^8.5.12",
267
267
  "@vitest/coverage-v8": "~1.2.2",
268
268
  "ajv-keywords": "^5.1.0",
269
- "commitlint": "^19.4.0",
269
+ "commitlint": "^19.5.0",
270
270
  "consola": "^3.2.3",
271
271
  "dotenv": "^16.4.5",
272
272
  "dpdm": "^3.14.0",
273
273
  "drizzle-kit": "^0.25.0",
274
- "eslint": "^8.57.0",
274
+ "eslint": "^8.57.1",
275
275
  "eslint-plugin-mdx": "^2.3.4",
276
276
  "eslint-plugin-unused-imports": "4.0.1",
277
277
  "fake-indexeddb": "^6.0.0",
278
278
  "glob": "^11.0.0",
279
279
  "gray-matter": "^4.0.3",
280
- "happy-dom": "^15.0.0",
281
- "husky": "^9.1.5",
280
+ "happy-dom": "^15.7.4",
281
+ "husky": "^9.1.6",
282
282
  "just-diff": "^6.0.2",
283
- "lint-staged": "^15.2.9",
283
+ "lint-staged": "^15.2.10",
284
284
  "lodash": "^4.17.21",
285
285
  "markdown-table": "^3.0.3",
286
286
  "node-fetch": "^3.3.2",
@@ -291,14 +291,14 @@
291
291
  "remark-cli": "^11.0.0",
292
292
  "remark-parse": "^10.0.2",
293
293
  "semantic-release": "^21.1.2",
294
- "serwist": "^9.0.8",
294
+ "serwist": "^9.0.9",
295
295
  "stylelint": "^15.11.0",
296
- "supports-color": "8",
297
- "tsx": "^4.17.0",
298
- "typescript": "^5.5.4",
296
+ "supports-color": "^8.1.1",
297
+ "tsx": "^4.19.1",
298
+ "typescript": "^5.6.3",
299
299
  "unified": "^11.0.5",
300
300
  "unist-util-visit": "^5.0.0",
301
- "vite": "^5.4.2",
301
+ "vite": "^5.4.9",
302
302
  "vitest": "~1.2.2",
303
303
  "vitest-canvas-mock": "^0.3.3"
304
304
  },
@@ -30,6 +30,40 @@ const FireworksAI: ModelProviderCard = {
30
30
  tokens: 4096,
31
31
  vision: true,
32
32
  },
33
+ {
34
+ description:
35
+ 'Llama 3.2 1B 指令模型是Meta推出的一款轻量级多语言模型。该模型旨在提高效率,与更大型的模型相比,在延迟和成本方面提供了显著的改进。该模型的示例用例包括检索和摘要。',
36
+ displayName: 'Llama 3.2 1B Instruct',
37
+ enabled: true,
38
+ id: 'accounts/fireworks/models/llama-v3p2-1b-instruct',
39
+ tokens: 131_072,
40
+ },
41
+ {
42
+ description:
43
+ 'Llama 3.2 3B 指令模型是Meta推出的一款轻量级多语言模型。该模型旨在提高效率,与更大型的模型相比,在延迟和成本方面提供了显著的改进。该模型的示例用例包括查询和提示重写以及写作辅助。',
44
+ displayName: 'Llama 3.2 3B Instruct',
45
+ enabled: true,
46
+ id: 'accounts/fireworks/models/llama-v3p2-3b-instruct',
47
+ tokens: 131_072,
48
+ },
49
+ {
50
+ description:
51
+ 'Meta的11B参数指令调整图像推理模型。该模型针对视觉识别、图像推理、图像描述和回答关于图像的一般性问题进行了优化。该模型能够理解视觉数据,如图表和图形,并通过生成文本描述图像细节来弥合视觉与语言之间的差距。',
52
+ displayName: 'Llama 3.2 11B Vision Instruct',
53
+ enabled: true,
54
+ id: 'accounts/fireworks/models/llama-v3p2-11b-vision-instruct',
55
+ tokens: 131_072,
56
+ vision: true,
57
+ },
58
+ {
59
+ description:
60
+ 'Meta的90B参数指令调整图像推理模型。该模型针对视觉识别、图像推理、图像描述和回答关于图像的一般性问题进行了优化。该模型能够理解视觉数据,如图表和图形,并通过生成文本描述图像细节来弥合视觉与语言之间的差距。',
61
+ displayName: 'Llama 3.2 90B Vision Instruct',
62
+ enabled: true,
63
+ id: 'accounts/fireworks/models/llama-v3p2-90b-vision-instruct',
64
+ tokens: 131_072,
65
+ vision: true,
66
+ },
33
67
  {
34
68
  description:
35
69
  'Llama 3.1 8B 指令模型,专为多语言对话优化,能够在常见行业基准上超越多数开源及闭源模型。',
@@ -87,15 +121,6 @@ const FireworksAI: ModelProviderCard = {
87
121
  id: 'accounts/fireworks/models/llama-v3-70b-instruct-hf',
88
122
  tokens: 8192,
89
123
  },
90
- {
91
- description:
92
- 'Gemma 2 9B 指令模型,基于之前的Google技术,适合回答问题、总结和推理等多种文本生成任务。',
93
- displayName: 'Gemma 2 9B Instruct',
94
- enabled: true,
95
- functionCall: false,
96
- id: 'accounts/fireworks/models/gemma2-9b-it',
97
- tokens: 8192,
98
- },
99
124
  {
100
125
  description: 'Mixtral MoE 8x7B 指令模型,多专家架构提供高效的指令跟随及执行。',
101
126
  displayName: 'Mixtral MoE 8x7B Instruct',
@@ -123,14 +148,22 @@ const FireworksAI: ModelProviderCard = {
123
148
  },
124
149
  {
125
150
  description:
126
- 'Phi 3 Vision 指令模型,轻量级多模态模型,能够处理复杂的视觉和文本信息,具备较强的推理能力。',
127
- displayName: 'Phi 3 Vision Instruct',
151
+ 'Phi-3-Vision-128K-Instruct 是一个轻量级的、最先进的开放多模态模型,它基于包括合成数据和经过筛选的公开网站在内的数据集构建,专注于非常高质量、推理密集型的数据,这些数据既包括文本也包括视觉。该模型属于 Phi-3 模型系列,其多模态版本支持 128K 的上下文长度(以标记为单位)。该模型经过严格的增强过程,结合了监督微调和直接偏好优化,以确保精确遵循指令和强大的安全措施。',
152
+ displayName: 'Phi 3.5 Vision Instruct',
128
153
  enabled: true,
129
154
  functionCall: false,
130
155
  id: 'accounts/fireworks/models/phi-3-vision-128k-instruct',
131
- tokens: 8192,
156
+ tokens: 32_064,
132
157
  vision: true,
133
158
  },
159
+ {
160
+ description: 'Qwen2.5 是由阿里云 Qwen 团队开发的一系列仅包含解码器的语言模型。这些模型提供不同的大小,包括 0.5B、1.5B、3B、7B、14B、32B 和 72B,并且有基础版(base)和指令版(instruct)两种变体。',
161
+ displayName: 'Qwen2.5 72B Instruct',
162
+ enabled: true,
163
+ functionCall: false,
164
+ id: 'accounts/fireworks/models/qwen2p5-72b-instruct',
165
+ tokens: 32_768,
166
+ },
134
167
  {
135
168
  description: 'Yi-Large 模型,具备卓越的多语言处理能力,可用于各类语言生成和理解任务。',
136
169
  displayName: 'Yi-Large',
@@ -14,7 +14,7 @@ const provider = {
14
14
  // TODO(NextAuth ENVs Migration): Remove once nextauth envs migration time end
15
15
  clientId: authEnv.AZURE_AD_CLIENT_ID ?? process.env.AUTH_AZURE_AD_ID,
16
16
  clientSecret: authEnv.AZURE_AD_CLIENT_SECRET ?? process.env.AUTH_AZURE_AD_SECRET,
17
- tenantId: authEnv.AZURE_AD_TENANT_ID ?? process.env.AUTH_AZURE_AD_TENANT_ID,
17
+ // tenantId: authEnv.AZURE_AD_TENANT_ID ?? process.env.AUTH_AZURE_AD_TENANT_ID,
18
18
  // Remove end
19
19
  // TODO(NextAuth): map unique user id to `providerAccountId` field
20
20
  // profile(profile) {