update
This commit is contained in:
16
src/mcts.jl
16
src/mcts.jl
@@ -232,18 +232,20 @@ julia>
|
||||
"""
|
||||
function transition(a::T1, state::T2, action::T3,
|
||||
actioninput::T3) where {T1<:agent, T2<:AbstractDict, T3<:AbstractString}
|
||||
error("--> transition")
|
||||
|
||||
|
||||
# map action and input() to llm function
|
||||
# result =
|
||||
# if action == "chatbox"
|
||||
# chatbox(input)
|
||||
# elseif
|
||||
result =
|
||||
if action == "chatbox"
|
||||
chatbox(a, input)
|
||||
elseif action == "winestock"
|
||||
|
||||
# else
|
||||
elseif action == "finish"
|
||||
|
||||
# end
|
||||
else
|
||||
|
||||
end
|
||||
error("--> transition")
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user