Skip to content

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

Merge upstream/main into fu-test-helpers; repin vendor to merged module mains

Steven Enamakelc5afe57a3d58
diff --cc crates/openhuman-cli/Cargo.toml
index 4d302ff3fa,9e698d065a..7d5936d921
--- a/crates/openhuman-cli/Cargo.toml
+++ b/crates/openhuman-cli/Cargo.toml
@@@ -193,14 -174,6 +174,10 @@@ path = "../../tests/cli_model_overrides
name = "cli_sigpipe"
path = "../../tests/cli_sigpipe.rs"
+[[test]]
+name = "composio_list_tools_stack_overflow_regression"
+path = "../../tests/composio_list_tools_stack_overflow_regression.rs"
+
- [[test]]
- name = "config_auth_app_state_connectivity_e2e"
- path = "../../tests/config_auth_app_state_connectivity_e2e.rs"
-
[[test]]
name = "cwd_jail_e2e"
path = "../../tests/cwd_jail_e2e.rs"
diff --cc tests/in_process/agent_turn_overrides_e2e.rs
index 43b63d2b5b,3450f05646..7a695600c2
--- a/tests/in_process/agent_turn_overrides_e2e.rs
+++ b/tests/in_process/agent_turn_overrides_e2e.rs
@@@ -438,9 -391,21 +407,9 @@@ fn suppress_transcript_autoload_does_no
async fn suppress_transcript_autoload_does_not_replay_a_prior_threads_transcript_inner() {
let _env = env_lock();
let (_temp, workspace_path) = workspace("suppress-transcript-autoload");
- let _workspace_guard = EnvGuard::set_path("OPENHUMAN_WORKSPACE", &workspace_path);
+ let _workspace_guard = EnvVarGuard::set_path("OPENHUMAN_WORKSPACE", &workspace_path);
const PRIOR_MARKER: &str = "turn-overrides-prior-thread-secret-topic";
- // Two ids, so the run enacts #1725's actual shape: a host that has re-bound
- // its history to a *different* chat, not merely a second agent on the same
- // one.
- //
- // These scopes do not steer the lookup, and are not meant to. Autoload is
- // `session_io_impl_01_part_01.rs:45` — `latest_for_agent(&self.agent_definition_name)`
- // — which never read a conversation-thread carrier; that
- // agent-name-only resolution IS the defect the override exists to work
- // around. They are here so the control states the stronger fact (the prior
- // transcript is replayed *even under a different thread id*), and so that a
- // future change making autoload thread-scoped fails this control loudly
- // instead of passing while quietly changing what the test means.
const PRIOR_THREAD: &str = "turn-overrides-autoload-thread-a";
const LATER_THREAD: &str = "turn-overrides-autoload-thread-b";
@@@ -548,9 -505,9 +517,9 @@@ fn turn_overrides_apply_to_exactly_one_
async fn turn_overrides_apply_to_exactly_one_turn_and_then_reset_inner() {
let _env = env_lock();
let (_temp, workspace_path) = workspace("overrides-reset");
- let _workspace_guard = EnvGuard::set_path("OPENHUMAN_WORKSPACE", &workspace_path);
+ let _workspace_guard = EnvVarGuard::set_path("OPENHUMAN_WORKSPACE", &workspace_path);
- let model = ScriptedModel::new(vec![text("suppressed reply"), text("restored reply")]);
+ let model = ScriptedModel::native_tools(vec![text("suppressed reply"), text("restored reply")]);
let mut agent = agent_with(
model.clone(),
vec![Box::new(EchoTool)],