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