MCPcopy Create free account
hub / github.com/AI45Lab/Code / with_queue

Method with_queue

core/src/agent/loop_builder.rs:30–33  ·  view source on GitHub ↗

Set the lane queue for priority-based tool execution. When set, tools are routed through the lane queue which supports External task handling for multi-machine parallel processing.

(mut self, queue: Arc<SessionLaneQueue>)

Source from the content-addressed store, hash-verified

28 /// When set, tools are routed through the lane queue which supports
29 /// External task handling for multi-machine parallel processing.
30 pub fn with_queue(mut self, queue: Arc<SessionLaneQueue>) -> Self {
31 self.command_queue = Some(queue);
32 self
33 }
34
35 /// Attach a per-tool-round checkpoint sink. After each completed
36 /// tool round the loop will call `sink.save_checkpoint(...)`.

Callers 2

build_agent_loopFunction · 0.80

Calls

no outgoing calls

Tested by 1