update
This commit is contained in:
+3
-2
@@ -369,11 +369,12 @@ mutable struct yiemAgent <: agent # High-level agent wrapper
|
|||||||
|
|
||||||
_task::Union{Task, Nothing} # Background task running the agent loop
|
_task::Union{Task, Nothing} # Background task running the agent loop
|
||||||
|
|
||||||
formatMsgForLLM::Function # Convert agent messages to LLM message format
|
|
||||||
|
|
||||||
# Preprocess/transform messages and context (modify, filter, prune, inject, reorder, add context)
|
# Preprocess/transform messages and context (modify, filter, prune, inject, reorder, add context)
|
||||||
# for a single LLM call in _process_message()'s loop returns new Vector{agentMessage}
|
# for a single LLM call in _process_message()'s loop returns new Vector{agentMessage}
|
||||||
preprocessContext ::Union{Function, Nothing}
|
preprocessContext ::Union{Function, Nothing}
|
||||||
|
|
||||||
|
# Convert preprocessContext()'s new Vector{agentMessage} to LLM message format
|
||||||
|
formatMsgForLLM::Function
|
||||||
|
|
||||||
# Callback invoked before executing a tool call (ask for user permission/confirmation/abort, etc..)
|
# Callback invoked before executing a tool call (ask for user permission/confirmation/abort, etc..)
|
||||||
beforeToolCall::Union{Function, Nothing}
|
beforeToolCall::Union{Function, Nothing}
|
||||||
|
|||||||
Reference in New Issue
Block a user