Skip to content

XML code inside command is interpreted as a file #616

@laeubi

Description

@laeubi

Describe the bug

Copilot tried to execute this command

grep -n "</section>" /some/file | tail -20

this results in the cli ask me if copilot should be allowed to access /section directory (what does not exits)

this then seem to result in

✗ Execution failed: terminated

Affected version

0.0.358 Commit: f5a8b1e76

Steps to reproduce the behavior

Maybe ask copilot to analyze some XML and it wants to find a closing tag in the file...

Expected behavior

No detection of such path, copilot continues to work. As the path does not exits at all and I have no access to it either it might be good that even if copilot really tried to access the path the llm is simply informed that the path is not there and can't be accessed or created.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions