Conversation
* 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>
* 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>
* 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 * doc
* 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 * doc * workflow fitview
|
There is too much information in the pull request to test. |
|
|
There was a problem hiding this comment.
Pull request overview
This PR introduces V4.14.7 features including a new Agent mode, LLM request tracking, enhanced dataset search filtering, and numerous UI/UX improvements across the workflow and chat systems. The changes include major refactoring of type definitions, workflow dispatch architecture, and the addition of HelperBot functionality.
Changes:
- Added Agent mode with context-based task decomposition and planning capabilities
- Implemented LLM request tracking with configurable retention
- Enhanced dataset search with collection filtering and improved compression logic
- Refactored type system replacing
.d.tsfiles with zod schemas for better validation - Improved workflow response handling with structured step tracking
Reviewed changes
Copilot reviewed 204 out of 518 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/web/components/common/Icon/constants.ts | Added new icon paths for agent child nodes and warning fill |
| packages/web/components/common/Icon/button.tsx | Added MyDeleteIconButton component with delete icon |
| packages/service/thirdProvider/textin/index.ts | Commented out debug console.log statement |
| packages/service/support/user/audit/util.ts | Added i18n handling for chatAgent app type |
| packages/service/support/permission/teamLimit.ts | Extended team app limit check to include chatAgent type |
| packages/service/support/permission/model/controller.ts | Added Chinese comment for unconfigured permissions |
| packages/service/support/permission/app/auth.ts | Fixed import path and updated authorization logic for tool plugins |
| packages/service/support/outLink/tools.ts | Made shareId and chatId required parameters |
| packages/service/core/workflow/utils.ts | Changed toolSetNode parameter to Pick type for better type safety |
| packages/service/core/workflow/dispatch/utils.ts | Refactored workflow response write functions and added tool config validation |
| packages/service/core/workflow/dispatch/type.ts | Replaced WorkflowResponseType with zod schema definition |
| packages/service/core/workflow/dispatch/tools/readFiles.ts | Renamed readS3FileContentByBuffer to readFileContentByBuffer |
| packages/service/core/workflow/dispatch/dataset/search.ts | Fixed variable name from usingReRank to searchUsingReRank and added code block |
| packages/service/core/workflow/dispatch/constants.ts | Reorganized callback map with new agent node |
| packages/service/core/workflow/dispatch/child/runTool.ts | Updated MCP tool ID splitting to handle toolSetName |
| packages/service/core/workflow/dispatch/child/runApp.ts | Added type guard for file filtering |
| packages/service/core/workflow/dispatch/ai/utils.ts | Created new utility file for AI helper functions |
| packages/service/core/workflow/dispatch/ai/tool/toolCall.ts | Removed write parameter and updated function calls |
| packages/service/core/workflow/dispatch/ai/tool/index.ts | Added requestIds to response and updated imports |
| packages/service/core/workflow/dispatch/ai/extract.ts | Removed ChatItemValueTypeEnum usage |
| packages/service/core/workflow/dispatch/ai/classifyQuestion.ts | Removed ChatItemValueTypeEnum usage |
| packages/service/core/workflow/dispatch/ai/chat.ts | Added requestId tracking for LLM requests |
| packages/service/core/workflow/dispatch/ai/agent/* | Added new agent implementation files |
| packages/service/core/dataset/search/controller.ts | Fixed import path for RerankModelItemType |
| packages/service/core/dataset/read.ts | Renamed function call to readFileContentByBuffer |
| packages/service/core/chat/utils.ts | Updated to check for 'file' property instead of type enum |
| packages/service/core/chat/pushChatLog.ts | Changed to property checks instead of type enum |
| packages/service/core/chat/chatSchema.ts | Added errorCount field with index |
| packages/service/core/chat/HelperBot/* | Added new HelperBot functionality |
| packages/service/core/app/version/controller.ts | Changed AppSchema to AppSchemaType |
| packages/service/core/app/utils.ts | Refactored app workflow detail rewriting |
| packages/service/core/app/tool/controller.ts | Added getMyTools function and updated tool preview logic |
| packages/service/core/app/schema.ts | Updated type import name |
| packages/service/core/app/mcp.ts | Updated type import name |
| packages/service/core/ai/utils.ts | Renamed parseToolArgs to parseJsonArgs |
| packages/service/core/ai/type.ts | Updated model type imports and system default model type |
| packages/service/core/ai/record/* | Added LLM request record schema and controller |
| packages/service/core/ai/model.ts | Moved model definitions and added default helper bot model |
| packages/service/core/ai/llm/utils.ts | Updated message filtering logic |
| packages/service/common/response/index.ts | Removed write parameter from response functions |
| packages/service/common/mongo/sessionRun.ts | Wrapped session run in retry function |
| packages/service/common/file/read/utils.ts | Renamed function from readS3FileContentByBuffer |
| packages/service/common/api/frequencyLimit.ts | Added custom limit type with configurable options |
| packages/global/* | Extensive type system refactoring with zod schemas |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Preview mcp_server Image: |
Preview sandbox Image: |
Docs Preview:🚀 FastGPT Document Preview Ready! |
Preview fastgpt Image: |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 204 out of 518 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.