Skip to content

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

chore(flows): remove stale comments and reorder import

Steven Enamakelcdc0bfb8e3a3
diff --git a/crates/openhuman-core/src/flows/builder_tools/dry_run.rs b/crates/openhuman-core/src/flows/builder_tools/dry_run.rs
index 5cf27a7c58..759bcf0ea3 100644
--- a/crates/openhuman-core/src/flows/builder_tools/dry_run.rs
+++ b/crates/openhuman-core/src/flows/builder_tools/dry_run.rs
@@ -277,10 +277,6 @@ impl Tool for DryRunWorkflowTool {
inner: caps.tools.clone(),
});
- // Which node ids are `tool_call` nodes — the null-resolution check
- // below is scoped to just these (see the struct doc: a null in an
- // `agent`'s prompt is not execution-breaking the way a null tool arg
- // is, so only `tool_call` diagnostics fail the dry run).
let observer = Arc::new(CapturingObserver::default());
let observer_dyn: Arc<dyn tinyflows::observability::RunObserver> = observer.clone();
let run = tinyflows::engine::run_with_observer(&compiled, input, &caps, &observer_dyn);
@@ -342,14 +338,6 @@ impl Tool for DryRunWorkflowTool {
}
};
- // Collect every null-resolved `=`-expression that landed on a
- // `tool_call` node's `args.*` config path — the class of binding
- // mistake that "builds" (compiles, dry-runs against echo mocks) but
- // does nothing at runtime because the wired field never had a value.
- // Each entry is honest about WHY it resolved null: a binding to an
- // upstream Composio `tool_call`'s output is flagged `unverifiable`
- // (the echo mock can't produce real tool output fields) rather than
- // reported as a plain wiring mistake — see `tinyflows::authoring_report::NullResolutionEntry`.
// The bucketing and advice wording live upstream (`tinyflows::authoring_report`);
// this tool keeps the mock capabilities, the timeout and the JSON envelope.
let AuthoringReport {
diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/ops_schema_and_structured_output_tests.rs b/crates/openhuman-core/src/flows/tinyflows/caps/ops_schema_and_structured_output_tests.rs
index f90ed9e9af..cda7238bca 100644
--- a/crates/openhuman-core/src/flows/tinyflows/caps/ops_schema_and_structured_output_tests.rs
+++ b/crates/openhuman-core/src/flows/tinyflows/caps/ops_schema_and_structured_output_tests.rs
@@ -92,4 +92,3 @@ fn crate_model_response_preserves_flow_completion_contract() {
}
// ── build_agent_result improvements (issue #5151) ────────────────────
-
diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/prompt.rs b/crates/openhuman-core/src/flows/tinyflows/caps/prompt.rs
index 9715d45543..112509439f 100644
--- a/crates/openhuman-core/src/flows/tinyflows/caps/prompt.rs
+++ b/crates/openhuman-core/src/flows/tinyflows/caps/prompt.rs
@@ -18,9 +18,9 @@ use tinyflows::error::{EngineError, Result};
use super::*;
use crate::agent::messages::ChatMessage;
-use tinyflows::nodes::integration::agent_prompt;
use crate::config::Config;
use crate::inference::provider::{is_raw_passthrough_model, UsageInfo};
+use tinyflows::nodes::integration::agent_prompt;
/// [`agent_prompt::build_completion_messages`] mapped onto the host's
/// [`ChatMessage`] type.