Skip to main content

create_default_orchestrator

Function create_default_orchestrator 

Source
pub async fn create_default_orchestrator(
    database: Arc<MemoryDatabase>,
    ctx_size: u32,
) -> Result<ContextOrchestrator>
Expand description

Create a Context Orchestrator with limits derived from the model’s context window. Pass ctx_size from Config.ctx_size — all token budgets are derived from it automatically.