This commit is contained in:
2026-08-17 03:04:10 +07:00
parent c7a98f1710
commit 5829c82d05
11 changed files with 418 additions and 3713 deletions
+2
View File
@@ -358,6 +358,7 @@ struct agentContext # Snapshot of the agent's conversa
systemPrompt::String # System prompt for the agent
messages::Vector{agentMessage} # Conversation messages
tools::Union{OrderedDict{String, agentTool}, Nothing} # Available tools keyed by name
llmCall::Union{Any, Nothing} # LLM call function (for tools that need it)
end
@@ -451,6 +452,7 @@ struct agentLoopConfig
beforeToolCall::Union{Function, Nothing}
afterToolCall::Union{Function, Nothing}
toolExecution::String
llmCall::Union{Any, Nothing} # LLM call function (for tools like searchWine)
end
"""