update
This commit is contained in:
@@ -343,8 +343,8 @@ function actor_mistral_openorca(a::agentReflex, taskrecap="")
|
||||
start = "Self-awareness"
|
||||
# aware = "Self-awareness: based on the recap, assess your progress against the plan then identify areas where you need to address."
|
||||
# aware = "Self-awareness: based on the recap and the plan, state your current understanding of the matter in details then identify areas where you need to address."
|
||||
aware = "Self-awareness: based on earlier conversation with the user, check your progress against the plan then assess the current situation to identify incomplete tasks. (focus on your actions and their results)"
|
||||
thought = "Thought: you should always think about what to do according to self-awareness (1. let's think a single step. 2. pay attention to correct numeral calculation and commonsense.)"
|
||||
aware = "Self-awareness: based on earlier conversation with the user, check your progress against the plan then state incomplete tasks and what you already have. (focus on your actions and their results)"
|
||||
thought = "Thought: you should always think about what to do according to self-awareness (1. let's think a single step. 2. focus on incomplete task 3. pay attention to correct numeral calculation and commonsense.)"
|
||||
end
|
||||
|
||||
winestockResult = ""
|
||||
@@ -718,7 +718,9 @@ function conversation(a::agentReflex, usermsg::String; attemptlimit::Int=3)
|
||||
@show isuseplan
|
||||
|
||||
if isuseplan # use plan before responding
|
||||
a.memory[:shortterm]["User:"] = usermsg
|
||||
if haskey(a.memory[:shortterm], "User:") == false
|
||||
a.memory[:shortterm]["User:"] = usermsg
|
||||
end
|
||||
workstate, response = work(a)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user