llmware
llmware copied to clipboard
Fixed infinite loop in `expand_text_result_after`
If you tried running expand_text_result_after on the last blockid of a document then it would get stuck in an infinite loop. This fixes it and gives the same output as you get when you run expand_text_result_before on blockid 0.