diff --git a/crates/codemark-core/src/embeddings/vec_store.rs b/crates/codemark-core/src/embeddings/vec_store.rs
index 09611707..80c5f94b 100644
--- a/crates/codemark-core/src/embeddings/vec_store.rs
+++ b/crates/codemark-core/src/embeddings/vec_store.rs
@@ -221,8 +221,7 @@ impl VecStore {
// Parse as f32 array
let mut embedding = Vec::with_capacity(blob.len() / 4);
- for chunk in blob.chunks_exact(4) {
- let bytes: [u8; 4] = [chunk[0], chunk[1], chunk[2], chunk[3]];
+ for &bytes in blob.as_chunks::<4>().0 {
embedding.push(f32::from_le_bytes(bytes));
}
Ok(embedding)
diff --git a/crates/codemark-tui/src/entry.rs b/crates/codemark-tui/src/entry.rs
index b2141219..e8a65fe7 100644
--- a/crates/codemark-tui/src/entry.rs
+++ b/crates/codemark-tui/src/entry.rs
@@ -275,7 +275,11 @@ async fn run_app() -> Result