feat(workflow): allow more nodes in tool call - #7496
Open
Nixieboluo wants to merge 8 commits into
Open
Conversation
Signed-off-by: Nixieboluo <me@sagirii.me>
Signed-off-by: Nixieboluo <me@sagirii.me>
Signed-off-by: Nixieboluo <me@sagirii.me>
Signed-off-by: Nixieboluo <me@sagirii.me>
Signed-off-by: Nixieboluo <me@sagirii.me>
Signed-off-by: Nixieboluo <me@sagirii.me>
Coverage Report
File CoverageNo changed files found. |
|
✅ Docs Preview Deployed! 🔗 👀 Click here to visit preview 🕒 Time: 2026-08-11 17:45:10 (UTC+8) |
|
✅ Build Successful - Preview fastgpt Image for this PR: 🕒 Time: 2026-08-11 17:56:13 (UTC+8) |
|
✅ Admin Preview Image Ready! 🕒 Time: 2026-08-11 17:52:19 (UTC+8) |
Signed-off-by: Nixieboluo <me@sagirii.me>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates workflow node tool-parameter support and related rendering behavior. It adds node-level hasToolInput metadata for HTTP Request and Code Run nodes, keeping the “Tool Parameters” section visible independently of the deprecated DynamicInput state. For HTTP Request nodes, migrating a deprecated dynamic input no longer hides the tool-parameter configuration. Code Run nodes can expose manually defined tool parameters, and their Custom Variables selector can reference those parameters. Existing HTTP compatibility logic also restores legacy dynamic fields as tool parameters where applicable.
The PR also updates tool-compatible node inputs and AI-generation rules. Question Classification supports Background Knowledge, Chat History, and User Question; Tool Call supports Prompt, Chat History, File Links, and User Question; Document Parser supports Document Link; and Custom Feedback supports Feedback Text. User Question and Document Link default to AI-generated when added as tool parameters, while the other supported fields remain manually configurable by default. Text Concatenation, Judge, Parallel Execution, loopRun, and Code Run inputs explicitly do not support AI generation. The deprecated legacy loop node is intentionally unchanged.
Signed-off-by: Nixieboluo me@sagirii.me