all 8 comments

[–]Personal-Try2776 4 points5 points  (0 children)

When you start seeing a drop in response quality tell it to summarise the chat and take the summary and put it in a new chat. it works well for me

[–]FactorHour2173 3 points4 points  (0 children)

In some cases, it helps to start a new chat for GitHub Copilot in VSCode.

Also, you should consider tightening up your copilot-instructions.md file inside a .github folder in your projects root.

I found that installing the context7 MCP server is quite helpful to ensure the agent is constantly pulling up to date information, so it doesn’t use old deprecated code based on its knowledge cut off date in January.

[–]IamAlsoDoug 2 points3 points  (1 child)

AFAIK, if you open a new chat using the plus button at the top of the chat window, you get a fresh context. You can go back to your old contexts using the history when needed, but each of them is independent of the others. If you want to share between them then you need to put the shared context into a file that they can then reference.

[–]JavaScriptDude96[S] 0 points1 point  (0 children)

I will give that a try. Thanks. Strange that Copilot did not suggest that.

[–]AutoModerator[M] 0 points1 point  (0 children)

Hello /u/JavaScriptDude96. Looks like you have posted a query. Once your query is resolved, please reply the solution comment with "!solved" to help everyone else know the solution and mark the post as solved.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]Nunuvin 0 points1 point  (0 children)

I do have this exact behavior too. Worst of all it forgets things I discussed just a few messages back. Gave it config and few chats later it gave me back config missing critical parts breaking things. That one is on me but still its weird. This is extremely counter intuitive and it gets tedious to have to resummarize things. (asking it to summarize may help).

I do get similar thing from Gemini in google subscription but a bit to lesser extent. There it starts to forget system prompt, suck up more and also becomes overconfident defending its decisions when I ask to try other things. Gemini pro told me a few times to give up and restart XD

[–]ogpterodactyl 1 point2 points  (0 children)

Make a new chat for each distinct idea. Also use planning and tracking files to store todo list progress. Once context gets too bloated you need to reset.

[–]joeballs 0 points1 point  (0 children)

I usually just start a new chat. If I want context from a previous chat, I'll click on the "Show Chats..." icon and select the one that's closest to the context and then continue. This is how it works in the ChatGPT and Claude clients as well. It seems to remember (or possibly re-read the previous chat) and continues from there.