tinyhumansai/openhuman · error
provider unavailable
Error message
provider unavailable: {reason} What it means
Pre-flight provider check in `subconscious tick`. Before running, `subconscious_provider_unavailable_reason(&config)` is consulted; if the configured inference provider cannot run (e.g. no session token for the cloud provider, as warned earlier in the flow), the tick is refused with the reason echoed both to stderr and as this error. The tick intentionally does not proceed in a degraded state.
Solutions
- Read the {reason} in the message — it names the specific provider gap.
- If the reason is a missing session token, run `openhuman call auth store_session --token <JWT>` first.
- Switch to a locally configured provider, or re-run once credentials/provider setup are in place.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/core/subconscious_cli.rs:147 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/e341b28ea1daa914.
Report an issue: GitHub.
Appendix: source
Thrown at src/core/subconscious_cli.rs:147
eprintln!("[subconscious] session token found — provider available");
}
Ok(None) => {
eprintln!("[subconscious] WARNING: no session token — cloud provider will fail");
eprintln!(" hint: run `openhuman call auth store_session --token <JWT>` first");
}
Err(e) => {
eprintln!("[subconscious] WARNING: session token read failed: {e}");
}
}
// Check provider availability
if let Some(reason) =
crate::openhuman::subconscious::provider::subconscious_provider_unavailable_reason(
&config,
)
{
eprintln!("[subconscious] provider unavailable: {reason}");
return Err(anyhow!("provider unavailable: {reason}"));
}
// Create engine and run tick. The engine pulls its own memory_diff /
// context state from the workspace — no memory client to pass in.
let engine = crate::openhuman::subconscious::memory_instance(&config);
eprintln!("[subconscious] running tick...");
let result = engine
.tick()
.await
.map_err(|e| anyhow!("tick failed: {e}"))?;
eprintln!(
"[subconscious] tick complete: duration={}ms response_chars={}",
result.duration_ms, result.response_chars,
);
if flags.verbose {View on GitHub (pinned to 7491200858)