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

Update instruction to not use line continuation operator in generated commands #287

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

daxian-dbw
Copy link
Member

@daxian-dbw daxian-dbw commented Nov 11, 2024

PR Summary

The response from Azure Copilot occasionally uses the Bash line-continuation operator in the generated commands even for a Windows user. The line continuation separated code blocks cause the current parsing logic for parameter injection to fail, and it would be too risky to fix now especially considering such responses don't happen often (only 1 report on this so far).

I think a better solution is to update instruction to ask GTP to not use line continuation operator in generated commands. This should make it much less possible for a customer to run into this issue.

image

@daxian-dbw daxian-dbw merged commit 2671579 into PowerShell:main Nov 11, 2024
4 checks passed
@daxian-dbw daxian-dbw deleted the line-continuation branch November 11, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant