Skip to main content

summary_as_stored

Function summary_as_stored 

Source
fn summary_as_stored(parts: &[ReasoningOutput]) -> Vec<ReasoningOutput>
Expand description

Summary parts as the database round trip spells them.

A reasoning item goes back to Azure twice, once from memory during the turn that produced it and again from storage on every later turn, and Azure caches on an exact prefix. Both spellings have to agree or the second one misses the cache for everything from that item onwards, so the round trip is spelled here rather than at each site that performs one of its halves.