-
Notifications
You must be signed in to change notification settings - Fork 758
Open
Description
Describe the bug
If a prompt contains actions for the copilot, it stucks in the infinite loop.
Here are the examples:
copilot --allow-all-tools -p "create nl.json file with the next content: { name: 'abc', description: 'qwerty' }"
I'll create the nl.json file with the specified content.
✓ Create nl.json (+2)
I'll create the nl.json file with the specified content.
✗ Create nl.json
Path already exists
I'll create the nl.json file with the specified content.
✗ Create nl.json
Path already exists
I'll create the nl.json file with the specified content.
✗ Create nl.json
Path already exists
^Ccopilot --allow-all-tools -p "create nl.json file with the next content: { name: 'abc', description: 'qwerty' }. Replace the file if already exists"
I'll create the nl.json file with the specified content.
✓ Create nl.json file with specified content
$ cat > nl.json << 'EOF'
{ "name": "abc", "description": "qwerty" }
EOF
↪ 1 line...
I'll create the nl.json file with the specified content. Since the file already exists (as shown in the directory listing), I'll replace it.
✓ Create nl.json file with the specified content
$ cat > nl.json << 'EOF'
{
"name": "abc",
"description": "qwerty"
}...
↪ 3 lines...
I'll create the nl.json file with the specified content in the current directory.
✓ Create nl.json file with specified content
$ cat > "/Users/alexterentiev/Work/ms/Summary evals/ngsp-sx-docs/Seismic/nl.json" << 'EOF'
{ "name": "abc", "description": "qwerty" }
EOF
↪ 1 line...
^CIt did work before.
Affected version
0.0.354 Commit: 076bd172b
Steps to reproduce the behavior
copilot --allow-all-tools -p "create nl.json file with the next content: { name: 'abc', description: 'qwerty' }"
Expected behavior
the copilot creates a file and stops the execution.
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels