Persona T7 fix: the retry's call record compiles
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a907e7ffdf
commit
f9a0e1ef2d
1 changed files with 1 additions and 1 deletions
|
|
@ -840,7 +840,7 @@ pub(crate) fn decide_in(model: &dyn Model, segment_id: &str, packet: &Packet, na
|
|||
if let Some(reason) = failed {
|
||||
call["failed"] = json!(reason);
|
||||
}
|
||||
decision["calls"].as_array_mut().into_iter().for_each(|calls| calls.push(call));
|
||||
decision["calls"].as_array_mut().into_iter().for_each(|calls| calls.push(call.clone()));
|
||||
decision["memory_retried"] = json!(again.iter().map(|(text, reason)| json!({ "text": text, "reason": reason })).collect::<Vec<_>>());
|
||||
match second {
|
||||
Some(second) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue