The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
refactor(tools): drop structured hand-off fields from delegation schema
Steven Enamakel98cda9d7d97f
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/archetype_delegation.rs b/crates/openhuman-core/src/agent/orchestration/tools/archetype_delegation.rsindex b806c09438..3259edb852 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/archetype_delegation.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/archetype_delegation.rs@@ -82,35 +82,20 @@ impl Tool for ArchetypeDelegationTool {////// Enforced by `envelope_descriptions_stay_within_budget` below. If you/// are about to add a description here, put it in prompt.md instead.+ /// Only `prompt` and `blocking` are advertised. The structured hand-off+ /// fields (`objective`, `evidence`, `constraints`, `must_not_assume`,+ /// `expected_output`, `citation_requirement`, `model`) are still parsed by+ /// `execute_with_context`, so a caller that sends them keeps working, but+ /// they cost ~150 tokens per delegate on every request and a+ /// self-contained `prompt` carries the same content.fn parameters_schema(&self) -> serde_json::Value {json!({"type": "object","required": ["prompt"],"properties": {- "prompt": { "type": "string" },- "objective": { "type": "string" },- "evidence": {- "type": "array",- "items": { "type": "string" },- "description": "Only facts, paths, URLs, ids or tool outputs you actually observed."- },- "constraints": {- "type": "array",- "items": { "type": "string" }- },- "must_not_assume": {- "type": "array",- "items": { "type": "string" }- },- "expected_output": { "type": "string" },- "citation_requirement": {- "type": "string",- "enum": ["none", "file_paths", "urls", "retrieval_hits", "tool_outputs"],- "description": "Evidence style the child must preserve in its result."- },- "model": {+ "prompt": {"type": "string",- "description": "Pin the child to this exact model id. Omit unless you have a reason."+ "description": "The whole task, self-contained: the worker has no memory of this chat."},"blocking": {"type": "boolean",