This commit is contained in:
2026-08-04 21:46:49 +07:00
parent e622a522dc
commit 6f971abe5d
+3 -2
View File
@@ -369,8 +369,9 @@ 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
# Preprocess/transform messages and context (modify, filter, prune, inject, reorder, add context) # Preprocess/transform messages and context (modify, filter, prune, inject, reorder,
# for a single LLM call in _process_message()'s loop returns new Vector{agentMessage} # add context from memory, ...) 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 # Convert preprocessContext()'s new Vector{agentMessage} to LLM message format