tinyhumansai/openhuman · error · SubagentRunError::Provider

subagent_runner: config load failed building…

Error message

subagent_runner: config load failed building integrations_agent for toolkit `{tk}`: {e}

What it means

While building an integrations_agent scoped to a toolkit, the ambient Config could not be loaded, so the toolkit-filtered agent falls back to running without toolkit-specific config context. It is logged as a warning, not a fatal error — the subagent still runs, degraded.

Solutions

  1. Check the core logs for the underlying config load error (lock timeout, malformed TOML, workspace resolution)
  2. Validate the workspace config.toml parses and retry the subagent run
  3. If config is transiently locked (another writer), retry after the concurrent config operation finishes
Defensive patterns

Strategy: fallback

When it happens

Trigger: Thrown at src/openhuman/agent/harness/subagent_runner/ops/runner.rs:834 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17). Data as JSON: /api/errors/0088f81df98d4117. Report an issue: GitHub.

Appendix: source

Thrown at src/openhuman/agent/harness/subagent_runner/ops/runner.rs:834

    // specialists whose tools they do not advertise directly.
    super::super::tool_prep::retain_parent_visible_tool_indices(
        &mut allowed_indices,
        &parent.all_tools,
        &parent.subagent_tool_ceiling_names,
    );

    if is_integrations_agent_with_toolkit {
        if let Some(tk) = toolkit_filter {
            let arc_config = match config.as_ref() {
                Ok(c) => std::sync::Arc::clone(c),
                Err(e) => {
                    tracing::warn!(
                        agent_id = %definition.id,
                        toolkit = %tk,
                        error = %e,
                        "[subagent_runner:typed] config load failed; dynamic composio tools won't be registered"
                    );
                    return Err(SubagentRunError::Provider(anyhow::anyhow!(
                        "subagent_runner: config load failed building integrations_agent for toolkit `{tk}`: {e}"
                    )));
                }
            };

            use crate::openhuman::integrations::composio::client::{
                create_composio_client, ComposioClientKind,
            };
            let client_kind = match create_composio_client(arc_config.as_ref()) {
                Ok(k) => Some(k),
                Err(e) => {
                    tracing::warn!(
                        agent_id = %definition.id,
                        toolkit = %tk,
                        error = %e,
                        "[subagent_runner:typed] composio factory failed; dynamic per-action tools fall back to cached catalogue"
                    );
                    None

View on GitHub (pinned to 7491200858)