Skip to content

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

chore: files changed src/openhuman/flows/ops.rs

Steven Enamakel78653caa4df6
diff --git a/src/openhuman/flows/ops.rs b/src/openhuman/flows/ops.rs
index ff129c78b7..549adbf764 100644
--- a/src/openhuman/flows/ops.rs
+++ b/src/openhuman/flows/ops.rs
@@ -3929,6 +3929,7 @@ pub async fn flows_update(
config: &Config,
id: &str,
name: Option<String>,
+ description: Option<String>,
graph_json: Option<Value>,
require_approval: Option<bool>,
expected_version: Option<String>,
@@ -3937,6 +3938,7 @@ pub async fn flows_update(
config,
id,
name,
+ description,
graph_json,
require_approval,
expected_version,
@@ -3976,6 +3978,9 @@ async fn flows_update_inner(
config: &Config,
id: &str,
name: Option<String>,
+ // `None` means "not part of this edit" and leaves the stored description
+ // alone; `Some("")` deliberately clears it.
+ description: Option<String>,
graph_json: Option<Value>,
require_approval: Option<bool>,
expected_version: Option<String>,
@@ -4057,6 +4062,7 @@ async fn flows_update_inner(
config,
id,
new_name,
+ description,
graph,
effective_require_approval,
None,