Skip to content

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

test(native_channel_session_restart_e2e): borrow config when writing to disk

Steven Enamakel95b0b6645dba
diff --git a/tests/native_channel_session_restart_e2e.rs b/tests/native_channel_session_restart_e2e.rs
index 94ced660c9..605acc2a5e 100644
--- a/tests/native_channel_session_restart_e2e.rs
+++ b/tests/native_channel_session_restart_e2e.rs
@@ -231,7 +231,7 @@ auth_style = "none"
default_model = "session-model"
"#
);
- std::fs::write(openhuman_dir.join("config.toml"), config).expect("write config");
+ std::fs::write(openhuman_dir.join("config.toml"), &config).expect("write config");
// Core config resolution uses the operator profile when no identity has
// been established, while workspace state is independently pinned here.
let mut parsed: openhuman_core::config::Config =