This commit is contained in:
narawat lamaiin
2024-04-18 13:57:13 +07:00
parent 2f5800348f
commit 64f488dbb3

View File

@@ -92,7 +92,9 @@ function conversation(a::T) where {T<:agent}
#TODO add "newtopic" command to delete history
# check for incoming user message
if isready(a.receiveUserMsgChannel)
println("---> success 1")
incomingMsg = take!(a.receiveUserMsgChannel)
println("---> success 2")
@show incomingMsg
end