This commit is contained in:
narawat lamaiin
2024-04-15 21:06:48 +07:00
parent 45a1d93bc7
commit 55d8d2675d

View File

@@ -154,7 +154,7 @@ function sommelier(
return newAgent return newAgent
end end
""" Clear agent history. """ Clear agent chat history.
Arguments\n Arguments\n
----- -----
@@ -194,7 +194,7 @@ end
Signature\n Signature\n
----- -----
""" #TODO update document """
function clearhistory(a::T) where {T<:agent} function clearhistory(a::T) where {T<:agent}
empty!(a.chathistory) empty!(a.chathistory)
empty!(a.mctstree) empty!(a.mctstree)