This commit is contained in:
2023-12-16 17:44:18 +00:00
parent 31cbb9130a
commit 7d0e45d067

View File

@@ -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)