Skip to content

Commit 4892309

Browse files
committed
fix: add indexing progress output, fix Qwen3 GGUF filename case
- Print [N/M] file progress during indexing (was silent for minutes) - Fix expand model URI: Qwen3-0.6B-Q8_0.gguf (uppercase, was 404) - Add accelerate feature flag for Apple vecLib optimization
1 parent 7171792 commit 4892309

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/indexer.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,12 +561,15 @@ fn run_index_inner(
561561
let mut total_chunks = 0usize;
562562
let mut indexed_rel_paths: Vec<String> = Vec::new();
563563

564+
let total_files = file_contents.len();
564565
store.conn().execute_batch("BEGIN DEFERRED")?;
565-
for (rel_str, content, hash) in &file_contents {
566+
for (i, (rel_str, content, hash)) in file_contents.iter().enumerate() {
567+
eprint!("\r [{}/{}] {}", i + 1, total_files, rel_str);
566568
let result = index_file(rel_str, content, hash, store, embedder, vault_path, config)?;
567569
total_chunks += result.total_chunks;
568570
indexed_rel_paths.push(rel_str.clone());
569571
}
572+
eprintln!("\r [{}/{}] done{}", total_files, total_files, " ".repeat(60));
570573
store.commit()?;
571574

572575
// Step 9: Build vault graph edges.

src/llm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ impl Default for ModelDefaults {
599599
embed_dim: 384,
600600
rerank_uri: "hf:ggml-org/Qwen3-Reranker-0.6B-Q8_0-GGUF/qwen3-reranker-0.6b-q8_0.gguf"
601601
.into(),
602-
expand_uri: "hf:Qwen/Qwen3-0.6B-GGUF/qwen3-0.6b-q8_0.gguf".into(),
602+
expand_uri: "hf:Qwen/Qwen3-0.6B-GGUF/Qwen3-0.6B-Q8_0.gguf".into(),
603603
}
604604
}
605605
}

0 commit comments

Comments
 (0)