This commit is contained in:
2026-08-12 04:33:19 +07:00
parent 06d51c1ee9
commit 6c96409969
3 changed files with 9 additions and 4 deletions
+2 -2
View File
@@ -54,7 +54,7 @@ mutable struct yiemAgent <: agent # High-level agent wrapper
sessionId::Union{String, Nothing} # Optional session identifier
maxRetryDelayMs::Union{Int64, Nothing} # Maximum delay between retries (ms)
parallelToolExecute::Bool # Default: false
agentEventSink::Function # agent emits its status via this function
agentEventSink::Function # agent emits its status via this function
end
"""
@@ -99,7 +99,7 @@ function yiemAgent(
sessionId::Union{String, Nothing}=nothing,
maxRetryDelayMs::Union{Int64, Nothing}=nothing,
parallelToolExecute::Bool=false,
agentEventSink::Function=agentEventSink, #WORKING
agentEventSink::Function=agentEventSink,
)
# Create channels: input (user -> agent), followUp (async queue), output (agent -> user)
inputChannel = Channel(16)