update
This commit is contained in:
@@ -102,6 +102,7 @@ mutable struct sommelier <: agent
|
||||
# 1-historyPoint is in Dict{Symbol, Any} and compose of:
|
||||
# state, statevalue, thought, action, observation
|
||||
plan::Dict{Symbol, Any}
|
||||
mctsWorkDict::Dict{Symbol, Any}
|
||||
end
|
||||
|
||||
function sommelier(
|
||||
@@ -149,6 +150,7 @@ function sommelier(
|
||||
:activeplan => Dict{Symbol, Any}(), # current using plan
|
||||
:currenttrajectory=> Dict{Symbol, Any}(), # store question, thought, action, observation, ...
|
||||
)
|
||||
mctsWorkDict::Dict{Symbol, Any} = Dict{Symbol, Any}()
|
||||
)
|
||||
|
||||
#[NEXTVERSION] publish to a.config[:configtopic] to get a config.
|
||||
@@ -167,6 +169,7 @@ function sommelier(
|
||||
chathistory,
|
||||
keywordinfo,
|
||||
plan,
|
||||
mctsWorkDict,
|
||||
)
|
||||
|
||||
return newAgent
|
||||
|
||||
Reference in New Issue
Block a user