-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Terminal Chat] The LLM receives confusing information about shell #18142
Comments
@vbrozik LLM hallucination 😀 |
@zcobol we can see the hallucination in the second case: ...but I think we can be almost sure that the LLM receives information about the command used to start the WSL2 session like |
This is one of the annoying limitations we've run into - Terminal actually cannot know what is running "behind" the single executable that it started (in this case, It's not ideal. |
Yes, I expected that Terminal lacking the information was the cause. I think that presenting
|
Those are some solid suggestions, thank you! We actually do have a work item for allowing the user to modify/add to the system prompt that we send to the LLM, once that is implemented we can remove the 'default' addition that we do right now entirely and just use the user-provided one, which should fix this :) |
Windows Terminal version
1.23.3061.0
Windows build number
10.0.22631.0
Other Software
Steps to reproduce
ubuntu.exe
.Hello
,Please explain the error.
Expected Behavior
The chatbot should not behave is if it received wrong information about the shell being used. It should either have information that I am using Ubuntu distribution of Linux (and maybe version) or that I am using Bash shell in Ubuntu Linux.
It should probably be allowed to modify parts of the initial prompt including information about the shell and operating system. This setting should be per profile.
Actual Behavior
The Terminal Chat probably receives confusing information about the shell in the terminal window in its preconfigured initial prompt.
When I am using the default Ubuntu WSL distribution with the default
bash
shell the GitHub Copilot responds as if it received information that I am using shell namedubuntu.exe
:With Ubuntu 24.04 GitHub Copilot is confused even more:
The text was updated successfully, but these errors were encountered: