Skip to main content

fresh_supported

Function fresh_supported 

Source
fn fresh_supported(provider: &str, container: bool) -> Result<(), &'static str>
Expand description

Whether an agent of provider can start a fresh session, and why not. A container’s Claude or Codex agent runs one exec per turn on the same controller a host Codex agent does, so ending its session is forgetting its id, as there (blockcontroller/subprocess/codex_fresh.rs); the harnesses that speak ACP have no such controller in a container.