This commit is contained in:
narawat lamaiin
2024-04-19 11:51:56 +07:00
parent 9024eb60a4
commit e8c13015ea
4 changed files with 11 additions and 16 deletions

View File

@@ -76,7 +76,7 @@ abstract type agent end
Signature\n
-----
""" #TODO update docstring
""" #[] update docstring
@kwdef mutable struct sommelier <: agent
name::String
id::String
@@ -148,9 +148,9 @@ function sommelier(
thinkingcount::Integer= 0,
)
#NEXTVERSION publish to a.config[:configtopic] to get a config.
#NEXTVERSION get a config message in a.mqttMsg_internal
#NEXTVERSION set agent according to config
#[NEXTVERSION] publish to a.config[:configtopic] to get a config.
#[NEXTVERSION] get a config message in a.mqttMsg_internal
#[NEXTVERSION] set agent according to config
newAgent = sommelier(
receiveUserMsgChannel= receiveUserMsgChannel,