Skip to content

Commit c51395b

Browse files
c121914yunewfish-cmykcolniixqvvuctrlz526
authored
V4.12.0 features (#5435)
* add logs chart (#5352) * charts * chart data * log chart * delete * rename api * fix * move api * fix * fix * pro config * fix * feat: Repository interaction (#5356) * feat: 1好像功能没问题了,明天再测 * feat: 2 解决了昨天遗留的bug,但全选按钮又bug了 * feat: 3 第三版,解决了全选功能bug * feat: 4 第四版,下面改小细节 * feat: 5 我勒个痘 * feat: 6 * feat: 6 pr * feat: 7 * feat: 8 * feat: 9 * feat: 10 * feat: 11 * feat: 12 * perf: checkbox ui * refactor: tweak login loyout (#5357) Co-authored-by: Archer <545436317@qq.com> * login ui * app chat log chart pro display (#5392) * app chat log chart pro display * add canopen props * perf: pro tag tip * perf: pro tag tip * feat: openrouter provider (#5406) * perf: login ui * feat: openrouter provider * provider * perf: custom error throw * perf: emb batch (#5407) * perf: emb batch * perf: vector retry * doc * doc (#5411) * doc * fix: team folder will add to workflow * fix: generateToc shell * Tool price (#5376) * resolve conflicts for cherry-pick * fix i18n * Enhance system plugin template data structure and update ToolSelectModal to include CostTooltip component * refactor: update systemKeyCost type to support array of objects in plugin and workflow types * refactor: simplify systemKeyCost type across plugin and workflow types to a single number * refactor: streamline systemKeyCost handling in plugin and workflow components * fix * fix * perf: toolset price config;fix: workflow array selector ui (#5419) * fix: workflow array selector ui * update default model tip * perf: toolset price config * doc * fix: test * Refactor/chat (#5418) * refactor: add homepage configuration; add home chat page; add side bar animated collapse and layout * fix: fix lint rules * chore: improve logics and code * chore: more clearer logics * chore: adjust api --------- Co-authored-by: Archer <545436317@qq.com> * perf: chat setting code * del history * logo image * perf: home chat ui * feat: enhance chat response handling with external links and user info (#5427) * feat: enhance chat response handling with external links and user info * fix * cite code * perf: toolset add in workflow * fix: test * fix: search paraentId * Fix/chat (#5434) * wip: rebase了upstream * wip: adapt mobile UI * fix: fix chat page logic and UI * fix: fix UI and improve some logics * fix: model selector missing logo; vision model to retrieve file * perf: role selector * fix: chat ui * optimize export app chat log (#5436) * doc * chore: move components to proper directory; fix the api to get app list (#5437) * chore: improve team app panel display form (#5438) * feat: add home chat log tab * chore: improve team app panel display form * chore: improve log panel * fix: spec * doc * fix: log permission * fix: dataset schema required * add loading status * remove ui weight * manage log * fix: log detail per * doc * fix: log menu * rename permission * bg color * fix: app log per * fix: log key selector * fix: log * doc --------- Co-authored-by: heheer <zhiyu44@qq.com> Co-authored-by: colnii <1286949794@qq.com> Co-authored-by: 伍闲犬 <76519998+xqvvu@users.noreply.github.com> Co-authored-by: Ctrlz <143257420+ctrlz526@users.noreply.github.com> Co-authored-by: 伍闲犬 <whoeverimf5@gmail.com> Co-authored-by: heheer <heheer@sealos.io>
1 parent c6e5829 commit c51395b

File tree

239 files changed

+9339
-3131
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

239 files changed

+9339
-3131
lines changed

document/content/docs/introduction/development/faq.mdx

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ curl --location --request POST 'https://oneapi.xxx/v1/chat/completions' \
272272
--header 'Authorization: Bearer sk-xxxx' \
273273
--header 'Content-Type: application/json' \
274274
--data-raw '{
275-
"model": "gpt-4o-mini",
275+
"model": "gpt-5",
276276
"temperature": 0.01,
277277
"max_tokens": 8000,
278278
"stream": true,
@@ -306,19 +306,13 @@ curl --location --request POST 'https://oneapi.xxx/v1/chat/completions' \
306306

307307
```json
308308
{
309-
"id": "chatcmpl-A7kwo1rZ3OHYSeIFgfWYxu8X2koN3",
310-
"object": "chat.completion.chunk",
311-
"created": 1726412126,
312-
"model": "gpt-4o-mini-2024-07-18",
313-
"system_fingerprint": "fp_483d39d857",
314-
"choices": [
315-
{
316-
"index": 0,
317-
"delta": {
318-
"role": "assistant",
319-
"content": null,
320-
"tool_calls": [
321-
{
309+
"id": "chatcmpl-A7kwo1rZ3OHYSeIFgfWYxu8X2koN3",
310+
"object": "chat.completion.chunk",
311+
"created": 1726412126,
312+
"model": "gpt-5",
313+
"system_fingerprint": "fp_483d39d857",
314+
"choices": [
315+
{
322316
"index": 0,
323317
"id": "call_0n24eiFk8OUyIyrdEbLdirU7",
324318
"type": "function",
@@ -347,7 +341,7 @@ curl --location --request POST 'https://oneapi.xxxx/v1/chat/completions' \
347341
--header 'Authorization: Bearer sk-xxx' \
348342
--header 'Content-Type: application/json' \
349343
--data-raw '{
350-
"model": "gpt-4o-mini",
344+
"model": "gpt-5",
351345
"temperature": 0.01,
352346
"max_tokens": 8000,
353347
"stream": true,

document/content/docs/introduction/development/modelConfig/intro.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ import { Alert } from '@/components/docs/Alert';
9494
"isCustom": true, // 是否为自定义模型
9595
"isActive": true, // 是否启用
9696
"provider": "OpenAI", // 模型提供商,主要用于分类展示,目前已经内置提供商包括:https://github.com/labring/FastGPT/blob/main/packages/global/core/ai/provider.ts, 可 pr 提供新的提供商,或直接填写 Other
97-
"model": "gpt-4o-mini", // 模型ID(对应OneAPI中渠道的模型名)
98-
"name": "gpt-4o-mini", // 模型别名
97+
"model": "gpt-5", // 模型ID(对应OneAPI中渠道的模型名)
98+
"name": "gpt-5", // 模型别名
9999
"maxContext": 125000, // 最大上下文
100100
"maxResponse": 16000, // 最大回复
101101
"quoteMaxToken": 120000, // 最大引用内容
@@ -303,8 +303,8 @@ OneAPI 的语言识别接口,无法正确的识别其他模型(会始终识
303303
"llmModels": [
304304
{
305305
"provider": "OpenAI", // 模型提供商,主要用于分类展示,目前已经内置提供商包括:https://github.com/labring/FastGPT/blob/main/packages/global/core/ai/provider.ts, 可 pr 提供新的提供商,或直接填写 Other
306-
"model": "gpt-4o-mini", // 模型名(对应OneAPI中渠道的模型名)
307-
"name": "gpt-4o-mini", // 模型别名
306+
"model": "gpt-5", // 模型名(对应OneAPI中渠道的模型名)
307+
"name": "gpt-5", // 模型别名
308308
"maxContext": 125000, // 最大上下文
309309
"maxResponse": 16000, // 最大回复
310310
"quoteMaxToken": 120000, // 最大引用内容

document/content/docs/introduction/development/openapi/dataset.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,7 @@ curl --location --request POST 'https://api.fastgpt.in/api/core/dataset/searchTe
12491249
"usingReRank": false,
12501250
12511251
"datasetSearchUsingExtensionQuery": true,
1252-
"datasetSearchExtensionModel": "gpt-4o-mini",
1252+
"datasetSearchExtensionModel": "gpt-5",
12531253
"datasetSearchExtensionBg": ""
12541254
}'
12551255
```

document/content/docs/toc.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ description: FastGPT 文档目录
9898
- [/docs/upgrading/4-10/4101](/docs/upgrading/4-10/4101)
9999
- [/docs/upgrading/4-11/4110](/docs/upgrading/4-11/4110)
100100
- [/docs/upgrading/4-11/4111](/docs/upgrading/4-11/4111)
101+
- [/docs/upgrading/4-12/4120](/docs/upgrading/4-12/4120)
101102
- [/docs/upgrading/4-8/40](/docs/upgrading/4-8/40)
102103
- [/docs/upgrading/4-8/41](/docs/upgrading/4-8/41)
103104
- [/docs/upgrading/4-8/42](/docs/upgrading/4-8/42)

document/content/docs/upgrading/4-11/4112.mdx

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"title": "4.11.x",
2+
"title": "4.12.x",
33
"description": "",
4-
"pages": ["4112", "4111", "4110"]
4+
"pages": ["4120"]
55
}
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
title: 'V4.12.0(进行中)'
3+
description: 'FastGPT V4.12.0 更新说明'
4+
---
5+
6+
## 更新指南
7+
8+
### 1. 更新镜像:
9+
10+
### 2. 执行升级脚本
11+
12+
该脚本仅需商业版用户执行。
13+
14+
从任意终端,发起 1 个 HTTP 请求。其中 `{{rootkey}}` 替换成环境变量里的 `rootkey``{{host}}` 替换成**FastGPT 域名**
15+
16+
```bash
17+
curl --location --request POST 'https://{{host}}/api/admin/initv4120' \
18+
--header 'rootkey: {{rootkey}}' \
19+
--header 'Content-Type: application/json'
20+
```
21+
22+
**脚本功能**
23+
24+
1. 初始化团队成员的应用对话日志权限。
25+
26+
## 🚀 新增内容
27+
28+
1. 商业版支持应用日志数据看板。
29+
2. 商业版支持简易对话页,可直接选择模型和预设工具进行聊天,无需进行应用搭建。
30+
3. 对话页,增加团队应用快速切换。
31+
4. 权限表调整,采用 Role 映射 Permission 模式。
32+
5. 应用可单独分配对话日志查看权限。
33+
34+
## ⚙️ 优化
35+
36+
1. 优化 3 处存在潜在内存泄露的代码。
37+
2. 优化工作流部分递归检查,避免无限递归。
38+
3. 优化文档阅读 Worker,采用 ShareBuffer 避免数据拷贝。
39+
4. 批量进行向量生成和入库,减少网络操作。
40+
5. 知识库搜索,多 query 合并计算,减少数据库操作。
41+
6. 选择知识库交互优化。
42+
7. 登录页 UI 调整。
43+
8. 工作流中,更严格检测工具集是否可被添加。
44+
9. 对话日志导出,仅导出选中的表头,并修复部分表头无法导出的问题。
45+
46+
## 🐛 修复
47+
48+
1. Doc2x API 更新,导致解析失败。
49+
2. 工作流中,团队应用目录也可以被加入工作流。
50+
3. 工作流,数组选择器 UI 缺陷。
51+
4. 成员同步存在权限未完成删除问题
52+
53+
## 🔨 工具更新
54+
55+
1. 系统工具可返回 citeLinks 响应值,从而在对话框实现引用链接展示。
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"title": "4.11.x",
3+
"description": "",
4+
"pages": ["4112", "4111", "4110"]
5+
}

0 commit comments

Comments
 (0)