update
This commit is contained in:
@@ -648,8 +648,7 @@ function work(a::agentReflex, usermsg::String)
|
||||
# plan = split(plan, "Execution:")[1]
|
||||
# plan = split(plan, "Result:")[1]
|
||||
# plan = split(plan, "Recommendation:")[1]
|
||||
plan = splitext(plan, ["<|im_end|>", "Response:", "Execution:", "Result:", "Recommendation:"])
|
||||
|
||||
plan = splitext(respond, ["<|im_end|>", "Response:", "Execution:", "Result:", "Recommendation:"])
|
||||
plan = replace(plan, "Plan:"=>"")
|
||||
a.memory[:shortterm]["Plan $(a.attempt):"] = plan
|
||||
a.memory[:log]["Plan $(a.attempt):"] = plan
|
||||
|
||||
Reference in New Issue
Block a user