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