V0.8.0 async think loop #40

Merged
ton merged 50 commits from v0.8.0-async_think_loop into v0.8.0 2026-08-08 04:13:05 +00:00
Showing only changes of commit 2de4fa07c1 - Show all commits
+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()