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

未关闭
#3,740 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:sessions
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### 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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。