Constructor WaitToolset
- Namespace
- Oscova.Agents.Toolsets
- Assembly
- Oscova.Agents.dll
WaitToolset(Func<DelegatedWorkState?>?, Func<string, Task?>?)
Lets an agent pause its current run, or wait for selected subagents and background jobs.
public WaitToolset(Func<DelegatedWorkState?>? resolveWork = null, Func<string, Task?>? findJob = null)Parameters
resolveWorkFunc<DelegatedWorkState?>?-
Returns the root run's subagent state, or null outside a run that owns one.
findJobFunc<string, Task?>?-
Returns the completion of a background job this conversation started in an earlier run, or null.