clear message update

This commit is contained in:
2023-11-20 12:00:19 +00:00
parent d7a1a233ed
commit f8ca8b757b

View File

@@ -73,7 +73,6 @@ function agentReact(
:assistant =>
"""
You are a helpful assistant that answer the user's questions as best you can.
You should only ask user when you need more context.
""",
:sommelier =>
"""
@@ -116,7 +115,7 @@ function agentReact(
),
:chatbox=>Dict(
:name => "chatbox",
:description => "Useful for when you need to ask a customer what you need to know or to talk with them.",
:description => "Useful for when you need to ask a customer for more context.",
:input => "Input should be a conversation to customer.",
:output => "" ,
:func => nothing,
@@ -207,6 +206,8 @@ function clearMessage(a::T) where {T<:agent}
break
end
end
a.thought = "nothing"
a.context = "nothing"
end
function removeLatestMsg(a::T) where {T<:agent}