V0.8.0 process message debug #44

Merged
ton merged 23 commits from v0.8.0-process_message_debug into v0.8.0 2026-08-16 13:22:52 +00:00
Showing only changes of commit bad14fbe7f - Show all commits
+2 -4
View File
@@ -46,8 +46,6 @@ mutable struct yiemAgent <: agent # High-level agent wrapper
# Callback invoked before executing a tool call (ask for user permission/confirmation/abort, etc..)
beforeToolCall::Union{Function, Nothing}
executeToolCalls::Function # execute tool calls ()
# Callback invoked after executing a tool call to sanitize tools output so the output is ready
# to be converted into toolResults message
afterToolCall::Union{Function, Nothing}
@@ -95,13 +93,13 @@ function yiemAgent(
prepareContext::Function=prepareContext,
formatMsgForLLM::Function=formatMsgForLLM,
beforeToolCall::Function=beforeToolCall,
afterToolCall::Function=afterToolCall, #WORKING
afterToolCall::Function=afterToolCall,
# prepareNextTurn::Union{Function, Nothing}=nothing,
# prepareNextTurnWithContext::Union{Function, Nothing}=nothing,
sessionId::Union{String, Nothing}=nothing,
maxRetryDelayMs::Union{Int64, Nothing}=nothing,
parallelToolExecute::Bool=false,
agentEventSink::Function,
agentEventSink::Function, #WORKING
)
# Create channels: input (user -> agent), followUp (async queue), output (agent -> user)
inputChannel = Channel(16)