update
This commit is contained in:
+2
-2
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user