continue icon indicating copy to clipboard operation
continue copied to clipboard

Gathering Context spins indefinitely on all repositories

Open chubshaun opened this issue 1 year ago • 5 comments

Before submitting your bug report

Relevant environment info

- OS: Apple Max M1 - MacOS 14.6.1 (23G93) 
- Continue version: 0.0.84
- IDE version: WebStorm 2024.3.1.1
- Model: Anthropic Sonnet 3.5 / Ollama Llama 3
- config.json:
  
{
  "models": [
    {
      "model": "claude-3-5-sonnet-20241022",
      "contextLength": 200000,
      "title": "Claude 3.5 Sonnet",
      "apiKey": "sk-***",
      "provider": "anthropic"
    },
    {
      "title": "Dolphin3 8B",
      "provider": "ollama",
      "model": "dolphin3:8b-llama3.1-q4_K_M"
    }
  ],
  "embeddingsProvider": {
    "provider": "ollama",
    "model": "nomic-embed-text"
  }
}

Description

For reference, I've never had any issues using Codebase as Context until the recent update to 0.0.84. Now any attempt at using the @codebase idles at message "Gathering Context..." forever.

Still works fine using Alt-Enter (use current file as context), or without passing any files as context.

To reproduce

No response

Log output

No warnings/errors in either the core or prompt log files.

chubshaun avatar Jan 10 '25 20:01 chubshaun

UPDATE:

So it turns out it actually IS working but taking multiple minutes to finish gathering the context irrespective of the code base size.

I left it running a modestly sized repository (about 12,000 lines of code) and it actually finished gathering the context after about ~300 seconds.

Then I tried it again on a code base of just two files (60 LOC) and it still took multiple minutes to finish gathering the context.

chubshaun avatar Jan 10 '25 20:01 chubshaun

Since I've seen that people are having issues with the latest EAP version (0.0.85) - I've reverted back to the last official release 0.0.83 and context gathering is now working properly again.

chubshaun avatar Jan 14 '25 19:01 chubshaun

@chubshaun thanks again for digging into this If you use the most recent release does it have the same problem? e.g. 0.0.89

RomneyDa avatar Feb 17 '25 20:02 RomneyDa

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Aug 06 '25 02:08 github-actions[bot]

This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!

github-actions[bot] avatar Aug 18 '25 02:08 github-actions[bot]