kilocode
kilocode copied to clipboard
Codebase indexing in an elixir project
Description
App versions:
- VSCode: 1.102.1
- Kilo code: 4.73.1
- ElixirLS: 0.28.0
API Provider: OpenAPI Compatible through an OpenWebUI with Ollama backend Model: nomic-embed-text:latest Qdrant: Localhost deployment by a docker compose.
With a simple elixir project created by mix:
mix new example
Kilo is unable to index the codebase. It only tells:
Error - Failed during initial scan: Indexing failed: Failed to process batch after 3 attempts: Bad Request
I can see the petitions in qdrant log, 3 rejected with status 400 and 1 more to delete previous post with 200 status.
Investigating through developer tools I can see when cliking "Start indexing" that a few errors arise, but I cannot see the server response anywhere.
There is no error neither for a similar python project I have nor for a repo full of SQL files, there all works as expected.
Setting qdrant to output logs in debug mode I can see it is missing the vector field at the json payload:
I am also running into this issue with my elixir project
Seeing the same on a Rust project - Error - Failed during initial scan: Indexing failed: Failed to process batch after 3 attempts: Bad Request back-end is a nomic-embed running via ollama through openwebui's openaiapi
Seeing the same on a Rust project -
Error - Failed during initial scan: Indexing failed: Failed to process batch after 3 attempts: Bad Requestback-end is a nomic-embed running via ollama through openwebui's openaiapi
I'm also using the embeddings through open webui, the problem is related to it because with a local Ollama the problem disappears. Open webui allows to use the underlying ollama api, but since is protected with an api key I cannot make use of it because Kilo doesn't allow to specify an api key for an ollama connection.