Skip to navigation

Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub struct ToolParallelismLearner { /* private fields */ }

Learner that discovers tool fan-out groups from run telemetry.

Implementations

impl ToolParallelismLearner

impl ToolParallelismLearner

Referenced types: ToolParallelismLearner

new

pub fn new(agent_id: impl Into<String>) -> Self

Referenced types: Into, String

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

Referenced types: Learner, 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>>

Referenced types: process_run, RunRecord, StorageBackendDyn, Arc, RwLock, HotCache, Pin, Box, Future, Result, (), Send