LanceError(IO): k must be positive, when executing the request over @codebase #2789
Open
3 tasks done
Labels
area:context-providers
Relates to context providers
area:indexing
Relates to embedding and indexing
ide:vscode
Relates specifically to VS Code extension
kind:bug
Indicates an unexpected problem or unintended behavior
priority:high
Indicates high priority
Before submitting your bug report
Relevant environment info
Description
While executing a request, using @codebase context provider, an error occurrs: Error: lance error: LanceError(IO): k must be positive. I tried reindexing the files via "Click to reindex", also tried deleting the .continue/index, but it didn't help.
The error occurs both with default
all-MiniLM-L6-v2
embedding provider and withollama nomic-embed-text
.The same error occurs in Rider (Rider 2024.2.7, continue 0.0.75)
To reproduce
Expected Result: Prompt with some codebase is sent to LLM
Actual Result: The error occurs:
Error getting context items from codebase: Error: lance error: LanceError(IO): k must be positive, C:\Users\runneradmin.cargo\registry\src\index.crates.io-6f17d22bba15001f\lance-0.10.18\src\dataset\scanner.rs:432:27
Log output
The text was updated successfully, but these errors were encountered: