This commit is contained in:
2026-08-24 13:33:20 +07:00
parent 5f284883b3
commit 9193260539
4 changed files with 58 additions and 117 deletions
+2 -2
View File
@@ -176,7 +176,7 @@ function yiemAgent(
afterToolCall::Function=afterToolCall,
# prepareNextTurn::Union{Function, Nothing}=nothing,
# prepareNextTurnWithContext::Union{Function, Nothing}=nothing,
sessionId::Union{String, Nothing}=nothing,
sessionId::Union{String, Nothing}="",
maxRetryDelayMs::Union{Int64, Nothing}=nothing,
parallelToolExecute::Bool=false,
eventSink=eventSink,
@@ -189,7 +189,7 @@ function yiemAgent(
tools = OrderedDict{String, agentTool}()
registerAllTools(tools, mcpServer; eventSink=eventSink)
registerAllTools(tools, mcpServer; eventSink=eventSink, sessionId=sessionId)
# Create struct with a placeholder task, then spawn and replace it
agent = yiemAgent(