Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 4185309

Browse files
committed
Fix fold docs
1 parent dacb7db commit 4185309

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/summarization/fold_content.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ def latest_sha
9090
# Note: The block is only called with results of the final summary, not intermediate summaries.
9191
#
9292
# The summarization algorithm.
93-
# The idea is to build an initial summary packing as much content as we can. Once we have the initial summary, we'll keep extending using the lefover
93+
# The idea is to build an initial summary packing as much content as we can. Once we have the initial summary, we'll keep extending using the leftover
9494
# content until there is nothing left.
9595
#
96-
# @returns { AiSummary } - Resulting summary.
96+
# @returns { String } - Resulting summary.
9797
def fold(items, summary, cursor, user, &on_partial_blk)
9898
tokenizer = llm_model.tokenizer_class
9999
tokens_left = available_tokens - tokenizer.size(summary)

0 commit comments

Comments
 (0)