pub fn summary_request(
messages: &[impl Borrow<Message>],
(previous, instructions): (Option<&SummaryState>, &str),
spec: &ModelSpec,
reasoning: Option<Reasoning>,
) -> Result<CompletionRequest, UnsupportedOption>Expand description
The request for the history summary of messages to spec with the reasoning effort,
updating previous (the newest summary, sent with its file lists) when it holds anything,
focused on instructions.