update
This commit is contained in:
+2
-2
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user