Skip to content

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