Gathering Context spins indefinitely on all repositories
Before submitting your bug report
- [X] I believe this is a bug. I'll try to join the Continue Discord for questions
- [X] I'm not able to find an open issue that reports the same bug
- [X] I've seen the troubleshooting guide on the Continue Docs
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.
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.
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 thanks again for digging into this
If you use the most recent release does it have the same problem? e.g. 0.0.89
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.
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!