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