update
This commit is contained in:
@@ -50,6 +50,9 @@ julia> YiemAgent.clearhistory(a)
|
||||
"""
|
||||
function clearhistory(a::T) where {T<:agent}
|
||||
empty!(a.chathistory)
|
||||
empty!(a.memory[:shortmem])
|
||||
empty!(a.memory[:events])
|
||||
a.memory[:chatbox] = ""
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user