forked from admin/VolcanicAgenticCore
refactor(tools): move ToolExecutionException to Abstractions
This commit is contained in:
@@ -126,8 +126,8 @@ Implement `ITool` directly or derive from `Tool<TArgs>`; the JSON Schema is gene
|
||||
(records with `[Description]` attributes work well; nullable properties are optional). `DelegateTool<TArgs>`
|
||||
builds a tool from a lambda.
|
||||
|
||||
- Throw to produce an error result. `ToolExecutionException(result)` returns content and details while
|
||||
marking the result as an error.
|
||||
- Throw to produce an error result. `ToolExecutionException(result)` (in `Volcanic.AgenticCore.Abstractions.Tools`)
|
||||
returns content and details while marking the result as an error.
|
||||
- `ToolResult.Content` is what the model sees; `Details` is structured data for hosts.
|
||||
- `Terminate = true` on every result of a batch ends the run without another model call.
|
||||
- `ExecutionMode = Sequential` forces the whole batch to run one at a time (the built-in `edit`/`write` do this).
|
||||
|
||||
Reference in New Issue
Block a user