From 145006eba4387910e016d1390878b4a3d953684b Mon Sep 17 00:00:00 2001 From: narawat lamaiin Date: Fri, 22 Mar 2024 18:58:50 +0700 Subject: [PATCH] update --- src/utils.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils.jl b/src/utils.jl index 47665fd..0611e26 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -75,7 +75,7 @@ function sendReceivePrompt(a::T1, prompt::String, sendtopic::String; msgMeta = deepcopy(a.msgMeta) msgMeta[:sendTopic] = sendtopic msgMeta[:senderName] = "agent-wine-backend" - msgMeta[:receiverName] = "text2text-llm" + msgMeta[:receiverName] = "text2text" msgMeta[:replyTopic] = a.config[:receiveinternal][:mqtttopic] msgMeta[:msgId] = string(uuid4()) @@ -89,6 +89,7 @@ function sendReceivePrompt(a::T1, prompt::String, sendtopic::String; ) # send prompt + @show outgoing_msg publish(a.mqttClient, outgoing_msg[:msgMeta][:sendTopic], JSON3.write(outgoing_msg))