From f8ca8b757b1bea554ed20e57f9370257647b7c2d Mon Sep 17 00:00:00 2001 From: tonaerospace Date: Mon, 20 Nov 2023 12:00:19 +0000 Subject: [PATCH] clear message update --- src/interface.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/interface.jl b/src/interface.jl index d68baf4..82d3fae 100755 --- a/src/interface.jl +++ b/src/interface.jl @@ -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}