This commit is contained in:
2026-08-07 15:47:27 +07:00
parent 4df1043032
commit 02e93cae57
2 changed files with 39 additions and 16 deletions
+4 -4
View File
@@ -29,10 +29,10 @@ julia> YiemAgent.clearhistory(agent)
```
"""
function clearhistory(a::T) where {T<:agent}
empty!(a.chathistory)
empty!(a.memory["shortmem"])
empty!(a.memory["events"])
a.memory["chatbox"] = ""
# empty!(a.chathistory)
# empty!(a.memory["shortmem"])
# empty!(a.memory["events"])
# a.memory["chatbox"] = ""
end