update
This commit is contained in:
+16
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user