Flowise/packages/components/nodes
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
..
agentflow feat: Add structured JSON output support to Agent Node (#5470) 2025-11-25 19:52:49 +00:00
agents fix: OpenAI Assistant tool call failures masked as success (#5504) 2025-11-22 12:54:59 +00:00
analytic
cache
chains
chatmodels feat: Add image upload support to ChatOpenRouter node (#5471) 2025-11-25 14:46:27 +00:00
documentloaders Chore/Disable Unstructure Folder (#5483) 2025-11-16 13:17:59 +00:00
embeddings fix: Upgrade Hugging Face Inference API to support Inference Providers (#5454) 2025-11-25 11:43:36 +00:00
engine docs: fix typos in packages/components/nodes/engine/SubQuestionQueryEngine/SubQuestionQueryEngine.ts (#5446) 2025-11-07 11:48:31 +00:00
graphs/Neo4j
llms fix: Upgrade Hugging Face Inference API to support Inference Providers (#5454) 2025-11-25 11:43:36 +00:00
memory
moderation
multiagents Bugfix/Supervisor Node AzureChatOpenAI (#5448) 2025-11-07 11:51:54 +00:00
outputparsers Refractor/SecureZodSchemaParser (#4898) 2025-07-19 01:11:31 +01:00
prompts chore: fix typos in packages/components/nodes/prompts/ChatPromptTemplate/ChatPromptTemplate.ts (#5438) 2025-11-07 11:30:01 +00:00
recordmanager Ensure proper cleanup of the database connection in `createSchema` (#5315) 2025-10-28 12:29:45 +00:00
responsesynthesizer
retrievers
sequentialagents chore: fix typos in packages/components/nodes/sequentialagents/commonUtils.ts (#5419) 2025-11-05 13:01:30 +00:00
speechtotext/assemblyai
textsplitters
tools Add workspaceId in options if not already there. (#5503) 2025-11-22 12:55:16 +00:00
utilities Chore/leave default timeout for sandbox execution (#5263) 2025-09-28 11:27:19 +01:00
vectorstores Chore/remove teradatasql (#5430) 2025-11-06 22:21:10 +00:00