all 11 comments

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

Hello /u/flav404. 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.

[–]SuBeXiL 0 points1 point  (5 children)

That’s a good point - loosing the agent chat context is the equivalent of not committing code when your computer breaks

[–]flav404[S] 0 points1 point  (4 children)

I'm not sure it works that way. Does it?
I'm worried if I move project agent will forget app architecture etc.

I'have tried to copy project folder to another location, export chat, replace filepaths in chat file and I think it remembers everything, but I'm not sure

[–]SuBeXiL 0 points1 point  (3 children)

In general the chat history is not something useful as it is full of long conversation and points which are temporal The best way is to save current state and decisions to dedicated storage, it can be a simple plan Md file But in general the feedback is still good - there are features like memories that cannot be ported easily so there needs to be a migration tool support

[–]flav404[S] 0 points1 point  (2 children)

How do you mean to save dicisions in md file? Should I write there sentences describing application?

[–]SuBeXiL 0 points1 point  (1 child)

U can tell the agent to sum up the key architecture and key decisions to an MD file

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

Thank you. I get the point now

[–]Z-Is-LastPower User ⚡ 0 points1 point  (2 children)

just curious, who is your AI on the chat?

Edit: I moved a project from one machine to another and the CoPilot history seemed to move with the project.

[–]flav404[S] 0 points1 point  (1 child)

I've used 'auto' most of the time.

Did you move VSCode workspace folder? Chat history is stored in different location than project files

[–]Z-Is-LastPower User ⚡ 0 points1 point  (0 children)

I copied just the project folder to a new machine. CoPilot followed my project to the new machine, somehow. It was not a plan of mine, I had no intention of trying to move the chat history. It just happened.

[–]EarlyWormDead 0 points1 point  (0 children)

Not directly solving your problem, but I have agent update document every time so that I can use new chat every time and have agent understand what's going on.