This commit is contained in:
2026-08-04 21:50:58 +07:00
parent 6f971abe5d
commit af0fa30107
+2 -2
View File
@@ -425,8 +425,8 @@ function yiemAgent(
model=nothing, model=nothing,
tools::Vector{agentTool}=agentTool[], tools::Vector{agentTool}=agentTool[],
messages::Vector{agentMessage}=agentMessage[], messages::Vector{agentMessage}=agentMessage[],
formatMsgForLLM::Function=defaultformatMsgForLLM,
preprocessContext::Union{Function, Nothing}=nothing, preprocessContext::Union{Function, Nothing}=nothing,
formatMsgForLLM::Function=defaultformatMsgForLLM,
beforeToolCall::Union{Function, Nothing}=nothing, beforeToolCall::Union{Function, Nothing}=nothing,
afterToolCall::Union{Function, Nothing}=nothing, afterToolCall::Union{Function, Nothing}=nothing,
prepareNextTurn::Union{Function, Nothing}=nothing, prepareNextTurn::Union{Function, Nothing}=nothing,
@@ -447,8 +447,8 @@ function yiemAgent(
followUp, followUp,
outputChannel, outputChannel,
nothing, # placeholder — replaced below nothing, # placeholder — replaced below
formatMsgForLLM,
preprocessContext, preprocessContext,
formatMsgForLLM,
beforeToolCall, beforeToolCall,
afterToolCall, afterToolCall,
prepareNextTurn, prepareNextTurn,