style(compaction): wrap the last refusal

This commit is contained in:
esengine committed 2026-10-18 06:29:11 -07:00
1 parent f7bc03da36
commit a26328f24b
1 file changed
+1 -1
+1 -1
View File
@@ -115,7 +115,7 @@ func (a *contextWindow) foldToSummary(ctx context.Context, fold []provider.Messa
return attempt, err
}
}
return attempt, fmt.Errorf("%w: the provider refused the summary request at every size tried (%v)", errSummaryInputTooLarge, err)
return attempt, fmt.Errorf("%w: the provider refused the summary request at every size tried: %w", errSummaryInputTooLarge, err)
}
// foldAtBudget shortens the fold to fit budget and asks for its summary once.