async fn recover_and_summarize(
pool: &PgPool,
conversation_id: Uuid,
response_ids: &Mutex<Vec<String>>,
input: &[APIInputMessage],
error: ChatbotError,
) -> ChatbotResult<Bytes>Expand description
Builds the wire event for a round-ending error, folding in the input summary and response ids every call site of recover_from_round_error otherwise repeats.