Archer
5cd1c2af14
perf: chat pane ( #5462 )
...
* fix: sync pane with URL appId vs Home appId to avoid cross-tab interference (#5456 )
* perf: chat pane
* perf: markdown render
* update app chat logs index
* doc
* doc redirect
---------
Co-authored-by: 伍闲犬 <whoeverimf5@gmail.com >
2025-08-15 11:03:38 +08:00
Archer
c51395b2c8
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 >
2025-08-12 22:22:18 +08:00
Finley Ge
57e1ef1176
refactor: permission role & app read chat log permission ( #5416 )
...
* refactor: permission role
* refactor: permission type
* fix: permission manage
* fix: group owner cannot be deleted
* chore: common per map
* chore: openapi
* chore: rename
* fix: type error
* chore: app chat log permission
* chore: add initv4112
2025-08-11 10:51:44 +08:00
Archer
16a74c909d
fix: doc preview action;update doc ( #5383 )
...
* fix: doc preview action
* update doc
* dpc
2025-08-04 18:10:58 +08:00
Archer
e25d7efb5b
feature: V4.11.1 ( #5350 )
...
* perf: system toolset & mcp (#5200 )
* feat: support system toolset
* fix: type
* fix: system tool config
* chore: mcptool config migrate
* refactor: mcp toolset
* fix: fe type error
* fix: type error
* fix: show version
* chore: support extract tool's secretInputConfig out of inputs
* chore: compatible with old version mcp
* chore: adjust
* deps: update dependency @fastgpt-skd/plugin
* fix: version
* fix: some bug (#5316 )
* chore: compatible with old version mcp
* fix: version
* fix: compatible bug
* fix: mcp object params
* fix: type error
* chore: update test cases
* chore: remove log
* fix: toolset node name
* optimize app logs sort (#5310 )
* log keys config modal
* multiple select
* api
* fontsize
* code
* chatid
* fix build
* fix
* fix component
* change name
* log keys config
* fix
* delete unused
* fix
* perf: log code
* perf: send auth code modal enter press
* fix log (#5328 )
* perf: mcp toolset comment
* perf: log ui
* remove log (#5347 )
* doc
* fix: action
* remove log
* fix: Table Optimization (#5319 )
* feat: table test: 1
* feat: table test: 2
* feat: table test: 3
* feat: table test: 4
* feat: table test : 5 把maxSize改回chunkSize
* feat: table test : 6 都删了,只看maxSize
* feat: table test : 7 恢复初始,接下来删除标签功能
* feat: table test : 8 删除标签功能
* feat: table test : 9 删除标签功能成功
* feat: table test : 10 继续调试,修改trainingStates
* feat: table test : 11 修改第一步
* feat: table test : 12 修改第二步
* feat: table test : 13 修改了HtmlTable2Md
* feat: table test : 14 修改表头分块规则
* feat: table test : 15 前面表格分的太细了
* feat: table test : 16 改着改着表头又不加了
* feat: table test : 17 用CUSTOM_SPLIT_SIGN不行,重新改
* feat: table test : 18 表头仍然还会多加,但现在分块搞的合理了终于
* feat: table test : 19 还是需要搞好表头问题,先保存一下调试情况
* feat: table test : 20 调试结束,看一下replace有没有问题,没问题就pr
* feat: table test : 21 先把注释删了
* feat: table test : 21 注释replace都改了,下面切main分支看看情况
* feat: table test : 22 修改旧文件
* feat: table test : 23 修改测试文件
* feat: table test : 24 xlsx表格处理
* feat: table test : 25 刚才没保存先com了
* feat: table test : 26 fix
* feat: table test : 27 先com一版调试
* feat: table test : 28 试试放format2csv里
* feat: table test : 29 xlsx解决
* feat: table test : 30 tablesplit解决
* feat: table test : 31
* feat: table test : 32
* perf: table split
* perf: mcp old version compatibility (#5342 )
* fix: system-tool secret inputs
* fix: rewrite runtime node i18n for system tool
* perf: mcp old version compatibility
* fix: splitPluginId
* fix: old mcp toolId
* fix: filter secret key
* feat: support system toolset activation
* chore: remove log
* perf: mcp update
* perf: rewrite toolset
* fix:delete variable id (#5335 )
* perf: variable update
* fix: multiple select ui
* perf: model config move to plugin
* fix: var conflit
* perf: variable checker
* Avoid empty number
* update doc time
* fix: test
* fix: mcp object
* update count app
* update count app
---------
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: heheer <zhiyu44@qq.com >
Co-authored-by: colnii <1286949794@qq.com >
Co-authored-by: dreamer6680 <1468683855@qq.com >
2025-08-01 16:08:20 +08:00
Archer
e008b21954
feat: deleted user ( #5289 )
...
* add desc to coupon
* deleted user
2025-07-23 17:00:23 +08:00
Archer
0fa083894a
feat: coupoun support bank pay way ( #5285 )
2025-07-23 12:01:26 +08:00
Archer
13b7e0a192
V4.11.0 features ( #5270 )
...
* feat: workflow catch error (#5220 )
* feat: error catch
* feat: workflow catch error
* perf: add catch error to node
* feat: system tool error catch
* catch error
* fix: ts
* update doc
* perf: training queue code (#5232 )
* doc
* perf: training queue code
* Feat: 优化错误提示与重试逻辑 (#5192 )
* feat: 批量重试异常数据 & 报错信息国际化
- 新增“全部重试”按钮,支持批量重试所有训练异常数据
- 报错信息支持国际化,常见错误自动映射为 i18n key
- 相关文档和 i18n 资源已同步更新
* feat: enhance error message and retry mechanism
* feat: enhance error message and retry mechanism
* feat: add retry_failed i18n key
* feat: enhance error message and retry mechanism
* feat: enhance error message and retry mechanism
* feat: enhance error message and retry mechanism : 5
* feat: enhance error message and retry mechanism : 6
* feat: enhance error message and retry mechanism : 7
* feat: enhance error message and retry mechanism : 8
* perf: catch chat error
* perf: copy hook (#5246 )
* perf: copy hook
* doc
* doc
* add app evaluation (#5083 )
* add app evaluation
* fix
* usage
* variables
* editing condition
* var ui
* isplus filter
* migrate code
* remove utils
* name
* update type
* build
* fix
* fix
* fix
* delete comment
* fix
* perf: eval code
* eval code
* eval code
* feat: ttfb time in model log
* Refactor chat page (#5253 )
* feat: update side bar layout; add login and logout logic at chat page
* refactor: encapsulate login logic and reuse it in `LoginModal` and `Login` page
* chore: improve some logics and comments
* chore: improve some logics
* chore: remove redundant side effect; add translations
---------
Co-authored-by: Archer <545436317@qq.com >
* perf: chat page code
* doc
* perf: provider redirect
* chore: ui improvement (#5266 )
* Fix: SSE
* Fix: SSE
* eval pagination (#5264 )
* eval scroll pagination
* change eval list to manual pagination
* number
* fix build
* fix
* version doc (#5267 )
* version doc
* version doc
* doc
* feat: eval model select
* config eval model
* perf: eval detail modal ui
* doc
* doc
* fix: chat store reload
* doc
---------
Co-authored-by: colnii <1286949794@qq.com >
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: 酒川户 <76519998+chuanhu9@users.noreply.github.com >
2025-07-22 09:42:50 +08:00
Archer
3a5d725efd
feature: 4.10.1 ( #5201 )
...
* add dynamic inputRender (#5127 )
* dynamic input component
* fix
* fix
* fix
* perf: dynamic render input
* update doc
* perf: error catch
* num input ui
* fix form render (#5177 )
* perf: i18n check
* add log
* doc
* Sync dataset (#5181 )
* perf: api dataset create (#5047 )
* Sync dataset (#5120 )
* add
* wait
* restructure dataset sync, update types and APIs, add sync hints, and remove legacy logic
* feat: add function to retrieve real file ID from third-party doc library and rename team permission check function for clarity
* fix come console
* refactor: rename team dataset limit check functions for clarity, update API dataset sync limit usage, and rename root directory to "ROOT_FOLDER"
* frat: update sync dataset login
* fix delete.ts
* feat: update pnpm-lock.yaml to include bullmq, fix comments in api.d.ts and type.d.ts, rename API file ID field, optimize dataset sync logic, and add website sync feature with related APIs
* feat: update CollectionCard to support site dataset sync, add API root ID constant and init sync API
* feat: add RootCollectionId constant to replace hardcoded root ID
---------
Co-authored-by: dreamer6680 <146868355@qq.com >
* perf: code
* feat: update success message for dataset sync, revise related i18n texts, and optimize file selection logic (#5166 )
Co-authored-by: dreamer6680 <146868355@qq.com >
* perf: select file
* Sync dataset (#5180 )
* feat: update success message for dataset sync, revise related i18n texts, and optimize file selection logic
* fix: make listfile function return rawid string
---------
Co-authored-by: dreamer6680 <146868355@qq.com >
* init sh
* fix: ts
---------
Co-authored-by: dreamer6680 <1468683855@qq.com >
Co-authored-by: dreamer6680 <146868355@qq.com >
* update doc
* i18n
---------
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: dreamer6680 <1468683855@qq.com >
Co-authored-by: dreamer6680 <146868355@qq.com >
2025-07-11 17:02:48 +08:00
Archer
33d40fd077
feature: System plugin ( #5131 )
...
* feat: system Tool (#4959 )
* feat: independent system tool
* chore: use ToolNode instead of PluginModule
* chore: tools
* chore: tools templateDir
* refactor: templates
* feat: flush code
* chore: update template
* refactor: migrate delay
* feat: worker pool
* chore: Dockerfile
* docs: add tools.template.json
* feat: auto flush system tools
* fix: ts error
* chore: create new pool temporarily
* chore: system tool migration
* chore: migration
* fix: fix pnpm-workspace.yaml
* chore: update pnpm-lock.yaml to integrate tool
* chore(systemTool): chore
* chore: add system plugin
* chore(deps): update @fastgpt-sdk/plugin
* fix: type error
* chore: remove plugin package
* chore: move pro plugins code to open source
* feat: support system tool config input
* fix: type error
* perf: i18n
* fix: cr
* chore: update sdk
* feat: system plugin cache
* update mcp server (#5076 )
* update mcp server
* fix: action
* fix: dockerfile
* fix: dockerfile
* fix: dockerfile
* fix: dockerfile
* fix: dockerfile
* fix: dockerfile
* feat: system Tool (#4959 )
* feat: independent system tool
* chore: use ToolNode instead of PluginModule
* chore: tools
* chore: tools templateDir
* refactor: templates
* feat: flush code
* chore: update template
* refactor: migrate delay
* feat: worker pool
* chore: Dockerfile
* docs: add tools.template.json
* feat: auto flush system tools
* fix: ts error
* chore: create new pool temporarily
* chore: system tool migration
* chore: migration
* fix: fix pnpm-workspace.yaml
* chore: update pnpm-lock.yaml to integrate tool
* chore(systemTool): chore
* chore: add system plugin
* chore(deps): update @fastgpt-sdk/plugin
* fix: type error
* chore: remove plugin package
* chore: move pro plugins code to open source
* feat: support system tool config input
* fix: type error
* perf: i18n
* fix: cr
* chore: update sdk
* feat: system plugin cache
* perf: run tool
* update package
* perf: config key
* fix: tool ini
* tool config params
* perf: workflow type
* rename tools to agent
* version list
* perf: tool error
* config secret ux
* perf: config secret ux
* fix: tool config field
* add course to secret input
* feat: support inputConfig switch (#5099 )
* feat: support inputConfig switch
* deps: update @fastgpt-sdk/plugin
* chore: update workflows
* fix: inputType
* fix: secret
* add default value to node
* update i18n
* eslint
* add precision to number input
* feat: add number input and select
* perf: number ux
* fix: code
* Proxies image requests to plugin service (#5111 )
* Proxies image requests to plugin service
Adds a rewrite rule and API endpoint to proxy image requests
to the plugin service. This allows the app to fetch images from
the plugin's tools directory.
It also adds the plugin base URL to the service's constants, so that
it can use the plugin URL when proxying requests.
* fix: update FastGPTPluginUrl to remove unnecessary API path
* feat: update image proxy destination and add plugin image handler
* Adapt plugin id
* replace avatar
* remove rewrite
* fix: plugin avatar
* update system tool doc
* feat: system tool type
* yml sh
* yml sh
* update doc
* fix: simple app tool select
* fix: switch ui
* update pacakge
* Yamljs (#5129 )
* update docker-compose configuration: bump fastgpt and fastgpt-plugin images, change minio host to service name, and adjust service dependencies
* refactor: comment out port exposure in docker-compose configuration
* update: uncomment port exposure in docker-compose configuration
* update: change MINIO_HOST to use specific IP address in docker configuration
* update: modify fastgpt-plugin image version in docker configuration
* update readme
* doc
* remove
---------
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
Co-authored-by: Theresa <63280168+sd0ric4@users.noreply.github.com >
2025-07-02 18:15:00 +08:00
heheer
b6a258d494
fix vulnerability ( #5098 )
...
* safe
* add get cookie
* fix
* fix
* fix
2025-06-27 14:35:38 +08:00
Archer
3ed3f2ad01
perf: image index ( #5071 )
...
* doc
* perf: img cite prompt
* perf: image index
* perf: add api key to retrain api
2025-06-20 13:25:32 +08:00
Archer
d44befeff0
Feat: admin audit ( #5068 )
...
* add admin audit (#5041 )
* Test audit (#5058 )
* feat: operation index
* fix: delete update vector
* perf: Clear invalid data
* perf: index
* perf: cleare invalid data
* index
* perf: audit event
* fix: schema enum
* add audit.svg (#5060 )
Co-authored-by: dreamer6680 <146868355@qq.com >
* update package
* perf: audit
* perf: code move
* eslint
* doc
---------
Co-authored-by: gggaaallleee <91131304+gggaaallleee@users.noreply.github.com >
Co-authored-by: dreamer6680 <1468683855@qq.com >
Co-authored-by: dreamer6680 <146868355@qq.com >
2025-06-19 10:35:21 +08:00
Archer
6b2ea696c5
feat: operation index ( #5056 )
...
* feat: operation index
* fix: delete update vector
* perf: Clear invalid data
* perf: index
* perf: cleare invalid data
* index
2025-06-18 00:46:31 +08:00
Archer
41f73e6f7b
Feat: Plan cache ( #5052 )
...
* add cache for team member,app,dataset (#5007 )
* add cache for team member,app,dataset
* update for hook
* update redis
* update
* perf: cache code
* fix: i18n
---------
Co-authored-by: gggaaallleee <91131304+gggaaallleee@users.noreply.github.com >
2025-06-17 18:14:38 +08:00
Archer
a848c2e3ba
feat: more sub plan info;fix: emprt index ( #4997 )
...
* feat: more sub plan info
* fix: emprt index
* doc
2025-06-10 19:01:10 +08:00
Archer
01ff56b42b
perf: password special chars;feat: llm paragraph;perf: chunk setting params;perf: text splitter worker ( #4984 )
...
* perf: password special chars
* feat: llm paragraph;perf: chunk setting params
* perf: text splitter worker
* perf: get rawtext buffer
* fix: test
* fix: test
* doc
* min chunk size
2025-06-10 00:05:54 +08:00
Archer
c30f069f2f
V4.9.11 feature ( #4969 )
...
* Feat: Images dataset collection (#4941 )
* New pic (#4858 )
* 更新数据集相关类型,添加图像文件ID和预览URL支持;优化数据集导入功能,新增图像数据集处理组件;修复部分国际化文本;更新文件上传逻辑以支持新功能。
* 与原先代码的差别
* 新增 V4.9.10 更新说明,支持 PG 设置`systemEnv.hnswMaxScanTuples`参数,优化 LLM stream 调用超时,修复全文检索多知识库排序问题。同时更新数据集索引,移除 datasetId 字段以简化查询。
* 更换成fileId_image逻辑,并增加训练队列匹配的逻辑
* 新增图片集合判断逻辑,优化预览URL生成流程,确保仅在数据集为图片集合时生成预览URL,并添加相关日志输出以便调试。
* Refactor Docker Compose configuration to comment out exposed ports for production environments, update image versions for pgvector, fastgpt, and mcp_server, and enhance Redis service with a health check. Additionally, standardize dataset collection labels in constants and improve internationalization strings across multiple languages.
* Enhance TrainingStates component by adding internationalization support for the imageParse training mode and update defaultCounts to include imageParse mode in trainingDetail API.
* Enhance dataset import context by adding additional steps for image dataset import process and improve internationalization strings for modal buttons in the useEditTitle hook.
* Update DatasetImportContext to conditionally render MyStep component based on data source type, improving the import process for non-image datasets.
* Refactor image dataset handling by improving internationalization strings, enhancing error messages, and streamlining the preview URL generation process.
* 图片上传到新建的 dataset_collection_images 表,逻辑跟随更改
* 修改了除了controller的其他部分问题
* 把图片数据集的逻辑整合到controller里面
* 补充i18n
* 补充i18n
* resolve评论:主要是上传逻辑的更改和组件复用
* 图片名称的图标显示
* 修改编译报错的命名问题
* 删除不需要的collectionid部分
* 多余文件的处理和改动一个删除按钮
* 除了loading和统一的imageId,其他都resolve掉的
* 处理图标报错
* 复用了MyPhotoView并采用全部替换的方式将imageFileId变成imageId
* 去除不必要文件修改
* 报错和字段修改
* 增加上传成功后删除临时文件的逻辑以及回退一些修改
* 删除path字段,将图片保存到gridfs内,并修改增删等操作的代码
* 修正编译错误
---------
Co-authored-by: archer <545436317@qq.com >
* perf: image dataset
* feat: insert image
* perf: image icon
* fix: training state
---------
Co-authored-by: Zhuangzai fa <143257420+ctrlz526@users.noreply.github.com >
* fix: ts (#4948 )
* Thirddatasetmd (#4942 )
* add thirddataset.md
* fix thirddataset.md
* fix
* delete wrong png
---------
Co-authored-by: dreamer6680 <146868355@qq.com >
* perf: api dataset code
* perf: log
* add secondary.tsx (#4946 )
* add secondary.tsx
* fix
---------
Co-authored-by: dreamer6680 <146868355@qq.com >
* perf: multiple menu
* perf: i18n
* feat: parse queue (#4960 )
* feat: parse queue
* feat: sync parse queue
* fix thirddataset.md (#4962 )
* fix thirddataset-4.png (#4963 )
* feat: Dataset template import (#4934 )
* 模版导入部分除了文档还没写
* 修复模版导入的 build 错误
* Document production
* compress pictures
* Change some constants to variables
---------
Co-authored-by: Archer <545436317@qq.com >
* perf: template import
* doc
* llm pargraph
* bocha tool
* fix: del collection
---------
Co-authored-by: Zhuangzai fa <143257420+ctrlz526@users.noreply.github.com >
Co-authored-by: dreamer6680 <1468683855@qq.com >
Co-authored-by: dreamer6680 <146868355@qq.com >
2025-06-06 14:48:44 +08:00
gggaaallleee
9fb5d05865
add audit ( #4923 )
...
* add audit
* update audit
* update audit
2025-06-03 21:28:26 +08:00
Archer
b4ecfb0b79
Feat: Node latest version ( #4905 )
...
* node versions add keep the latest option (#4899 )
* node versions add keep the latest option
* i18n
* perf: version code
* fix: ts
* hide system version
* hide system version
* hide system version
* fix: ts
* fix: ts
---------
Co-authored-by: heheer <heheer@sealos.io >
2025-05-28 10:46:32 +08:00
Archer
a4db03a3b7
feat: session id ( #4817 )
...
* feat: session id
* feat: Add default index
2025-05-14 17:24:02 +08:00
Archer
cba8f773fe
New license ( #4809 )
...
* feat: new-license
* perf: volumn watch
* Set use client
2025-05-14 13:55:09 +08:00
Archer
12d6948ba7
Feat: prelogin ( #4773 )
...
* add prelogin api (#4762 )
* add prelogin api
* move type.d.ts
* perf: prelogin code
* doc
* fix: ts
---------
Co-authored-by: dreamer6680 <1468683855@qq.com >
2025-05-08 22:09:02 +08:00
Archer
c75f154728
Password security policy ( #4765 )
...
* Psw (#4748 )
* feat: 添加重置密码功能及相关接口
- 在用户模型中新增 passwordUpdateTime 字段以记录密码更新时间。
- 更新用户模式以支持密码更新时间的存储。
- 新增重置密码的模态框组件,允许用户重置密码。
- 实现重置密码的 API 接口,支持根据用户 ID 更新密码。
- 更新相关国际化文件,添加重置密码的提示信息。
* 更新国际化文件,添加重置密码相关提示信息,并优化重置密码模态框的实现。修复部分代码逻辑,确保用户体验流畅。
* 更新国际化文件,添加重置密码相关提示信息,优化重置密码模态框的实现,修复部分代码逻辑,确保用户体验流畅。新增获取用户密码更新时间的API接口,并调整相关逻辑以支持密码重置功能。
* update
* fix
* fix
* Added environment variables NEXT_PUBLIC_PASSWORD_UPDATETIME to support password update time configuration, update related logic to implement password mandatory update function, and optimize the implementation of reset password modal box to improve user experience.
* update index
* 更新用户密码重置功能,调整相关API接口,优化重置密码模态框的实现,确保用户体验流畅。修复部分代码逻辑,更新国际化提示信息。
* 删除获取用户密码更新时间的API接口,并在布局组件中移除不必要的重置密码模态框。优化代码结构,提升可维护性。
* update
* perf: reset expired password code
* perf: layout child components
* doc
* remove invalid env
* perf: update password code
---------
Co-authored-by: dreamer6680 <1468683855@qq.com >
2025-05-08 12:11:08 +08:00
Theresa
2d3117c5da
feat: update ESLint config with @typescript-eslint/consistent-type-imports ( #4746 )
...
* update: Add type
* fix: update import statement for NextApiRequest type
* fix: update imports to use type for LexicalEditor and EditorState
* Refactor imports to use 'import type' for type-only imports across multiple files
- Updated imports in various components and API files to use 'import type' for better clarity and to optimize TypeScript's type checking.
- Ensured consistent usage of type imports in files related to chat, dataset, workflow, and user management.
- Improved code readability and maintainability by distinguishing between value and type imports.
* refactor: remove old ESLint configuration and add new rules
- Deleted the old ESLint configuration file from the app project.
- Added a new ESLint configuration file with updated rules and settings.
- Changed imports to use type-only imports in various files for better clarity and performance.
- Updated TypeScript configuration to remove unnecessary options.
- Added an ESLint ignore file to exclude build and dependency directories from linting.
* fix: update imports to use 'import type' for type-only imports in schema files
2025-05-06 17:33:09 +08:00
Archer
bf14506603
perf: add outlink usage ( #4691 )
...
* update doc
* perf: add outlink usage
* feat: jina provider
2025-04-28 10:41:32 +08:00
Archer
0720bbe4da
V4.9.7 feature ( #4669 )
...
* update doc
* feat: Add coupon redemption feature for team subscriptions (#4595 )
* feat: Add coupon redemption feature for team subscriptions
- Introduced `TeamCouponSub` and `TeamCouponSchema` types
- Added `redeemCoupon` API endpoint
- Updated UI to include a modal for coupon redemption
- Added new icon and translations for "Redeem coupon"
* perf: remove field teamId
* perf: use dynamic import
* refactor: move to page component
* perf: coupon code
* perf: mcp server
* perf: test
* auto layout (#4634 )
* fix 4.9.6 (#4631 )
* fix debug quote list
* delete next text node match
* fix extract default boolean value
* export latest 100 chat items
* fix quote item ui
* doc
* fix doc
* feat: auto layout
* perf: auto layout
* fix: auto layout null
* add start node
---------
Co-authored-by: heheer <heheer@sealos.io >
* fix: share link (#4644 )
* Add workflow run duration;Get audio duration (#4645 )
* add duration
* get audio duration
* Custom config path (#4649 )
* feat: 通过环境变量DATA_PATH获取配置文件目录 (#4622 )
通过环境变量DATA_PATH获取配置文件目录,以应对不同的部署方式的多样化需求
* feat: custom configjson path
* doc
---------
Co-authored-by: John Chen <sss1991@163.com >
* 程序api调用场景下,如果大量调用带有图片或视频,产生的聊天记录会导致后台mongo数据库异常。这个修改给api客户端一个禁止生成聊天记录的选项,避免这个后果。 (#3964 )
* update special chatId
* perf: vector db rename
* update operationLog (#4647 )
* update operationLog
* combine operationLogMap
* solve operationI18nLogMap bug
* remoce log
* feat: Rerank usage (#4654 )
* refresh concat when update (#4655 )
* fix: refresh code
* perf: timer lock
* Fix operationLog (#4657 )
* perf: http streamable mcp
* add alipay (#4630 )
* perf: subplan ui
* perf: pay code
* hiden bank tip
* Fix: pay error (#4665 )
* fix quote number (#4666 )
* remove log
---------
Co-authored-by: a.e. <49438478+I-Info@users.noreply.github.com >
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: John Chen <sss1991@163.com >
Co-authored-by: gaord <bengao168@msn.com >
Co-authored-by: gggaaallleee <91131304+gggaaallleee@users.noreply.github.com >
2025-04-26 16:17:21 +08:00
Finley Ge
a669a60fe6
fix: collabrator ( #4660 )
...
* fix: inherit permission of orgs
* fix: org members' permission bug
2025-04-25 16:21:39 +08:00
heheer
2dd5cf6d1f
mcp server tool alias ( #4621 )
2025-04-22 15:25:11 +08:00
Archer
8f8d4c4190
update package version ( #4586 )
2025-04-18 00:34:15 +08:00
Archer
952412f648
V4.9.6 feature ( #4565 )
...
* Dashboard submenu (#4545 )
* add app submenu (#4452 )
* add app submenu
* fix
* width & i18n
* optimize submenu code (#4515 )
* optimize submenu code
* fix
* fix
* fix
* fix ts
* perf: dashboard sub menu
* doc
---------
Co-authored-by: heheer <heheer@sealos.io >
* feat: value format test
* doc
* Mcp export (#4555 )
* feat: mcp server
* feat: mcp server
* feat: mcp server build
* update doc
* perf: path selector (#4556 )
* perf: path selector
* fix: docker file path
* perf: add image endpoint to dataset search (#4557 )
* perf: add image endpoint to dataset search
* fix: mcp_server url
* human in loop (#4558 )
* Support interactive nodes for loops, and enhance the function of merging nested and loop node history messages. (#4552 )
* feat: add LoopInteractive definition
* feat: Support LoopInteractive type and update related logic
* fix: Refactor loop handling logic and improve output value initialization
* feat: Add mergeSignId to dispatchLoop and dispatchRunAppNode responses
* feat: Enhance mergeChatResponseData to recursively merge plugin details and improve response handling
* refactor: Remove redundant comments in mergeChatResponseData for clarity
* perf: loop interactive
* perf: human in loop
---------
Co-authored-by: Theresa <63280168+sd0ric4@users.noreply.github.com >
* mcp server ui
* integrate mcp (#4549 )
* integrate mcp
* delete unused code
* fix ts
* bug fix
* fix
* support whole mcp tools
* add try catch
* fix
* fix
* fix ts
* fix test
* fix ts
* fix: interactive in v1 completions
* doc
* fix: router path
* fix mcp integrate (#4563 )
* fix mcp integrate
* fix ui
* fix: mcp ux
* feat: mcp call title
* remove repeat loading
* fix mcp tools avatar (#4564 )
* fix
* fix avatar
* fix update version
* update doc
* fix: value format
* close server and remove cache
* perf: avatar
---------
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: Theresa <63280168+sd0ric4@users.noreply.github.com >
2025-04-16 22:18:51 +08:00
Archer
16a22bc76a
V4.9.5 feature ( #4520 )
...
* readme
* Add queue log
* Test interactive (#4509 )
* Support nested node interaction (#4503 )
* feat: Add a new InteractiveContext type and update InteractiveBasicType, adding an optional context property to support more complex interaction state management.
* feat: Enhance workflow interactivity by adding InteractiveContext support and updating dispatch logic to manage nested contexts and entry nodes more effectively.
* feat: Refactor dispatchWorkFlow to utilize InteractiveContext for improved context management
* feat: Enhance entry node resolution by adding validation for entryNodeIds and recursive search in InteractiveContext
* feat: Remove workflowDepth from InteractiveContext and update recovery logic to utilize parentContext for improved context management
* feat: Update getWorkflowEntryNodeIds to use lastInteractive for improved context handling in runtime nodes
* feat: Add lastInteractive support to enhance context management across workflow components
* feat: Enhance interactive workflow by adding stopForInteractive flag and improving memory edge validation in runtime logic
* feat: Refactor InteractiveContext by removing interactiveAppId and updating runtime edge handling in dispatchRunApp for improved context management
* feat: Simplify runtime node and edge initialization in dispatchRunApp by using ternary operators for improved readability and maintainability
* feat: Improve memory edge validation in initWorkflowEdgeStatus by adding detailed comments for better understanding of subset checks and recursive context searching
* feat: Remove commented-out current level information from InteractiveContext for cleaner code and improved readability
* feat: Simplify stopForInteractive check in dispatchWorkFlow for improved code clarity and maintainability
* feat: Remove stopForInteractive handling and related references for improved code clarity and maintainability
* feat: Add interactive response handling in dispatchRunAppNode for enhanced workflow interactivity
* feat: Add context property to InteractiveBasicType and InteractiveNodeType for improved interactivity management
* feat: remove comments
* feat: Remove the node property from ChatDispatchProps to simplify type definitions
* feat: Remove workflowInteractiveResponse from dispatchRunAppNode for cleaner code
* feat: Refactor interactive value handling in chat history processing for improved clarity
* feat: Simplify initWorkflowEdgeStatus logic for better readability and maintainability
* feat: Add workflowInteractiveResponse to dispatchWorkFlow for enhanced functionality
* feat: Enhance interactive response handling with nested children support
* feat: Remove commented-out code for interactive node handling to improve clarity
* feat: remove InteractiveContext type
* feat: Refactor UserSelectInteractive and UserInputInteractive params for improved structure and clarity
* feat: remove
* feat: The front end supports extracting the deepest interaction parameters to enhance interaction processing
* feat: The front end supports extracting the deepest interaction parameters to enhance interaction processing
* fix: handle undefined interactive values in runtimeEdges and runtimeNodes initialization
* fix: handle undefined interactive values in runtimeNodes and runtimeEdges initialization
* fix: update runtimeNodes and runtimeEdges initialization to use last interactive value
* fix: remove unused imports and replace getLastInteractiveValue with lastInteractive in runtimeEdges initialization
* fix: import WorkflowInteractiveResponseType and handle lastInteractive as undefined in chatTest
* feat: implement extractDeepestInteractive function and refactor usage in AIResponseBox and ChatBox utils
* fix: refactor initWorkflowEdgeStatus and getWorkflowEntryNodeIds calls in dispatchRunAppNode for recovery handling
* fix: ensure lastInteractive is handled consistently as undefined in runtimeEdges and runtimeNodes initialization
* fix: update dispatchFormInput and dispatchUserSelect to use lastInteractive consistently
* fix: update condition checks in dispatchFormInput and dispatchUserSelect to ensure lastInteractive type is validated correctly
* fix: refactor dispatchRunAppNode to replace isRecovery with childrenInteractive for improved clarity in runtimeNodes and runtimeEdges initialization
* refactor: streamline runtimeNodes and runtimeEdges initialization in dispatchRunAppNode for improved readability and maintainability
* fix: update rewriteNodeOutputByHistories function to accept runtimeNodes and interactive as parameters for improved clarity
* fix: simplify interactiveResponse assignment in dispatchWorkFlow for improved clarity
* fix: update entryNodeIds check in getWorkflowEntryNodeIds to ensure it's an array for improved reliability
* remove some invalid code
---------
Co-authored-by: Theresa <63280168+sd0ric4@users.noreply.github.com >
* update doc
* update log
* fix: update debug workflow to conditionally include nextStepSkipNodes… (#4511 )
* fix: update debug workflow to conditionally include nextStepSkipNodes based on lastInteractive for improved debugging accuracy
* fix : type error
* remove invalid code
* fix: QA queue
* fix: interactive
* Test log (#4519 )
* add log (#4504 )
* add log
* update log i18n
* update log
* delete template
* add i18NT
* add team operation log
---------
Co-authored-by: gggaaallleee <91131304+gggaaallleee@users.noreply.github.com >
* remove search
* update doc
---------
Co-authored-by: Theresa <63280168+sd0ric4@users.noreply.github.com >
Co-authored-by: gggaaallleee <91131304+gggaaallleee@users.noreply.github.com >
2025-04-12 12:48:19 +08:00
Archer
199f454b6b
feat: team permission refine ( #4494 ) ( #4498 )
...
* feat: team permission refine (#4402 )
* chore: team permission extend
* feat: manage team permission
* chore: api auth
* fix: i18n
* feat: add initv493
* fix: test, org auth manager
* test: app test for refined permission
* update init sh
* fix: add/remove manage permission (#4427 )
* fix: add/remove manage permission
* fix: github action fastgpt-test
* fix: mock create model
* fix: team write permission
* fix: ts
* account permission
---------
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
2025-04-10 11:11:54 +08:00
Archer
c02864facc
fix: package plus request ( #4492 )
...
* fix plus request (#4476 )
* perf: package plus request
* perf: plus request fix
* fix: doc
---------
Co-authored-by: heheer <heheer@sealos.io >
2025-04-09 23:44:14 +08:00
Archer
4871a6980f
perf: member group ( #4324 )
...
* sync collection
* remove lock
* perf: member group
2025-03-27 10:11:22 +08:00
Finley Ge
1fdf947a13
pref: member/group/org ( #4316 )
...
* feat: change group owner api
* pref: member/org/group
* fix: member modal select clb
* fix: search member when change owner
2025-03-27 10:08:23 +08:00
Archer
826a53dcb6
tmp org api rewrite ( #4304 )
...
* sync collection
* remove lock
* tmp org api rewrite
2025-03-27 10:05:32 +08:00
Finley Ge
5a47af6fff
pref: member/org/gourp list ( #4295 )
...
* refactor: org api
* refactor: org api
* pref: member/org/group list
* feat: change group owner api
* fix: manage org member
* pref: member search
2025-03-27 10:05:32 +08:00
Archer
87e90c37bd
feat: sync api collection will refresh title;perf: invite link ux ( #4237 )
...
* update queue
* feat: sync api collection will refresh title
* sync collection
* remove lock
* perf: invite link ux
2025-03-27 10:05:27 +08:00
Finley Ge
73451dbc64
fix: invite link ( #4229 )
...
* fix: invite link
* feat: create invite link and copy it directly
2025-03-27 10:05:02 +08:00
Archer
e75d81d05a
V4.9.1 feature ( #4206 )
...
* fix: remove DefaultTeam (#4037 )
* fix :Get application bound knowledge base information logical rewrite (#4057 )
* fix :Get application bound knowledge base information logical rewrite
* fix :Get application bound knowledge base information logical rewrite
* fix :Get application bound knowledge base information logical rewrite
* fix :Get application bound knowledge base information logical rewrite
* update package
* fix: import dataset step error;perf: ai proxy avatar (#4074 )
* perf: pg config params
* perf: ai proxy avatar
* fix: import dataset step error
* feat: data input ux
* perf: app dataset rewite
* fix: 文本提取不支持arrayString,arrayNumber等jsonSchema (#4079 )
* update doc ;perf: model test (#4098 )
* perf: extract array
* update doc
* perf: model test
* perf: model test
* perf: think tag parse (#4102 )
* chat quote reader (#3912 )
* init chat quote full text reader
* linked structure
* dataset data linked
* optimize code
* fix ts build
* test finish
* delete log
* fix
* fix ts
* fix ts
* remove nextId
* initial scroll
* fix
* fix
* perf: chunk read (#4109 )
* package
* perf: chunk read
* feat: api dataset support pdf parse;fix: chunk reader auth (#4117 )
* feat: api dataset support pdf parse
* fix: chunk reader auth
* feat: invitation link (#3979 )
* feat: invitation link schema and apis
* feat: add invitation link
* feat: member status: active, leave, forbidden
* fix: expires show hours and minutes
* feat: invalid invitation link hint
* fix: typo
* chore: fix typo & i18n
* fix
* pref: fe
* feat: add ttl index for 30-day-clean-up
* perf: invite member code (#4118 )
* perf: invite member code
* fix: ts
* fix: model test channel id;fix: quote reader (#4123 )
* fix: model test channel id
* fix: quote reader
* fix chat quote reader (#4125 )
* perf: model test;perf: sidebar trigger (#4127 )
* fix: import dataset step error;perf: ai proxy avatar (#4074 )
* perf: pg config params
* perf: ai proxy avatar
* fix: import dataset step error
* feat: data input ux
* perf: app dataset rewite
* perf: model test
* perf: sidebar trigger
* lock
* update nanoid version
* fix: select component ux
* fix: ts
* fix: vitest
* remove test
* fix: prompt toolcall ui (#4139 )
* load log error adapt
* fix: prompt toolcall ui
* perf: commercial function tip
* update package
* pref: copy link (#4147 )
* fix(i18n): namespace (#4143 )
* hiden dataset source (#4152 )
* hiden dataset source
* perf: reader
* chore: move all tests into a single folder (#4160 )
* fix modal close scroll (#4162 )
* fix modal close scroll
* update refresh
* feat: rerank modal select and weight (#4164 )
* fix loadInitData refresh (#4169 )
* fix
* fix
* form input number default & api dataset max token
* feat: mix search weight (#4170 )
* feat: mix search weight
* feat: svg render
* fix: avatar error remove (#4173 )
* fix: avatar error remove
* fix: index
* fix: guide
* fix: auth
* update package;fix: input data model ui (#4181 )
* update package
* fix: ts
* update config
* update jieba package
* add type sign
* fix: input data ui
* fix: page title refresh (#4186 )
* fix: ts
* update jieba package
* fix: page title refresh
* fix: remove member length check when opening invite create modal (#4193 )
* add env to check internal ip (#4187 )
* fix: ts
* update jieba package
* add env to check internal ip
* package
* fix: jieba
* reset package
* update config
* fix: jieba package
* init shell
* init version
* change team reload
* update jieba package (#4200 )
* update jieba package
* package
* update package
* remove invalid code
* action
* package (#4201 )
* package
* update package
* remove invalid code
* package
* remove i18n tip (#4202 )
* doc (#4205 )
* fix: i18n (#4208 )
* fix: next config (#4207 )
* reset package
* i18n
* update config
* i18n
* remove log
---------
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
Co-authored-by: gggaaallleee <91131304+gggaaallleee@users.noreply.github.com >
Co-authored-by: shilin <39396378+shilin66@users.noreply.github.com >
Co-authored-by: heheer <heheer@sealos.io >
2025-03-18 14:40:41 +08:00
Archer
adf5377ebe
Add image index and pdf parse ( #3956 )
...
* feat: think tag parse
* feat: parse think tag test
* feat: pdf parse ux
* feat: doc2x parse
* perf: rewrite training mode setting
* feat: image parse queue
* perf: image index
* feat: image parse process
* feat: add init sh
* fix: ts
2025-03-06 18:28:03 +08:00
Finley Ge
662a4a4671
fix: remove defaultTeam ( #3989 )
2025-03-06 00:26:32 +08:00
Finley Ge
4bc7f21182
fix: add order:true to all create transactions ( #3948 )
2025-03-03 11:37:51 +08:00
Finley Ge
9bbee60cde
fix: ts error ( #3911 )
2025-02-27 16:31:14 +08:00
Archer
81a06718d8
feat: ai proxy v1 ( #3898 )
...
* feat: ai proxy v1
* perf: ai proxy channel crud
* feat: ai proxy logs
* feat: channel test
* doc
* update lock
2025-02-27 09:56:52 +08:00
Finley Ge
747bb303ec
chore: upgrade mongoose to v8.10.x for security ( #3868 )
...
* chore: upgrade mongoose to v8.10.x for security
* chore: remove duplicate code
* fix: ts error
2025-02-26 18:32:19 +08:00
Archer
255764400f
feat: model config required check;feat: dataset text model default setting ( #3866 )
...
* feat: model config required check
* feat: dataset text model default setting
* perf: collection list count
* fix: ts
* remove index count
2025-02-24 19:55:49 +08:00
Finley Ge
206325bc5f
chore: team, orgs, search and so on ( #3807 )
...
* feat: clb search support username, memberName, contacts
* feat: popup org names
* feat: update team member table
* feat: restore the member
* feat: search user in team member table
* feat: bind contact
* feat: export members
* feat: org tab could delete member
* feat: org table search
* feat: team notification account bind
* feat: permission tab search
* fix: wecom sso
* chore(init): copy notificationAccount to user.contact
* chore: adjust
* fix: ts error
* fix: useConfirm iconColor customization
* pref: fe
* fix: style
* fix: fix team member manage
* pref: enlarge team member pagesize
* pref: initv4822
* fix: pageSize
* pref: initscritpt
2025-02-19 17:27:19 +08:00
Archer
09205e4666
fix: price page init data;perf: usage code;fix: reasoning tokens;fix: workflow basic node cannot upgrade ( #3816 )
...
* fix: img read
* fix: price page init data
* perf: ai model avatar
* perf: refresh in change team
* perf: null checker
* perf: usage code
* fix: reasoning tokens
* fix: workflow basic node cannot upgrade
* perf: model refresh
* perf: icon refresh
2025-02-18 20:50:25 +08:00