Skip to content

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

merge: origin/green-all-tests-followup-next (#6367) into hermes-prompt-diet

Steven Enamakel5d8d6ce7f513
diff --cc crates/openhuman-core/src/agent/session_host/driver.rs
index e8e2b4770f,2727d76aba..a698e01196
--- a/crates/openhuman-core/src/agent/session_host/driver.rs
+++ b/crates/openhuman-core/src/agent/session_host/driver.rs
@@@ -178,16 -181,8 +181,16 @@@ impl SessionDriver<OpenHumanRunContext
.map(|spec| spec.name.clone())
.collect();
ensure_snapshot_tools_are_executable(&visible_tool_names, &tools, &synthesized_tools)?;
- let run_context = request.run_context.data.clone();
+ // The harness must speak the dialect this session's prompt was
+ // composed for: a text dialect strips schemas off the wire and needs
+ // the positional registry to recover P-Format / code-style calls.
+ let run_context = request.run_context.data.clone().with_tool_dialect(
+ crate::agent::prompts::tool_call_format_from_dialect(
+ self.dispatcher.tool_call_format(),
+ )
+ .harness_dispatcher(),
+ );
- let outcome = match graph::run_chat_turn_graph(ChatTurnGraph {
+ let mut outcome = match graph::run_chat_turn_graph(ChatTurnGraph {
turn_models,
model: self.model_name.clone(),
messages,
diff --cc scripts/ci/agent-runtime-boundary-baseline.json
index c162f5d24a,73cebdbbeb..7707ca1abd
--- a/scripts/ci/agent-runtime-boundary-baseline.json
+++ b/scripts/ci/agent-runtime-boundary-baseline.json
@@@ -464,7 -485,7 +485,7 @@@
{
"rule": "openhuman-task-local",
"path": "crates/openhuman-core/src/agent/session_host/runtime_session.rs",
- "line": 1347,
- "line": 1363,
++ "line": 1407,
"text": "request_id: crate::agent::turn_origin::current_request_id(),",
"occurrence": 1
},