diff --git a/src/type.jl b/src/type.jl index 99dbdfa..6cda17d 100644 --- a/src/type.jl +++ b/src/type.jl @@ -425,8 +425,8 @@ function yiemAgent( model=nothing, tools::Vector{agentTool}=agentTool[], messages::Vector{agentMessage}=agentMessage[], - formatMsgForLLM::Function=defaultformatMsgForLLM, preprocessContext::Union{Function, Nothing}=nothing, + formatMsgForLLM::Function=defaultformatMsgForLLM, beforeToolCall::Union{Function, Nothing}=nothing, afterToolCall::Union{Function, Nothing}=nothing, prepareNextTurn::Union{Function, Nothing}=nothing, @@ -447,8 +447,8 @@ function yiemAgent( followUp, outputChannel, nothing, # placeholder — replaced below - formatMsgForLLM, preprocessContext, + formatMsgForLLM, beforeToolCall, afterToolCall, prepareNextTurn,