diff --git a/src/interface.jl b/src/interface.jl index c39a4db..333bb8a 100755 --- a/src/interface.jl +++ b/src/interface.jl @@ -680,6 +680,8 @@ function work(a::agentReflex) score = grading(a, guideline, response) @show score if score > 5 # good enough answer + a.memory[:shortterm] = OrderedDict{String, Any}() + a.memory[:log] = OrderedDict{String, Any}() break else # self evaluate and reflect then try again analysis = analyze(a)