Remove TODOs from semantic index build-up (#10789)

Quick touch up of some `// todo!()` that got left in `semantic-index`

Release Notes:

- N/A
This commit is contained in:
Kyle Kelley 2024-04-19 18:59:12 -07:00 committed by GitHub
parent 5102e37a5b
commit cd6acff635
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -599,7 +599,6 @@ impl WorktreeIndex {
let mut embeddings = Vec::new();
for embedding_batch in chunks.chunks(embedding_provider.batch_size()) {
// todo!("add a retry facility")
embeddings.extend(embedding_provider.embed(embedding_batch).await?);
}
@ -889,7 +888,6 @@ mod tests {
.await
.unwrap();
// todo!(): use a fixture
let project_path = Path::new("./fixture");
let project = cx