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.25k stars 1.66k forks source link

A lot of bugs recently on the chat features code apply #2894

Open davidliudev opened 3 days ago

davidliudev commented 3 days ago

Before submitting your bug report

Relevant environment info

- OS: macOS 15.0 (24A335)
- Continue version: 0.9.228
- IDE version: Version: 1.95.2 (Universal)
- Model: claude sonnet 3.5

Description

Sometimes the chat never capture any file context

image

and the apply button won't work

Sometimes chat does captures the correct file, but apply to the wrong folder - (on project root, not the appropriate file)

This happens more often when the requirement is long with many context files.

To reproduce

No response

Log output

No response

StephaneBonilla commented 3 days ago

Same issue. In the latest version, context have stopped working. If you write the '@' in the chat, nothing happens. No way to insert any kind of context. Very anoying issue. I switched to previous version and all works fine. Hope they fix it soon.

davidliudev commented 3 days ago

Same issue. In the latest version, context have stopped working. If you write the '@' in the chat, nothing happens. No way to insert any kind of context. Very anoying issue. I switched to previous version and all works fine. Hope they fix it soon.

Yes. I figured that the @ won't work specifically for newly added files. Will have to restart the vs code for it to capture the new files, which is kind of annoying.

Patrick-Erichsen commented 3 days ago

Hi all, thanks for the heads up - there's a few different issues:

StephaneBonilla commented 2 days ago

Mode info:

VsCode version: 1.95.2 (user setup) Commit: e8653663e8840adaf45af01eab5c627a5af81807 Date: 2024-11-07T11:07:22.054Z Electron: 32.2.1 ElectronBuildId: 10427718 Chromium: 128.0.6613.186 Node.js: 20.18.0 V8: 12.8.374.38-electron.0 OS: Windows_NT x64 10.0.22631

Screen capture of the issue

With the version v0.8.55 all context works fine: Code_NjAyPcF8YF

With v.0.8.56 context is broken: Code_LPA5Weybxa

StephaneBonilla commented 2 days ago

clicking "more" and "re-index" worked. Thanks. Hope this bug get fixed. Good job.

rmalveis commented 2 days ago

Mode info:

VsCode version: 1.95.2 (user setup) Commit: e8653663e8840adaf45af01eab5c627a5af81807 Date: 2024-11-07T11:07:22.054Z Electron: 32.2.1 ElectronBuildId: 10427718 Chromium: 128.0.6613.186 Node.js: 20.18.0 V8: 12.8.374.38-electron.0 OS: Windows_NT x64 10.0.22631

Screen capture of the issue

With the version v0.8.55 all context works fine: Code_NjAyPcF8YF Code_NjAyPcF8YF

With v.0.8.56 context is broken: Code_LPA5Weybxa Code_LPA5Weybxa

Hi Guys! I can confirm this bug in IntelliJ as well. Reindexing the codebase made @ to work again.

Intellij details: IntelliJ IDEA 2024.3 (Ultimate Edition) Build #IU-243.21565.193, built on November 12, 2024 Runtime version: 21.0.5+8-b631.16 aarch64 (JCEF 122.1.9) VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Toolkit: sun.lwawt.macosx.LWCToolkit macOS 15.1

Continue version 0.0.81 recently updated.

Before Re-index: image

After Re-index: image

davidliudev commented 2 days ago

The latest pre-release seems to still got all the path wrong for all files. When click apply, instead of applying to the existing code, it create a new file in my project root folder....

Patrick-Erichsen commented 1 day ago

@davidliudev - this is helpful, we recently updated the apply to create files if they don't exist but it sounds like there is a bug with pathing. Will be taking a look at this next week.

@StephaneBonilla @rmalveis - I haven't been able to reproduce this, strange that a reindex solves the issue though. You should be able to use context providers regardless of the state of your index.

Has it been persistent for either of you, or did the single reindex solve it permanently?