pieces-app / support

11 stars 1 forks source link

Issues with maintaining proper context in VS Code Copilot #264

Open tsavo-at-pieces opened 1 week ago

tsavo-at-pieces commented 1 week ago

Software

VS Code

Operating System / Platform

macOS

Your Pieces OS Version

N/A

Early Access Program

Kindly describe the bug and include as much detail as possible on what you were doing so we can reproduce the bug.

Initial question that came in through our Support Email:

Why is not remembering the context with which I'm asking a question? I don't want to specify in every question that I'm referring to ruby. But if I don't it gives me answers for all languages that aren't relevant to me. It's frustrating.

Seems like a super valid frustration as it definitely should be picking up on the language.

@sam-at-pieces @caleb-at-pieces any thoughts here. I'm reaching out for more information!

sam-at-pieces commented 1 week ago

@tsavo-at-pieces yes this sounds like a particularly annoying issue and one we haven't run into before. Generally, there are a few things we can do to lock a conversation to a specific language(s), either by persisting any detected languages in the copilot memory or injecting them into the prompt as we go. There are some annoying edge cases, however, especially where users are switching between multiple languages or translating from one to another. I've set up an internal meeting to chat over the options

In this particular case, to help us debug, it would be super helpful if the user was will to share any or all of: