Struct Tool Parallelism Learner
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
Learner that discovers tool fan-out groups from run telemetry.
Implementations
impl ToolParallelismLearner
impl ToolParallelismLearner
new
pub fn new(agent_id: impl Into<String>) -> Self
Create a new tool-parallelism learner.
Parameters
agent_id: Agent identifier whose execution plan should be updated.
Returns
A configured ToolParallelismLearner.
Trait Implementations
impl Learner for ToolParallelismLearner
impl Learner for ToolParallelismLearner
process_run
fn process_run<'a>(
&'a self,
run: &'a RunRecord,
backend: &'a dyn StorageBackendDyn,
hot_cache: &'a Arc<RwLock<HotCache>>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'a>>