This commit is contained in:
2026-08-07 10:19:55 +07:00
parent b08121ee50
commit 2de4fa07c1
+16 -1
View File
@@ -176,7 +176,22 @@ function _process_message(agent::yiemAgent)::assistantMessage
# loop until llmCall() response didn't use tool calls
final_response = nothing
while true
#WORKING check
""" example message in agent.inputChannel
Dict(
"role" => "user",
"content" => [
Dict("type" => "text", "text" => "Do you have something similar to the one in the image?"),
Dict(
"type" => "image_url",
"image_url" => Dict("url" => data_uri)
)
]
),
"""
# check agent.inputChannel if there are, use OpenAiToUserMessage() to convert them into
# userMessage type and push to agent._state.messages.
# call agent.prepareContext()