diff --git a/src/type.jl b/src/type.jl index c803289..4f987c4 100644 --- a/src/type.jl +++ b/src/type.jl @@ -3,7 +3,7 @@ module type run_agent, take_response, follow_up, stop_agent -using Dates, UUIDs, DataStructures, JSON, NATS +using Dates, UUIDs, DataStructures, JSON, NATS, Base.Threads using GeneralUtils const Timestamp = DateTime @@ -587,7 +587,7 @@ carrying the full context through the call chain. # Examples ```julia # After prepareToolCall succeeds, the agent holds a preparedToolCall -prep = preparedToolCall( + prep = preparedToolCall( tool, # agentTool found in context.tools toolCall, # {id: "call_1", name: "search_wine", arguments: "{\"query\": \"red wine\"}"} validatedArgs # Dict("query" => "red wine")