aquila-lab / superflex-vscode

Superflex: Your Frontend AI Pair Programmer
https://superflex.ai/
MIT License
39 stars 10 forks source link

Can't attach images inside dev container #6

Open sipkode opened 3 weeks ago

sipkode commented 3 weeks ago

When trying to attach an image, it fails and gives an error like this:

ENOENT: no such file or directory, open '/vscode/vscode-server/bin/linux-x64/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/C:\Users\<username>\Pictures\Screenshots\Screenshot 2024-09-26 165339.png'

Weirdly, it still shows up in the feed...

I'm running my VS Code environment inside a dev container.

VS Code version: 1.93.1

Riphal commented 3 weeks ago

Hey @sipkode, first I want to officially thank you for being the first person to open an issue for Superflex! 🤩

I think I have an idea why this happened. I will take a look at how to resolve it and then come back to you if I need more information.

sipkode commented 2 weeks ago

Thanks for looking into it @Riphal! It also appears that code files aren't being attached in this environment either. :( It shows that the current file is attached automatically, and doesn't show any errors when I submit a query, but it also is unable to answer questions about the file and seems to not understand the context unless I manually copy-paste the body of the file into the prompt box.

Riphal commented 2 weeks ago

Looks like we need to revisit how we're handling code indexing when users are working in a virtual environment. Apologies for the delayed response, there’s been a lot happening lately. I will be looking into this issue soon and will keep you updated on the progress!