update
This commit is contained in:
+2
-2
@@ -204,7 +204,7 @@ A tool available to the agent.
|
||||
- `parameters::TParameters`: Tool parameters schema (JSON schema)
|
||||
- `execute::Function`: Tool execution function
|
||||
- `prepareArguments::Union{Function, Nothing}`: Optional argument preparation callback
|
||||
- `executionMode::Union{toolExecutionMode, Nothing}`: Override: run tool calls sequentially or in parallel
|
||||
- `parallelExecute::Union{toolparallelExecute, Nothing}`: Override: run tool calls sequentially or in parallel
|
||||
|
||||
# Returns
|
||||
- A new `agentTool` instance
|
||||
@@ -216,7 +216,7 @@ struct agentTool{TParameters, TDetails} # A tool available to the agent
|
||||
parameters::TParameters # Tool parameters schema (JSON schema)
|
||||
execute::Function # Tool execution function
|
||||
prepareArguments::Union{Function, Nothing} # Optional argument preparation callback
|
||||
executionMode::Union{toolExecutionMode, Nothing} # Override: run tool calls sequentially or in parallel
|
||||
parallelExecute::Union{toolparallelExecute, Nothing} # Override: run tool calls sequentially or in parallel
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user