Flowise/packages/components/nodes/agentflow
Siddharth Chauhan 1f3f7a7194
feat: Add structured JSON output support to Agent Node (#5470)
* feat: Add structured JSON output support to Agent Node

- Add agentStructuredOutput input parameter matching LLM Node structure
- Implement configureStructuredOutput method to convert schema to Zod
- Add createZodSchemaFromJSON helper for complex JSON schemas
- Configure structured output before binding tools (required order)
- Disable streaming when structured output is enabled
- Extract structured fields in prepareOutputObject method
- Resolves issue #5256

* lint fix

* add structured output to Agent node

* add structured output to Agent node

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-11-25 19:52:49 +00:00
..
Agent feat: Add structured JSON output support to Agent Node (#5470) 2025-11-25 19:52:49 +00:00
Condition chore: fix typos in packages/components/nodes/agentflow/Condition/Condition.ts (#5436) 2025-11-07 11:29:29 +00:00
ConditionAgent feat: Add configurable system prompt to Condition Agent (#4587) 2025-06-10 18:38:02 +01:00
CustomFunction Chore/leave default timeout for sandbox execution (#5263) 2025-09-28 11:27:19 +01:00
DirectReply Feature/agentflow v2 (#4298) 2025-05-10 10:21:26 +08:00
ExecuteFlow Bugfix/Parse JSON correctly (#5220) 2025-09-18 19:18:50 +01:00
HTTP Ability to support variable in the URL for HTTP Node. (#5284) 2025-10-06 13:43:48 +01:00
HumanInput fix: Upgrade Hugging Face Inference API to support Inference Providers (#5454) 2025-11-25 11:43:36 +00:00
Iteration Bugfix/Parse JSON correctly (#5220) 2025-09-18 19:18:50 +01:00
LLM feat: Add structured JSON output support to Agent Node (#5470) 2025-11-25 19:52:49 +00:00
Loop Feature/Update Loop Agentflow (#4957) 2025-09-28 22:08:08 +01:00
Retriever Bugfix/Array Input Variables (#5196) 2025-09-12 14:42:34 +01:00
Start Bugfix/AgentflowV2 State (#4512) 2025-05-27 18:01:39 +01:00
StickyNote Feature/agentflow v2 (#4298) 2025-05-10 10:21:26 +08:00
Tool Bugfix/Array Input Variables (#5196) 2025-09-12 14:42:34 +01:00
Interface.Agentflow.ts Feature/agentflow v2 (#4298) 2025-05-10 10:21:26 +08:00
prompt.ts Fix: Correct formatting of Condition Agent prompt (#4626) 2025-06-11 14:07:02 +01:00
utils.ts Bugfix/Array Input Variables (#5196) 2025-09-12 14:42:34 +01:00