fix(ai): synthesize trailing orphaned tool results closes #3555
This commit is contained in:
@@ -213,5 +213,8 @@ export function transformMessages<TApi extends Api>(
|
||||
}
|
||||
}
|
||||
|
||||
// If the conversation ends with unresolved tool calls, synthesize results now.
|
||||
insertSyntheticToolResults();
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user