clear message update
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user