Skip to content

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

fix: correct test module naming to follow Rust convention

Steven Enamakel19655b04e35a
diff --git a/crates/openhuman-core/src/agent/harness/builtin_definitions.rs b/crates/openhuman-core/src/agent/harness/builtin_definitions.rs
index 2cc79381f2..85067ef71a 100644
--- a/crates/openhuman-core/src/agent/harness/builtin_definitions.rs
+++ b/crates/openhuman-core/src/agent/harness/builtin_definitions.rs
@@ -58,8 +58,6 @@ pub(crate) fn test_main_def() -> AgentDefinition {
omit_identity: true,
omit_memory_context: true,
omit_safety_preamble: true,
- omit_profile: true,
- omit_memory_md: true,
model: ModelSpec::Inherit,
temperature: 0.0,
tools: ToolScope::Wildcard,
@@ -74,7 +72,6 @@ pub(crate) fn test_main_def() -> AgentDefinition {
timeout_secs: None,
sandbox_mode: SandboxMode::None,
background: false,
- trigger_memory_agent: Default::default(),
tokenjuice_compression: crate::inference::tokenjuice::AgentTokenjuiceCompression::Auto,
subagents: vec![
SubagentEntry::AgentId("__test_inherit_echo".into()),
@@ -105,8 +102,6 @@ pub(crate) fn test_inherit_echo_def() -> AgentDefinition {
omit_identity: true,
omit_memory_context: true,
omit_safety_preamble: true,
- omit_profile: true,
- omit_memory_md: true,
model: ModelSpec::Inherit,
temperature: 0.0,
tools: ToolScope::Named(vec![]),
@@ -121,7 +116,6 @@ pub(crate) fn test_inherit_echo_def() -> AgentDefinition {
timeout_secs: None,
sandbox_mode: SandboxMode::None,
background: false,
- trigger_memory_agent: Default::default(),
tokenjuice_compression: crate::inference::tokenjuice::AgentTokenjuiceCompression::Auto,
subagents: vec![],
delegate_name: None,
@@ -145,8 +139,6 @@ pub(crate) fn test_inherit_parallel_worker_def() -> AgentDefinition {
omit_identity: true,
omit_memory_context: true,
omit_safety_preamble: true,
- omit_profile: true,
- omit_memory_md: true,
model: ModelSpec::Inherit,
temperature: 0.0,
tools: ToolScope::Named(vec!["fixture_step".into()]),
@@ -161,7 +153,6 @@ pub(crate) fn test_inherit_parallel_worker_def() -> AgentDefinition {
timeout_secs: None,
sandbox_mode: SandboxMode::None,
background: false,
- trigger_memory_agent: Default::default(),
tokenjuice_compression: crate::inference::tokenjuice::AgentTokenjuiceCompression::Auto,
subagents: vec![],
delegate_name: None,
diff --git a/crates/openhuman-core/src/agent/harness/definition.rs b/crates/openhuman-core/src/agent/harness/definition.rs
index 15ad32d041..e0bb92d7c0 100644
--- a/crates/openhuman-core/src/agent/harness/definition.rs
+++ b/crates/openhuman-core/src/agent/harness/definition.rs
@@ -34,7 +34,7 @@ mod subagents;
mod tier;
pub use agent_definition::{
- AgentDefinition, IterationPolicy, TriggerMemoryAgent, EXTENDED_MAX_TOOL_ITERATIONS,
+ AgentDefinition, IterationPolicy, EXTENDED_MAX_TOOL_ITERATIONS,
};
pub use execution_spec::{ModelSpec, SandboxMode, ToolScope};
pub use prompt_source::{PromptBuilder, PromptSource};
diff --git a/crates/openhuman-core/src/agent/harness/definition_tests.rs b/crates/openhuman-core/src/agent/harness/definition_tests.rs
index 7debd65c2b..4dac49de53 100644
--- a/crates/openhuman-core/src/agent/harness/definition_tests.rs
+++ b/crates/openhuman-core/src/agent/harness/definition_tests.rs
@@ -9,8 +9,6 @@ fn make_def(id: &str) -> AgentDefinition {
omit_identity: true,
omit_memory_context: true,
omit_safety_preamble: true,
- omit_profile: true,
- omit_memory_md: true,
model: ModelSpec::Inherit,
temperature: 0.4,
tools: ToolScope::Wildcard,
@@ -25,7 +23,6 @@ fn make_def(id: &str) -> AgentDefinition {
timeout_secs: None,
sandbox_mode: SandboxMode::None,
background: false,
- trigger_memory_agent: Default::default(),
tokenjuice_compression: crate::inference::tokenjuice::AgentTokenjuiceCompression::Auto,
subagents: vec![],
delegate_name: None,
diff --git a/crates/openhuman-core/src/agent/library/ops_tests.rs b/crates/openhuman-core/src/agent/library/ops_tests.rs
index c419498c83..c7c4507f85 100644
--- a/crates/openhuman-core/src/agent/library/ops_tests.rs
+++ b/crates/openhuman-core/src/agent/library/ops_tests.rs
@@ -10,8 +10,6 @@ fn definition() -> AgentDefinition {
omit_identity: true,
omit_memory_context: true,
omit_safety_preamble: true,
- omit_profile: false,
- omit_memory_md: true,
model: ModelSpec::Hint("reasoning".to_string()),
temperature: 0.2,
tools: ToolScope::Named(vec!["web_search".to_string(), "file_read".to_string()]),
@@ -26,7 +24,6 @@ fn definition() -> AgentDefinition {
timeout_secs: None,
sandbox_mode: SandboxMode::ReadOnly,
background: false,
- trigger_memory_agent: Default::default(),
tokenjuice_compression: crate::inference::tokenjuice::AgentTokenjuiceCompression::Auto,
subagents: vec![
SubagentEntry::AgentId("critic".to_string()),
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents_tests.rs
index b8ab842398..8a0c7291c7 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents_tests.rs
@@ -154,8 +154,6 @@ fn definition_with_tool_scope(
omit_identity: true,
omit_memory_context: true,
omit_safety_preamble: true,
- omit_profile: true,
- omit_memory_md: true,
model: ModelSpec::Inherit,
temperature: 0.0,
tools,
@@ -170,7 +168,6 @@ fn definition_with_tool_scope(
timeout_secs: None,
sandbox_mode,
background: false,
- trigger_memory_agent: Default::default(),
tokenjuice_compression: Default::default(),
subagents: Vec::new(),
delegate_name: None,
diff --git a/crates/openhuman-core/src/agent/registry/defaults.rs b/crates/openhuman-core/src/agent/registry/defaults.rs
index b95149a717..c5b06b2755 100644
--- a/crates/openhuman-core/src/agent/registry/defaults.rs
+++ b/crates/openhuman-core/src/agent/registry/defaults.rs
@@ -87,8 +87,6 @@ pub fn definition_from_registry_entry(entry: &AgentRegistryEntry) -> AgentDefini
omit_identity: true,
omit_memory_context: true,
omit_safety_preamble: true,
- omit_profile: true,
- omit_memory_md: true,
model: registry_value_to_model_spec(entry.model.as_deref()),
temperature: 0.4,
tools: allowlist_to_tool_scope(&entry.tool_allowlist),
@@ -103,7 +101,6 @@ pub fn definition_from_registry_entry(entry: &AgentRegistryEntry) -> AgentDefini
timeout_secs: None,
sandbox_mode: SandboxMode::None,
background: false,
- trigger_memory_agent: TriggerMemoryAgent::Never,
tokenjuice_compression: Default::default(),
subagents: entry
.subagents
diff --git a/crates/openhuman-core/src/agent/session_host/types.rs b/crates/openhuman-core/src/agent/session_host/types.rs
index af70344734..bf23e56765 100644
--- a/crates/openhuman-core/src/agent/session_host/types.rs
+++ b/crates/openhuman-core/src/agent/session_host/types.rs
@@ -7,14 +7,11 @@
//! crate gaining field access.
use crate::agent::context::ContextManager;
-use crate::agent::harness::archivist::ArchivistHook;
-use crate::agent::harness::definition::TriggerMemoryAgent;
use crate::agent::hooks::PostTurnHook;
use crate::agent::progress::AgentProgress;
use crate::agent::prompts::SystemPromptBuilder;
use crate::agent::tinyagents::TurnModelSource;
use crate::agent::tool_policy::ToolPolicy;
-use crate::memory::Memory;
use crate::tools::agent_policy::ToolPolicySession;
use std::sync::Arc;
use tinytools::{Tool, ToolSpec};
@@ -31,8 +28,7 @@ use tinytools_agent::dialect::ToolDialect;
///
/// The motivating case (opencompany issue #1725) is a bare greeting / small-talk
/// turn that should run as a cheap conversational reply instead of the full
-/// agentic task loop: no tools to loop on, no pre-turn memory-agent retrieval,
-/// and no stale per-thread goal re-injected from a prior task. Each field is an
+/// agentic task loop: no tools to loop on and no stale per-thread goal re-injected from a prior task. Each field is an
/// independent, additive suppression so a caller can compose exactly the
/// reduction it wants.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq)]
@@ -48,10 +44,6 @@ pub struct TurnOverrides {
/// `tools` / `tool_specs` are left untouched, so the next (un-overridden)
/// turn has its full toolbelt back.
pub suppress_tools: bool,
- /// Force [`TriggerMemoryAgent::Never`] behaviour for this turn — skip the
- /// pre-turn `agent_memory` retrieval even when the agent's policy is
- /// `Always`. The agent's built policy is left untouched for later turns.
- pub suppress_memory_agent: bool,
/// Skip auto-resuming this turn from the agent's most-recent on-disk
/// transcript (`try_load_session_transcript`, which resolves the *latest*
/// transcript for the agent name -- NOT thread-scoped). A host that has just
@@ -214,11 +206,6 @@ pub struct OpenHumanSessionHost {
/// specialist with broader tools. Empty means no inherited ceiling.
pub(super) subagent_tool_ceiling_names: std::collections::HashSet<String>,
pub(super) tool_policy_session: ToolPolicySession,
- pub(super) memory: Arc<dyn Memory>,
- /// Lane C — the gated pre-turn recall of facts about the user (#6040).
- /// `None` when the session was built without a memory binding (tests,
- /// embedders that bring their own `Memory`); the lane then stays silent.
- pub(super) auto_recall: Option<Arc<crate::memory::auto_recall::AutoRecall>>,
// `Arc` (not `Box`) so the tinyagents turn path can hold a cheap clone of
// the dispatcher without borrowing the `OpenHumanSessionHost` while session state mutates.
pub(super) tool_dispatcher: Arc<dyn ToolDialect>,
@@ -238,25 +225,10 @@ pub struct OpenHumanSessionHost {
/// `action_dir` cwd behaviour.
pub(super) workspace_descriptor: Option<tinytools::WorkspaceDescriptor>,
pub(super) workflows: Vec<crate::skills::Workflow>,
- /// OpenHumanSessionHost workflows discovered at session start.
- pub(super) auto_save: bool,
- /// Last memory context loaded for the current turn. Stored so it can
- /// be forwarded to subagents via `ParentExecutionContext`.
+ /// Last per-turn context block (active goal, running sub-agents) built for
+ /// the current turn. Stored so it can be forwarded to subagents via
+ /// `ParentExecutionContext`.
pub(super) last_memory_context: Option<String>,
- /// Citation metadata collected from memory recall for the most recent turn.
- /// Consumed by web-channel delivery to render source chips in the UI.
- /// In-flight citation recall for the current turn.
- ///
- /// Citations are UI-only — they render source chips and never enter the
- /// prompt — but collecting them is a full recall, which on a large memory
- /// store is one of the most expensive things a turn does. Running it inline
- /// before the model call meant every reply waited on a scan whose result the
- /// model never sees.
- ///
- /// It is spawned instead, so the scan overlaps the inference round-trip, and
- /// joined only when a consumer actually asks for the citations — which
- /// happens after the turn returns. The contract is unchanged: callers still
- /// get the citations for the turn they just ran.
/// Holistic token/cost/context accounting for the most recent turn (parent +
/// any sub-agents spawned during it). Consumed by web-channel delivery to
/// surface session token/cost/context meters in the UI footer. `None` until
@@ -271,11 +243,6 @@ pub struct OpenHumanSessionHost {
/// question" or "the agent finished" — `run_single` only returns the
/// checkpoint/final text, with no other signal for which case occurred.
pub(super) post_turn_hooks: Vec<Arc<dyn PostTurnHook>>,
- pub(super) learning_enabled: bool,
- /// When `true`, pinned preferences stored via `remember_preference` are
- /// fetched from the `user_profile` namespace and injected into the system
- /// prompt on every turn, independent of `learning_enabled`.
- pub(super) explicit_preferences_enabled: bool,
pub(super) event_session_id: String,
pub(super) event_channel: String,
/// Backend/session thread explicitly owned by this agent run. It is kept
@@ -408,16 +375,11 @@ pub struct OpenHumanSessionHost {
/// keeps those settings instead of having them silently replaced by
/// whatever the process-global registry holds under the same id.
pub(super) definition: Option<Arc<crate::agent::harness::definition::AgentDefinition>>,
- /// Mirrors the agent definition's `omit_profile` flag. Threaded into
- /// [`PromptContext::include_profile`] in `turn::build_system_prompt`
- /// so only user-facing agents (welcome, orchestrator, triggers)
- /// inject `PROFILE.md`. Defaults to `true` (omit) for custom / legacy
- /// agents built without a definition.
- pub(super) omit_profile: bool,
- /// Mirrors the agent definition's `omit_memory_md` flag. Forwarded to
- /// [`PromptContext::include_memory_md`] at prompt-build time. Same
- /// session-freeze contract as `omit_profile`.
- pub(super) omit_memory_md: bool,
+ /// Mirrors the agent definition's `omit_memory_context` flag: when set,
+ /// a new session does not get the compiled `context.md` prepended to its
+ /// first user message. Defaults to `false` (inject) for agents built
+ /// without a definition.
+ pub(super) omit_memory_context: bool,
/// Optional payload-summarizer wired in at agent-build time.
/// Currently set only for the orchestrator session
/// (see [`super::builder`]). TinyAgents `ToolOutputMiddleware` uses this
@@ -425,10 +387,6 @@ pub struct OpenHumanSessionHost {
/// they enter agent history.
pub(super) payload_summarizer:
Option<Arc<dyn crate::agent::tinyagents::payload_summarizer::PayloadSummarizer>>,
- /// Mirrors the agent definition's `trigger_memory_agent` policy.
- /// `Always` runs the dedicated memory retrieval agent once before
- /// the user's prompt is sent to this agent.
- pub(super) trigger_memory_agent: TriggerMemoryAgent,
/// Per-agent TokenJuice profile for tool results entering this session's
/// model context.
pub(super) tokenjuice_compression: crate::inference::tokenjuice::AgentTokenjuiceCompression,
@@ -511,21 +469,15 @@ pub struct OpenHumanSessionHost {
/// each newly-installed skill is announced exactly once and never
/// re-announced per turn. Seeded from the session-build catalogue.
pub(super) announced_skills: std::collections::HashSet<String>,
- /// Optional reference to the `ArchivistHook` registered in
- /// `post_turn_hooks`. Kept separately so the turn loop can call
- /// `flush_open_segment` at session-memory-extraction time (the
- /// closest available signal to "session is ending") to finalize the
- /// trailing open segment with an LLM recap + embedding.
- pub(super) archivist_hook: Option<Arc<ArchivistHook>>,
/// Names of every tool currently in [`OpenHumanSessionHost::synthesized_tools`] — those
/// produced by [`crate::tools::orchestrator_tools::collect_orchestrator_tools`]
/// (i.e. `delegate_<toolkit>` skill tools and archetype-delegation
- /// tools like `delegate_archivist`). Tracked so
+ /// tools). Tracked so
/// [`OpenHumanSessionHost::refresh_delegation_tools`] can drop the entire
/// previously-synthesised subset of [`OpenHumanSessionHost::tool_specs`] on each refresh
/// and append the fresh set — without that mask we'd risk either leaking
/// stale `delegate_<toolkit>` specs on revoke or accidentally removing
- /// direct tools (`query_memory`, `cron_add`, …) that share a name
+ /// direct tools (`cron_add`, …) that share a name
/// prefix.
///
/// Seeded by [`SessionHostBuilder::build`] from the set handed to
@@ -554,9 +506,6 @@ pub struct SessionHostBuilder {
/// Optional explicit profile ceiling for tools delegated agents may inherit.
/// Channel-policy restrictions are intersected during [`Self::build`].
pub(super) subagent_tool_ceiling_names: Option<std::collections::HashSet<String>>,
- pub(super) memory: Option<Arc<dyn Memory>>,
- /// Forwarded to [`OpenHumanSessionHost::auto_recall`] at build time. Defaults to `None`.
- pub(super) auto_recall: Option<Arc<crate::memory::auto_recall::AutoRecall>>,
pub(super) prompt_builder: Option<SystemPromptBuilder>,
pub(super) tool_dispatcher: Option<Box<dyn ToolDialect>>,
pub(super) config: Option<crate::config::AgentConfig>,
@@ -576,10 +525,7 @@ pub struct SessionHostBuilder {
pub(super) workflows: Option<Vec<crate::skills::Workflow>>,
/// OpenHumanSessionHost workflows to surface in the prompt. Populated from `load_workflows`
/// at session start; defaults to empty when not explicitly set.
- pub(super) auto_save: Option<bool>,
pub(super) post_turn_hooks: Vec<Arc<dyn PostTurnHook>>,
- pub(super) learning_enabled: bool,
- pub(super) explicit_preferences_enabled: bool,
pub(super) event_session_id: Option<String>,
pub(super) event_channel: Option<String>,
pub(super) agent_definition_name: Option<String>,
@@ -613,29 +559,19 @@ pub struct SessionHostBuilder {
/// to substitute the transcript backing store for the whole turn path.
pub(super) session_history_locator:
Option<std::sync::Arc<dyn tinyagents_session::transcript::TranscriptLocator>>,
- /// Forwarded to [`OpenHumanSessionHost::omit_profile`] at `build()` time. Mirrors the
- /// target definition's `omit_profile` flag; `None` means "fall back
- /// to the safe default" (omit).
- pub(super) omit_profile: Option<bool>,
- /// Forwarded to [`OpenHumanSessionHost::omit_memory_md`]. Same shape as
- /// `omit_profile` — `None` falls back to the "omit" default.
- pub(super) omit_memory_md: Option<bool>,
+ /// Forwarded to [`OpenHumanSessionHost::omit_memory_context`] at `build()`
+ /// time; `None` falls back to `false` (inject `context.md`).
+ pub(super) omit_memory_context: Option<bool>,
/// Optional payload-summarizer threaded through to [`OpenHumanSessionHost`] at
/// build time. Defaults to `None`; the orchestrator branch in
/// [`super::builder::OpenHumanSessionHost::build_session_agent_inner`] sets this
/// to a `SubagentPayloadSummarizer` instance.
pub(super) payload_summarizer:
Option<Arc<dyn crate::agent::tinyagents::payload_summarizer::PayloadSummarizer>>,
- /// Forwarded to [`OpenHumanSessionHost::trigger_memory_agent`] at build time.
- pub(super) trigger_memory_agent: Option<TriggerMemoryAgent>,
/// Per-agent TokenJuice tool-output compression profile.
pub(super) tokenjuice_compression: crate::inference::tokenjuice::AgentTokenjuiceCompression,
/// Optional pre-execution tool policy. Defaults to allow-all.
pub(super) tool_policy: Option<Arc<dyn ToolPolicy>>,
- /// Optional reference to the production `ArchivistHook`. Set when
- /// `config.learning.episodic_capture_enabled` is true. Used to call
- /// `flush_open_segment` at the closest available session-end signal.
- pub(super) archivist_hook: Option<Arc<ArchivistHook>>,
}
impl Default for SessionHostBuilder {
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops_tests.rs
index 3a3c3fb042..21e99c6036 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops_tests.rs
@@ -11,8 +11,6 @@ fn make_def_named_tools(names: &[&str]) -> AgentDefinition {
omit_identity: true,
omit_memory_context: true,
omit_safety_preamble: true,
- omit_profile: true,
- omit_memory_md: true,
model: ModelSpec::Inherit,
temperature: 0.4,
tools: ToolScope::Named(names.iter().map(|s| s.to_string()).collect()),
@@ -27,7 +25,6 @@ fn make_def_named_tools(names: &[&str]) -> AgentDefinition {
timeout_secs: None,
sandbox_mode: crate::agent::harness::definition::SandboxMode::None,
background: false,
- trigger_memory_agent: Default::default(),
tokenjuice_compression: crate::inference::tokenjuice::AgentTokenjuiceCompression::Auto,
subagents: vec![],
delegate_name: None,
diff --git a/crates/openhuman-core/src/agent/tinyagents/payload_summarizer_tests.rs b/crates/openhuman-core/src/agent/tinyagents/payload_summarizer_tests.rs
index d3915a4229..b1ad758e31 100644
--- a/crates/openhuman-core/src/agent/tinyagents/payload_summarizer_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/payload_summarizer_tests.rs
@@ -15,8 +15,6 @@ fn dummy_definition() -> AgentDefinition {
omit_identity: true,
omit_memory_context: true,
omit_safety_preamble: true,
- omit_profile: true,
- omit_memory_md: true,
model: ModelSpec::Hint("summarization".into()),
temperature: 0.2,
tools: ToolScope::Named(vec![]),
@@ -31,7 +29,6 @@ fn dummy_definition() -> AgentDefinition {
timeout_secs: None,
sandbox_mode: SandboxMode::None,
background: false,
- trigger_memory_agent: Default::default(),
tokenjuice_compression: crate::inference::tokenjuice::AgentTokenjuiceCompression::Auto,
subagents: vec![],
delegate_name: None,
diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/mod_scoping_tests_tests.rs b/crates/openhuman-core/src/channels/runtime/dispatch/mod_scoping_tests_tests.rs
index 23174f0dc6..6e1975ec10 100644
--- a/crates/openhuman-core/src/channels/runtime/dispatch/mod_scoping_tests_tests.rs
+++ b/crates/openhuman-core/src/channels/runtime/dispatch/mod_scoping_tests_tests.rs
@@ -54,8 +54,6 @@ fn def_with_scope(scope: ToolScope) -> AgentDefinition {
omit_identity: true,
omit_memory_context: true,
omit_safety_preamble: true,
- omit_profile: true,
- omit_memory_md: true,
model: ModelSpec::Inherit,
temperature: 0.4,
tools: scope,
@@ -70,7 +68,6 @@ fn def_with_scope(scope: ToolScope) -> AgentDefinition {
timeout_secs: None,
sandbox_mode: SandboxMode::None,
background: false,
- trigger_memory_agent: Default::default(),
tokenjuice_compression: crate::inference::tokenjuice::AgentTokenjuiceCompression::Auto,
subagents: vec![],
delegate_name: None,
diff --git a/crates/openhuman-core/src/tools/orchestrator_tools_tests.rs b/crates/openhuman-core/src/tools/orchestrator_tools_tests.rs
index 9cef23d271..be57dcc881 100644
--- a/crates/openhuman-core/src/tools/orchestrator_tools_tests.rs
+++ b/crates/openhuman-core/src/tools/orchestrator_tools_tests.rs
@@ -12,8 +12,6 @@ fn def(id: &str, when_to_use: &str, delegate_name: Option<&str>) -> AgentDefinit
omit_identity: true,
omit_memory_context: true,
omit_safety_preamble: true,
- omit_profile: true,
- omit_memory_md: true,
model: ModelSpec::Inherit,
temperature: 0.4,
tools: ToolScope::Wildcard,
@@ -28,7 +26,6 @@ fn def(id: &str, when_to_use: &str, delegate_name: Option<&str>) -> AgentDefinit
timeout_secs: None,
sandbox_mode: SandboxMode::None,
background: false,
- trigger_memory_agent: Default::default(),
tokenjuice_compression: crate::inference::tokenjuice::AgentTokenjuiceCompression::Auto,
subagents: vec![],
delegate_name: delegate_name.map(String::from),