Archer
76d6234de6
V4.14.7 features ( #6406 )
...
* Agent features (#6345 )
* Test agent (#6220 )
* squash: compress all commits into one
* feat: plan response in ui
* response ui
* perf: agent config
* merge
* tool select ux
* perf: chat ui
* perf: agent editform
* tmp code
* feat: save chat
* Complete agent parent (#6049 )
* add role and tools filling
* add: file-upload
---------
Co-authored-by: xxyyh <2289112474@qq>
* perf: top agent code
* top agent (#6062 )
Co-authored-by: xxyyh <2289112474@qq>
* fix: ts
* skill editor ui
* ui
* perf: rewrite type with zod
* skill edit ui
* skill agent (#6089 )
* cp skill chat
* rebase fdf933d
and add skill chat
* 1. skill 的 CRUD
2. skill 的信息渲染到前端界面
* solve comment
* remove chatid and chatItemId
* skill match
* perf: skill manage
* fix: ts
---------
Co-authored-by: xxyyh <2289112474@qq>
Co-authored-by: archer <545436317@qq.com >
* fix: ts
* fix: loop import
* skill tool config (#6114 )
Co-authored-by: xxyyh <2289112474@qq>
* feat: load tool in agent
* skill memory (#6126 )
Co-authored-by: xxyyh <2289112474@qq>
* perf: agent skill editor
* perf: helperbot ui
* agent code
* perf: context
* fix: request context
* agent usage
* perf: agent context and pause
* perf: plan response
* Test agent sigle skill (#6184 )
* feat:top box fill
* prompt fix
---------
Co-authored-by: xxyyh <2289112474@qq>
* perf: agent chat ui
* Test agent new (#6219 )
* have-replan
* agent
---------
Co-authored-by: xxyyh <2289112474@qq>
* fix: ts
---------
Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com >
Co-authored-by: xxyyh <2289112474@qq>
* feat: consolidate agent and MCP improvements
This commit consolidates 17 commits including:
- MCP tools enhancements and fixes
- Agent system improvements and optimizations
- Auth limit and prompt updates
- Tool response compression and error tracking
- Simple app adaptation
- Code quality improvements (TypeScript, ESLint, Zod)
- Version type migration to schema
- Remove deprecated useRequest2
- Add LLM error tracking
- Toolset ID validation fixes
---------
Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com >
Co-authored-by: xxyyh <2289112474@qq>
* fix: transform avatar copy;perf: filter invalid tool
* update llm response storage time
* fix: openapi schema
* update skill desc
* feat: cache hit data
* i18n
* lock
* chat logs support error filter & user search (#6373 )
* chat log support searching by user name
* support error filter
* fix
* fix overflow
* optimize
* fix init script
* fix
* perf: get log users
* updat ecomment
* fix: ts
* fix: test
---------
Co-authored-by: archer <545436317@qq.com >
* Fix: agent (#6376 )
* Agent features (#6345 )
* Test agent (#6220 )
* squash: compress all commits into one
* feat: plan response in ui
* response ui
* perf: agent config
* merge
* tool select ux
* perf: chat ui
* perf: agent editform
* tmp code
* feat: save chat
* Complete agent parent (#6049 )
* add role and tools filling
* add: file-upload
---------
Co-authored-by: xxyyh <2289112474@qq>
* perf: top agent code
* top agent (#6062 )
Co-authored-by: xxyyh <2289112474@qq>
* fix: ts
* skill editor ui
* ui
* perf: rewrite type with zod
* skill edit ui
* skill agent (#6089 )
* cp skill chat
* rebase fdf933d
and add skill chat
* 1. skill 的 CRUD
2. skill 的信息渲染到前端界面
* solve comment
* remove chatid and chatItemId
* skill match
* perf: skill manage
* fix: ts
---------
Co-authored-by: xxyyh <2289112474@qq>
Co-authored-by: archer <545436317@qq.com >
* fix: ts
* fix: loop import
* skill tool config (#6114 )
Co-authored-by: xxyyh <2289112474@qq>
* feat: load tool in agent
* skill memory (#6126 )
Co-authored-by: xxyyh <2289112474@qq>
* perf: agent skill editor
* perf: helperbot ui
* agent code
* perf: context
* fix: request context
* agent usage
* perf: agent context and pause
* perf: plan response
* Test agent sigle skill (#6184 )
* feat:top box fill
* prompt fix
---------
Co-authored-by: xxyyh <2289112474@qq>
* perf: agent chat ui
* Test agent new (#6219 )
* have-replan
* agent
---------
Co-authored-by: xxyyh <2289112474@qq>
* fix: ts
---------
Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com >
Co-authored-by: xxyyh <2289112474@qq>
* feat: consolidate agent and MCP improvements
This commit consolidates 17 commits including:
- MCP tools enhancements and fixes
- Agent system improvements and optimizations
- Auth limit and prompt updates
- Tool response compression and error tracking
- Simple app adaptation
- Code quality improvements (TypeScript, ESLint, Zod)
- Version type migration to schema
- Remove deprecated useRequest2
- Add LLM error tracking
- Toolset ID validation fixes
---------
Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com >
Co-authored-by: xxyyh <2289112474@qq>
* 1. 把辅助生成前端上的 system prompt 加入到上下文中
2. mcp工具的前端渲染(图标)
3. 文件读取工具和文件上传进行关联
4. 添加了辅助生成返回格式出错的重试方案
5. ask 不出现在 plan 步骤中
6. 添加了辅助生成的头像和交互 UI
* fix:read_file
* helperbot ui
* ts error
* helper ui
* delete Unused import
* perf: helper bot
* lock
---------
Co-authored-by: Archer <545436317@qq.com >
Co-authored-by: xxyyh <2289112474@qq>
* fix date variable required & model auth (#6386 )
* fix date variable required & model auth
* doc
* feat: add chat id to finish callback
* fix: iphone safari shareId (#6387 )
* fix: iphone safari shareId
* fix: mcp file list can't setting
* fix: reason output field
* fix: skip JSON validation for HTTP tool body with variable (#6392 )
* fix: skip JSON validation for HTTP tool body with variable
* doc
* workflow fitview
* perf: selecting memory
* perf: cp api
* ui
* perf: toolcall auto adapt
* fix: catch workflow error
* fix: ts
* perf: pagination type
* remove
* ignore
* update doc
* fix: simple app tool select
* add default avatar to logs user
* perf: loading user
* select dataset ui
* rename version
* feat: add global/common test
* perf: packages/global/common test
* feat: package/global/ai,app test
* add global/chat test
* global/core test
* global/core test
* feat: packages/global all test
* perf: test
* add server api test
* perf: init shell
* perf: init4150 shell
* remove invalid code
* update doc
* remove log
* fix: chat effect
* fix: plan fake tool (#6398 )
* 1. 提示词防注入功能
2. 无工具不进入 plan,防止虚拟工具生成
* Agent-dataset
* dataset
* dataset presetInfo
* prefix
* perf: prompt
---------
Co-authored-by: xxyyh <2289112474@qq>
Co-authored-by: archer <545436317@qq.com >
* fix: review
* adapt kimi2.5 think toolcall
* feat: invoke fastgpt user info (#6403 )
feat: invoke fastgpt user info
* fix: invoke fastgpt user info return orgs (#6404 )
* skill and version
* retry helperbot (#6405 )
Co-authored-by: xxyyh <2289112474@qq>
* update template
* remove log
* doc
* update doc
* doc
* perf: internal ip check
* adapt get paginationRecords
* tool call adapt
* fix: test
* doc
* fix: agent initial version
* adapt completions v1
* feat: instrumentation check
* rename skill
* add workflow demo mode tracks (#6407 )
* chore: 统一 skills 目录命名为小写
将 .claude/Skills/ 重命名为 .claude/skills/ 以保持命名一致性。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* add workflow demo mode tracks
* code
* optimize
* fix: improve workflowDemoTrack based on PR review
- Add comment to empty catch block for maintainability
- Add @param docs to onDemoChange clarifying nodeCount usage
- Replace silent .catch with console.debug for dev debugging
- Handle appId changes by reporting old data before re-init
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
---------
Co-authored-by: archer <545436317@qq.com >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
* remove repeat skill
* fix(workflow): filter out orphan edges to prevent runtime errors (#6399 )
* fix(workflow): filter out orphan edges to prevent runtime errors
Runtime edges that reference non-existent nodes (orphan edges) can cause
unexpected behavior or crashes during workflow dispatch. This change adds
a pre-check to filter out such edges before execution begins, ensuring
system stability even with inconsistent graph data.
* fix(workflow): enhance orphan edge filtering with logging and tests
- Refactor: Extract logic to 'filterOrphanEdges' in utils.ts for better reusability
- Feat: Add performance monitoring (warn if >100ms) and comprehensive logging
- Feat: Support detailed edge inspection in debug mode
- Docs: Add JSDoc explaining causes of orphan edges (migration, manual edits)
- Test: Add unit tests covering edge cases and performance (1000 edges)
Addresses PR review feedback regarding logging, variable naming, and testing."
* move code
* move code
* add more unit test
---------
Co-authored-by: archer <545436317@qq.com >
* test
* perf: test
* add server/common/string test
* fix: resolve $ref references in MCP tool input schemas (#6395 ) (#6409 )
* fix: resolve $ref references in MCP tool input schemas (#6395 )
* add test code
---------
Co-authored-by: archer <545436317@qq.com >
* chore(docs): add fastgpt, fastgpt-plugin version choice guide (#6411 )
* chore(doc): add fastgpt version description
* doc
* doc
---------
Co-authored-by: archer <545436317@qq.com >
* fix:dataset cite and description info (#6410 )
* 1. 添加知识库引用(plan 步骤和直接知识库调用)
2. 提示词框中的@知识库工具
3. plan 中 step 的 description dataset_search 改为中文
* fix: i18n
* prompt
* prompt
---------
Co-authored-by: xxyyh <2289112474@qq>
* fix: tool call
* perf: workflow props
* fix: merge ECharts toolbox options instead of overwriting (#6269 ) (#6412 )
* feat: integrate logtape and otel (#6400 )
* fix: deps
* feat(logger): integrate logtape and otel
* wip(log): add basic infras logs
* wip(log): add request id and inject it into context
* wip(log): add basic tx logs
* wip(log): migrate
* wip(log): category
* wip(log): more sub category
* fix: type
* fix: sessionRun
* fix: export getLogger from client.ts
* chore: improve logs
* docs: update signoz and changelog
* change type
* fix: ts
* remove skill.md
* fix: lockfile specifier
* fix: test
---------
Co-authored-by: archer <545436317@qq.com >
* init log
* doc
* remove invalid log
* fix: review
* template
* replace new log
* fix: ts
* remove log
* chore: migrate all addLog to logtape
* move skill
* chore: migrate all addLog to logtape (#6417 )
* update skill
* remove log
* fix: tool check
---------
Co-authored-by: YeYuheng <57035043+YYH211@users.noreply.github.com >
Co-authored-by: xxyyh <2289112474@qq>
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: xuyafei1996 <54217479+xuyafei1996@users.noreply.github.com >
Co-authored-by: ToukoYui <2331631097@qq.com >
Co-authored-by: roy <whoeverimf5@gmail.com >
2026-02-12 16:37:50 +08:00
YeYuheng
84570bda6f
fix:agent eval and doc file ( #6158 )
...
* agent eval
* eval auth
* html transofrm size
* fix: test
---------
Co-authored-by: xxyyh <2289112474@qq>
Co-authored-by: archer <545436317@qq.com >
2025-12-30 11:20:55 +08:00
Archer
44e9299d5e
V4.13.2 features ( #5792 )
...
* add manual create http toolset (#5743 )
* add manual create http toolset
* optimize code
* optimize
* fix
* fix
* rename filename
* feat: integrate ts-rest (#5741 )
* feat: integrate ts-rest
* chore: classify core contract and pro contract
* chore: update lockfile
* chore: tweak dir structure
* chore: tweak dir structure
* update tsrest code (#5755 )
* doc
* update tsrest code
* fix http toolset (#5753 )
* fix http toolset
* fix
* perf: http toolset
* fix: toolresponse result (#5760 )
* doc
* fix: toolresponse result
* fix: mongo watch
* remove log
* feat: integrated to minio (#5748 )
* feat: migrate to minio
* feat: migrate apps' and dataset's avatar to minio
* feat: migrate more avatars to minio
* fix: lock file
* feat: migrate copyright settings' logo to minio
* feat: integrate minio
* chore: improve code
* chore: rename variables
* refactor: s3 class
* fix: s3 and mongo operations
* chore: add session for avatar source
* fix: init s3 buckets
* fix: bugbot issues
* expired time code
* perf: avatar code
* union type
* export favouriteContract
* empty bucket check
---------
Co-authored-by: archer <545436317@qq.com >
* refactor: zod schema to generate OpenAPI instead (#5771 )
* doc
* fix: text split code (#5773 )
* fix: toolresponse result
* remove log
* stream remove
* fix: text split code
* fix: workflow (#5779 )
* fix: toolresponse result
* remove log
* fix: value check
* fix: workflow
* openapi doc
* perf: bucket delete cron
* doc
* feat: apikey health
* feat: export variables
* api code move
* perf: workflow performance (#5783 )
* perf: reactflow context
* perf: workflow context split
* perf: nodeList computed map
* perf: nodes dependen
* perf: workflow performance
* workflow performance
* removel og
* lock
* version
* loop drag
* reactflow size
* reactflow size
* fix: s3init (#5784 )
* doc
* fix: s3init
* perf: dynamic import
* remove moongose dep
* worker build
* worker code
* perf: worker build
* fix: error throw
* doc
* doc
* fix: build
* fix: dockerfile
* nextjs config
* fix: worker
* fix: build (#5791 )
* fix: build
* vector cache code
* fix: app info modal avatar upload method replace (#5787 )
* fix: app info modal avatar upload method replace
* chore: replace all useSelectFile with useUploadAvatar
* remove invalid code
* add size
* Update projects/app/src/pageComponents/app/detail/WorkflowComponents/Flow/nodes/render/RenderInput/templates/CommonInputForm.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update projects/app/src/pageComponents/app/detail/WorkflowComponents/context/workflowInitContext.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: heheer <heheer@sealos.io >
Co-authored-by: 伍闲犬 <whoeverimf5@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-20 19:08:21 +08:00
Archer
7bcee82f5f
perf: memory leak ( #5370 )
...
* perf: memory leak
* perf: workflow share buffer;Circle checker;Get file from stream
* doc
* remove report.md
2025-08-03 22:37:45 +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
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
4b8db293ce
perf: init token worker ( #4726 )
...
* perf: init token worker
* init worker
* preload worker
* preload worker
* remove invalid code
2025-04-29 16:00:35 +08:00
Archer
42b2046f96
4.8.21 feature ( #3720 )
...
* agent search demo
* edit form force close image select
* feat: llm params and doubao1.5
* perf: model error tip
* fix: template register path
* package
2025-02-08 10:44:33 +08:00
Archer
8e4084f7ee
update text splitter ( #3020 )
2024-10-30 01:10:35 +08:00
Archer
e99c91aaa6
Perf system plugin and worker ( #2126 )
...
* perf: worker pool
* perf: worker register
* perf: worker controller
* perf: system plugin worker
* perf: system plugin worker
* perf: worker
* perf: worker
* worker timeout
* perf: copy icon
2024-07-23 11:23:42 +08:00
Archer
434af56abd
4.8-alpha fix ( #1424 )
2024-05-09 22:48:44 +08:00
Archer
b5f0ac3e1d
Perf: read file woker ( #1337 )
...
* perf: read file worker
* fix: Http node url input
* fix: htm2md
* fix: html2md
* fix: ts
* perf: Problem classification increases the matching order
* feat: tool response answer
2024-04-30 18:12:20 +08:00
Archer
439c819ff1
4.8 preview ( #1288 )
...
* Revert "lafAccount add pat & re request when token invalid (#76 )" (#77 )
This reverts commit 83d85dfe37adcaef4833385ea52ee79fd84720be.
* perf: workflow ux
* system config
* Newflow (#89 )
* docs: Add doc for Xinference (#1266 )
Signed-off-by: Carson Yang <yangchuansheng33@gmail.com >
* Revert "lafAccount add pat & re request when token invalid (#76 )" (#77 )
This reverts commit 83d85dfe37adcaef4833385ea52ee79fd84720be.
* perf: workflow ux
* system config
* Revert "lafAccount add pat & re request when token invalid (#76 )" (#77 )
This reverts commit 83d85dfe37adcaef4833385ea52ee79fd84720be.
* Revert "lafAccount add pat & re request when token invalid (#76 )" (#77 )
This reverts commit 83d85dfe37adcaef4833385ea52ee79fd84720be.
* Revert "lafAccount add pat & re request when token invalid (#76 )" (#77 )
This reverts commit 83d85dfe37adcaef4833385ea52ee79fd84720be.
* rename code
* move code
* update flow
* input type selector
* perf: workflow runtime
* feat: node adapt newflow
* feat: adapt plugin
* feat: 360 connection
* check workflow
* perf: flow 性能
* change plugin input type (#81 )
* change plugin input type
* plugin label mode
* perf: nodecard
* debug
* perf: debug ui
* connection ui
* change workflow ui (#82 )
* feat: workflow debug
* adapt openAPI for new workflow (#83 )
* adapt openAPI for new workflow
* i18n
* perf: plugin debug
* plugin input ui
* delete
* perf: global variable select
* fix rebase
* perf: workflow performance
* feat: input render type icon
* input icon
* adapt flow (#84 )
* adapt newflow
* temp
* temp
* fix
* feat: app schedule trigger
* feat: app schedule trigger
* perf: schedule ui
* feat: ioslatevm run js code
* perf: workflow varialbe table ui
* feat: adapt simple mode
* feat: adapt input params
* output
* feat: adapt tamplate
* fix: ts
* add if-else module (#86 )
* perf: worker
* if else node
* perf: tiktoken worker
* fix: ts
* perf: tiktoken
* fix if-else node (#87 )
* fix if-else node
* type
* fix
* perf: audio render
* perf: Parallel worker
* log
* perf: if else node
* adapt plugin
* prompt
* perf: reference ui
* reference ui
* handle ux
* template ui and plugin tool
* adapt v1 workflow
* adapt v1 workflow completions
* perf: time variables
* feat: workflow keyboard shortcuts
* adapt v1 workflow
* update workflow example doc (#88 )
* fix: simple mode select tool
---------
Signed-off-by: Carson Yang <yangchuansheng33@gmail.com >
Co-authored-by: Carson Yang <yangchuansheng33@gmail.com >
Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com >
* doc
* perf: extract node
* extra node field
* update plugin version
* doc
* variable
* change doc & fix prompt editor (#90 )
* fold workflow code
* value type label
---------
Signed-off-by: Carson Yang <yangchuansheng33@gmail.com >
Co-authored-by: Carson Yang <yangchuansheng33@gmail.com >
Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com >
2024-04-25 17:51:20 +08:00