This commit is contained in:
narawat lamaiin
2024-04-19 11:51:56 +07:00
parent 9024eb60a4
commit e8c13015ea
4 changed files with 11 additions and 16 deletions

View File

@@ -107,7 +107,7 @@ function addNewMessage(a::T1, role::String, text::T2;
error("role is not in agent.availableRole $(@__LINE__)")
end
#TODO summarize the oldest 10 message
#[] summarize the oldest 10 message
if length(a.chathistory) > maximumMsg
summarize(a.chathistory)
else