diff --git a/src/orchestrator.rs b/src/orchestrator.rs index df0b900e..3625ead2 100644 --- a/src/orchestrator.rs +++ b/src/orchestrator.rs @@ -294,7 +294,7 @@ async fn handle_chunk_task( .results .into_iter() .map(|token| Chunk { - offset, + offset: offset + token.start as usize, text: token.text, }) .collect::>();