kilocode icon indicating copy to clipboard operation
kilocode copied to clipboard

Codebase indexing in an elixir project

Open paxet opened this issue 3 months ago • 3 comments

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

Image

I can see the petitions in qdrant log, 3 rejected with status 400 and 1 more to delete previous post with 200 status.

Image

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.

paxet avatar Aug 04 '25 07:08 paxet

Setting qdrant to output logs in debug mode I can see it is missing the vector field at the json payload:

Image

paxet avatar Aug 05 '25 07:08 paxet

I am also running into this issue with my elixir project

Grimshad avatar Aug 09 '25 14:08 Grimshad

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

sempervictus avatar Sep 04 '25 18:09 sempervictus

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

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.

paxet avatar Sep 18 '25 05:09 paxet