AgentInvocation.mint constructor
AgentInvocation.mint({
- required AgentScope scope,
- int stepBudget = defaultStepBudget,
- 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,
);