continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
19.43k stars 1.69k forks source link

Unable to use `@` to select context providers #2996

Open Patrick-Erichsen opened 2 days ago

Patrick-Erichsen commented 2 days ago

Before submitting your bug report

Relevant environment info

- OS: All
- Continue version: >= 0.9.228
- IDE version: All

Description

Users are unable to use @ to select context providers.

Reports

If you write the '@' in the chat, nothing happens. No way to insert any kind of context.

clicking "more" and "re-index" worked

Reindexing the codebase made @ to work again.

I confirm that Re-indexing solves the context issue using @ for me.

Regardless of which project I open, after the plugin update, I have to re-index its codebase. If I open Project X, reindex, close, reopen same project, I'll have to reindex again to have context working properly.

typing @ does not always trigger context provider menu, especially on new window. seems to be linked to the new Cmd + I edit feature

Can confirm that navigating to the history and back works as a workaround.

GitHub issues/Discord threads

To reproduce

https://github.com/continuedev/continue/issues/2990#issue-2672249738

Send a test message to any chat model first, or Open a new chat window using the plus icon (but only after having interacted with a model) For example, after sending a message using the Ollama model, the @ context menu becomes available and continues working even when switching to other models like Bedrock.

Log output

This seems like it might be the culprit: https://github.com/continuedev/continue/issues/2808#issuecomment-2481321250

Screenshot 2024-11-19 at 10 42 19 AM

RomneyDa commented 2 days ago

linking original issue https://github.com/continuedev/continue/issues/2808