When creating a new node in Agent Builder (Platform → Agent Kit → Workflow canvas), I set Output format = JSON (plain JSON mode), did not bind a schema, and entered no schema fields. After saving and running the workflow, I reopened the node and saw:
-
A purple schema chip labeled
response_schema(or another old schema name) appeared automatically — I did not add or select this. -
Opening the schema (Advanced view) shows the
requiredarray contains many duplicated entries ("subject","body_text", etc repeated dozens of times). -
Switching the Output format to “Text” from JSON causes the node editor screen to go black (UI freeze or blank canvas). Refreshing returns to the corrupted state.
Steps to reproduce:
-
Create a new workflow or node.
-
Add a Sanitizer (or node that uses Output format).
-
Set Output format = JSON (plain mode). Do not add a schema (no purple chip selected).
-
Save the node.
-
Run the workflow (with dummy input, e.g., generate an email).
-
Reopen the node → notice the purple schema chip appears automatically.
-
Open the schema (Advanced) → observe the duplicated
requiredentries. -
Try to change Output format to “Text” → screen goes black.
-
Refresh page → still shows the auto-bound schema and duplication.
Expected behavior:
-
When Output format = JSON (non-structured), no schema chip should be auto-bound.
-
The node should remain in the selected mode without switching to Advanced or injecting duplicate
required. -
Switching to Text mode should function normally without UI freeze.
Actual behavior:
-
A schema is auto-bound despite not being selected by the user.
-
The
requiredlist becomes exponentially long via duplication. -
Changing modes causes UI failure (black screen).
Environment:
-
Browser: [fill e.g., Chrome 120.0.0.0]
-
OS: [fill e.g., macOS 14.6]
-
Workflow name & node type: [e.g., “Sanitizer Agent” in workflow “EmailComposerFlow”] Transform
-
Model used: [e.g., gpt-4o-mini]
Additional context / logs/screenshots:
- Include the screenshots showing: new node with JSON mode, purple chip auto-appearing, the duplicate required array.
Workarounds attempted:
-
Created a brand new schema.
-
Cleared browser cache, restarted browser.
-
Tried in private/incognito mode.
Impact:
This bug prevents stable use of Sanitizer nodes with JSON mode → forces me into fragile Structured Output schemas → time wasted and risk of broken workflows.
UPDATE: I did some work, and with ChapGPT realized
“The builder is auto-binding a Structured Output schema when you connect Sanitizer → Email QA Check. In other words, the downstream node (or the edge) is signaling “I expect a schema,” and the editor slaps on a default response_schema to the upstream agent—even if you set Sanitizer to plain JSON. That’s why it stays clean when isolated and instantly grows a purple chip the moment you wire it in.”
So I disconnected all the nodes and removed the agent node, giving me the issue. And on refresh, I get a black screen no more agent. Dead in the water