AgentInvocation.mint constructor

AgentInvocation.mint({
  1. required AgentScope scope,
  2. int stepBudget = defaultStepBudget,
  3. Duration timeBudget = defaultTimeBudget,
})

An invocation without execution — the ordinary one.

Implementation

factory AgentInvocation.mint({
  required AgentScope scope,
  int stepBudget = defaultStepBudget,
  Duration timeBudget = defaultTimeBudget,
}) => AgentInvocation._(
  invocationId: _newId(),
  origin: AgentOrigin.localAgent,
  allowExecution: false,
  scope: scope,
  stepBudget: stepBudget,
  timeBudget: timeBudget,
);