Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot clear messages #2051

Closed
agecode-debug opened this issue Oct 26, 2024 · 11 comments
Closed

Cannot clear messages #2051

agecode-debug opened this issue Oct 26, 2024 · 11 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@agecode-debug
Copy link

  • Copilot Chat Extension Version: v0.21.2
  • VS Code Version: 1.94.2.0
  • OS Version: Windows 23H2

Steps to Reproduce:

  1. Send messages to copilot
  2. Type /clear or click "+" in upper right
  3. Nothing appends, sometimes an error:
    Image
@github-actions github-actions bot added the triage-needed Issues needing to be assigned to the prospective feature owner label Oct 26, 2024
@vs-code-engineering vs-code-engineering bot removed the triage-needed Issues needing to be assigned to the prospective feature owner label Oct 26, 2024
@aeschli aeschli assigned roblourens and unassigned aeschli Oct 28, 2024
@roblourens
Copy link
Member

That's interesting, are you able to copy the conversation? Right click > Copy All

Can you tell me about what sort of content is in the conversation?

Are there any more error details in the Window output channel?

@roblourens roblourens added the info-needed Issue requires more information from poster label Oct 28, 2024
Copy link

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@vs-code-engineering vs-code-engineering bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 5, 2024
@agecode-debug
Copy link
Author

Sorry for the delay in replying, so "copy all" actually works perfectly, and the bug occurs for any type of conversation, no matter the conversation. And I haven't found any other details, knowing that even the error message doesn't always appear during the bug

@roblourens roblourens reopened this Nov 5, 2024
@roblourens
Copy link
Member

for any type of conversation, no matter the conversation

Are you saying that it always happens, and happens in every window? Even a fresh one with no previous chat content?

@roblourens
Copy link
Member

For my own reference, from the error, seems like there is a context key/ContextKeyExpression in the chat session, which probably comes from a widget or service that shouldn't be in there, but I don't know how it got in there.

@agecode-debug
Copy link
Author

for any type of conversation, no matter the conversation

Are you saying that it always happens, and happens in every window? Even a fresh one with no previous chat content?

Now, after the updates, the button works, but every in every window, every restart of my pc, the "/clear" command don't work. But I don't see any error for this command

@roblourens
Copy link
Member

Hm, you don't see any errors in the Window output channel when running clear? Do you see the request with /clear rendered in the chat list? Can you send a screenshot?

@agecode-debug
Copy link
Author

https://github.com/user-attachments/assets/d8b5cd24-6939-4502-9cd4-88c933345ae8
Here is a video (also the stop button was not working, idk why)

@roblourens
Copy link
Member

I think all these problems are related, but I really don't know what's happening

every restart of my pc, the "/clear" command don't work

Are you saying that if you use the + button, then chat, then do /clear, it works? But if you restart your pc (or just reload the VS Code window) then it doesn't work? I can sort of imagine the kind of problem that would lead to this.

But do you see any errors in the WIndow output channel?

Also, could you do this

  • F1 > Set Log Level > Trace
  • F1 > Reload Window
  • Run /clear in chat
  • Share the log from the Window output channel

That would help me understand how the chat service got out of sync and is not able to find and clear your chat session.

Copy link

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@vs-code-engineering vs-code-engineering bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 14, 2024
@agecode-debug
Copy link
Author

even without restarting my computer, /clear does not work, and I followed the steps for the logs, I see them but when I command there is no new log that appears, I mean, the logs before and after the command do not change

@roblourens roblourens reopened this Nov 20, 2024
@isidorn isidorn closed this as completed Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

4 participants