Skip to content

@Codebase doesn't include relevant files #7072

@Darkspeed294

Description

@Darkspeed294

Before submitting your bug report

Relevant environment info

- OS: macOS 15,1 and Arch linux
- Continue version: latest + pre-release
- IDE version: VScode 1,103
- Model: Qwen3-32b-A3B GGUF
- config:
  
name: Local Assistant
version: 1.0.0
schema: v1
models:
  - name: Qwen3 32b
    provider: llama.cpp
    model: qwen3-coder-32b
    apiBase: http://192.168.2.61:5000
    roles:
      - chat
      - edit
      - apply
      - embed
    codebase:
      rootDir : ${workspaceFolder}
      ignoreGlobs:
      - "**/node_modules/**"
      - "**/.git/**"
      - "**/dist/**"
      - "**/__pycache__/**"
context:
  - provider: open
  - provider: code
  - provider: docs
  - provider: diff
  - provider: file
  - provider: terminal
  - provider: problems
  - provider: folder
  - provider: codebase
  - provider: currentFile

Description

I am having a problem with codebase. Both on macOS and my linux computer running the LLM. Every time I add @codebase to the prompt, it only fetches partial files. Even when I specifically state which file, it pulls the same files. In my scenario, I have 3 files: index.html, styles.css and scripts.JS. When the @codebase command is utilized within the prompt, it only contexts the html and script file, not the css file.

I've checked the index.sqlite file with sqlitedatabase browser, and the tables clearly show that the files are in the codebase index. I've tried re-indexing on every step, different versions of continue, deleted the index file and rebuild it from scratch, tried to make a rule to automatically include all files, reinstalled extension/vscode/OS but none of them seem to work. every prompt I have to manually insert each file that is relevant to my problem, but sometimes I don't know what is causing the problem so I don't know what to insert.

I am starting to think it is caused by the API of my Llama.cpp server, or perhaps the lack of embeddings of my model. I just find it strange that it is able to pull the html and js file, but not the css file. Is it named wrong? do I append .CSS instead of .css? any quirks I am overlooking?

Image

I've even checked to see if the VScode indexing does not include .css, but It does.

I've found multiple closed issues here that go over the same problems. I've tried their solutions too, but to no avail.

To reproduce

No response

Log output

Metadata

Metadata

Assignees

Labels

area:context-providersRelates to context providersarea:indexingRelates to embedding and indexingide:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behaviorstale

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions