From bad14fbe7f121ae976a0bf388f68acab9b09b682 Mon Sep 17 00:00:00 2001 From: narawat Date: Tue, 11 Aug 2026 18:42:34 +0700 Subject: [PATCH] update --- src/agentCore.jl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/agentCore.jl b/src/agentCore.jl index 3540a17..fbe2dcc 100644 --- a/src/agentCore.jl +++ b/src/agentCore.jl @@ -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)