Expand description
Shared orchestrator server state.
Wraps ManagedServer + Client + cached model context limits + config.
Structs§
- Orchestrator
Server - Shared state wrapping the managed
OpenCodeserver and HTTP client.
Constants§
- OPENCODE_
ORCHESTRATOR_ MANAGED_ ENV - Environment variable name for the orchestrator-managed recursion guard.
- ORCHESTRATOR_
MANAGED_ GUARD_ MESSAGE - User-facing message returned when orchestrator tools are invoked in a nested context.
Functions§
- init_
with_ retry - Retry an async init operation once (2 total attempts) with tracing logs.
- managed_
guard_ enabled - Check if the orchestrator-managed env var is set (guard enabled).
Type Aliases§
- Model
Key - Key for looking up model context limits: (
provider_id,model_id)