This commit is contained in:
narawat lamaiin
2024-04-18 18:04:51 +07:00
parent 64f488dbb3
commit 371d4b149b
2 changed files with 34 additions and 10 deletions

View File

@@ -109,7 +109,6 @@ abstract type agent end
)
# communication
mqttClient::Any= nothing # store mqtt client for use in various internal functions
msgMeta::Dict{Symbol, Any} # a template for msgMeta
# put incoming message here. waiting for further processing
@@ -120,7 +119,6 @@ end
function sommelier(
receiveUserMsgChannel::Channel,
receiveInternalMsgChannel::Channel,
mqttClient,
msgMeta::Dict= GeneralUtils.generate_msgMeta("N/A"),
config::Dict = Dict(
:frontend=> Dict(
@@ -160,7 +158,6 @@ function sommelier(
name= name,
id= id,
config= config,
mqttClient= mqttClient,
msgMeta= msgMeta,
maxHistoryMsg= maxHistoryMsg,
tools= tools,