Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(flows): extend save workflow schema fixture with text field

Steven Enamakel263b2daf1ce7
diff --git a/crates/openhuman-core/src/flows/builder_tools_save_and_edit_tests.rs b/crates/openhuman-core/src/flows/builder_tools_save_and_edit_tests.rs
index 8b5ad402bd..c6e35c27f9 100644
--- a/crates/openhuman-core/src/flows/builder_tools_save_and_edit_tests.rs
+++ b/crates/openhuman-core/src/flows/builder_tools_save_and_edit_tests.rs
@@ -375,11 +375,17 @@ async fn save_workflow_accepts_correctly_schemad_graph() {
{ "id": "summarize", "kind": "agent", "name": "Summarize",
"config": { "agent_ref": "workflow_builder", "prompt": "summarize",
"output_parser": { "schema": { "type": "object",
- "required": ["channel"],
- "properties": { "channel": { "type": "string" } } } } } },
+ "required": ["channel", "text"],
+ "properties": {
+ "channel": { "type": "string" },
+ "text": { "type": "string" }
+ } } } } },
{ "id": "notify", "kind": "tool_call", "name": "Notify",
"config": { "slug": "SLACK_SEND_MESSAGE",
- "args": { "channel": "=nodes.summarize.item.json.channel" } } }
+ "args": {
+ "channel": "=nodes.summarize.item.json.channel",
+ "text": "=nodes.summarize.item.json.text"
+ } } }
],
"edges": [
{ "from_node": "t", "to_node": "summarize" },