This commit is contained in:
narawat lamaiin
2024-04-29 17:55:13 +07:00
parent 85240c5fb8
commit 8f95f08695
4 changed files with 21 additions and 22 deletions

View File

@@ -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