vscode-copilot-release icon indicating copy to clipboard operation
vscode-copilot-release copied to clipboard

Copilot chat forgets previous response and often "starts from scratch" with follow-up questions

Open binaryfire opened this issue 1 year ago • 41 comments

Something I've noticed about Copilot chat vs ChatGPT is the lack of conversation history awareness. ChatGPT keeps track of previous messages and replies in the context of the long-running conversation. Copilot constantly loses contextual awareness and as a result is pretty bad with follow up questions. It often replies as if it has no awareness of its previous response. But if you say "look at your previous response and try again" it gives you the answer you were looking for.

Please, please improve this. Copilot chat should always respond in the context of previous messages rather than the other way around.

binaryfire avatar Dec 04 '23 04:12 binaryfire

FYI here is some info on how OpenAI does it with ChatGPT: https://community.openai.com/t/how-to-preserve-the-context-session-of-a-conversation-with-the-api/324986/3

In the website version of ChatGPT, the contextual continuity is achieved through the resending of all prior messages for each new communication, ensuring the conversation maintains its coherence.

To replicate similar functionality through the API, developers must structure their API requests as a sequence of messages within a conversation. Each message in this sequence encompasses a “role” (system, user, or assistant) and “content” (the text of the message). By incorporating all prior messages within the conversation history while making API requests, developers provide the model with the essential context to produce relevant responses.

Does Copilot chat resend previous messages with each request?

binaryfire avatar Dec 04 '23 04:12 binaryfire

This is still an issue. I have to regularly do this to get Copilot to consider the previous message when replying:

image

This really shouldn't be necessary. It has a big impact on flow and efficiency.

binaryfire avatar Feb 04 '24 17:02 binaryfire

Still an issue. Is this going to be resolved? If not don't think it is worth paying for

aj911x avatar Feb 22 '24 07:02 aj911x

I'm facing the same problem. but i use PHPStorm + the official copilot Plugin. I think, the problem it's not related to the IDE, but part of the copilot itself.

The prompt often forgets the context I gave it before and responds as if it were restarting. This means that copilot cannot be used to analyze complex problems.

danielplatt-clx avatar Apr 02 '24 09:04 danielplatt-clx

copilot chat did work well in the beginning and now it is unusable because of this problem.

Fabioni avatar Apr 03 '24 00:04 Fabioni

same issue, is so frustrating, have to repeat again and again the same.

asyba avatar Apr 07 '24 20:04 asyba

FYI, it happens to me a lot more when I use @workspace in a followup message again. Maybe really just a context windows problem.

Askir avatar Apr 18 '24 08:04 Askir

same problem here, i dont understand how its not solved yet

ksio7 avatar Apr 25 '24 08:04 ksio7

+1

michaelmiscanuk avatar May 01 '24 16:05 michaelmiscanuk

It got really bad for me in the past few days, I describe a specific problem, copilot asks me to provide a script for reference, but then explains the script instead of looking for the issue. If I then ask if he found the issue he asks me to provide the script again. i just tried it 8 times, different phrasing, trying to show the code in different ways. No luck

ShawnZuspaet avatar May 08 '24 06:05 ShawnZuspaet

Commenting to keep this issue on the radar. I’ve noticed it’s getting better at understanding context across multiple files, but it has the attention span of a goldfish when it comes to follow-up questions.

enginaar avatar May 22 '24 22:05 enginaar

ditto all the above

starburstq avatar May 24 '24 17:05 starburstq

Absolutely agree to all of the above, an infuriating problem and I hope github fix it quickly, has a time cost as well as an emotional one.

PatMc21 avatar May 28 '24 14:05 PatMc21

^

leevin03 avatar May 29 '24 15:05 leevin03

This issue keeps getting worse, today for the first time I couldn't even get Copilot to read previous replies stating that it was due privacy and confidentiality for the user. After 5 different prompts asking Copilot to re-read the chat it was impossible for me to make it work.

rpijoan-lsw avatar May 31 '24 15:05 rpijoan-lsw

Yeah, I'm getting this issue, it completely forgot what we were working on. And I have to remind it with various prompts, I won't be paying for this.

DapsterDan avatar Jun 18 '24 22:06 DapsterDan

I'm facing this issue as well. It NEVER keeps the prior questions in context in the chat (Not even the one asked immediately before the current one), therefore, follow-up questions are simply undoable. This was not the case when I started using it a few months ago. Very disappointing.

rafael-longo avatar Jun 19 '24 19:06 rafael-longo

+1 This is a huge issue.

chanmathew avatar Jun 20 '24 02:06 chanmathew

+1 Facing this as well, It's pretty frustrating.

Kenan7 avatar Jun 20 '24 21:06 Kenan7

+1 I have been looking for a way around this since forever. I don't want to have to go outside the IDE to prompt ChatGPT despite paying for Copilot.

babalolajnr avatar Jun 28 '24 06:06 babalolajnr

It sucks, should be half the price if it is a momento case.

PayIt-Global avatar Jul 04 '24 17:07 PayIt-Global

I face this problem and in fact when I started using it it followed the entire history

jeanbrazcosta avatar Jul 08 '24 23:07 jeanbrazcosta

Same here

asawholeandlove avatar Jul 09 '24 02:07 asawholeandlove

Top 1 thing to solve for me.

guillaume-mueller avatar Jul 09 '24 18:07 guillaume-mueller

Same here, really annoying

hydraxic avatar Jul 11 '24 03:07 hydraxic

Same here. I end up uploading files into ChatGPT where it keeps the context and history instead of using copilot which defeats the main benefit of it!

thatwebagency avatar Jul 16 '24 10:07 thatwebagency

I am also experiencing this issue. VSCode is the primary way that i utilize my copilot subscription. This bug makes the VSCode extension extremely unhelpful. I will be cancelling my subscription until this bug if resolved.

vpaladino778 avatar Jul 16 '24 12:07 vpaladino778

Why is this not yet fixed? This is a fundamental feature of any chatbot application. I have to unnecessarily keep adding previous chat information in new messages.

Please fix this.

kvnptl avatar Aug 06 '24 14:08 kvnptl

Facing the same issue, not in vscode but in Copilot itself. It was not like this a few weeks ago. Clearly, they changed something. Rather than a bug, it seems like they're trying to cut costs by not processing prior information repeatedly. Regardless of the reasons, this is annoying 😒

m-usama-z avatar Aug 06 '24 18:08 m-usama-z

This is still happening in GitHub Copilot Chat using GPT-4o.

https://github.blog/changelog/2024-07-31-github-copilot-chat-and-pull-request-summaries-are-now-powered-by-gpt-4o/

I guess it's probably a cost aspect of having to transfer all the old information. If so, it would be nice to have the ability to select a message from a previous answer and ask a question in the form of a quote or reference or reply.

By adding a reply button between those buttons for each message. image

CatsMiaow avatar Aug 07 '24 02:08 CatsMiaow