github / github/copilot-cli

Unable to Open CLI Chat from Copilot Session Pane (Right Side) Error: Failed to open chat session: Illegal argument: character must be non-negative

Đang mở
#3,740 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:sessions
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

### Describe the bug

I am unable to open a CLI chat from the Copilot session panel on the right side of VS Code.
Whenever I try, the following error is shown:

Failed to open chat session: Illegal argument: character must be non-negative
This blocks me from starting a CLI chat session from the Copilot UI.

### Affected version

GitHub Copilot CLI 1.0.61.

### Steps to reproduce the behavior

1. Open VS Code.
2. Open Copilot chat/session panel on the right side.
3. Attempt to start or open a CLI chat session.
4. Observe the error popup/message.

### Expected behavior

A new CLI chat session should open successfully.

### Additional context

The operation fails with:
Failed to open chat session: Illegal argument: character must be non-negative

similar to this one: https://github.com/microsoft/vscode/issues/319726

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start by reproducing the failure in VS Code with GitHub Copilot CLI 1.0.61 from the right-side Copilot session panel, then compare the behavior with the linked VS Code issue. Trace the CLI chat-session opening entry point and identify where the non-negative character argument is produced; done means a new CLI chat opens successfully without the error.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
shell, vscode
Lĩnh vực
cli, developer-experience
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
52/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.