github / github/copilot-cli

Duplicate Item Errors

Đang mở
#3,558 4 bình luận 8 reaction 0 người được giao Xem trên GitHub
area:context-memory area:models
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

After initial prompt during processing, I receive errors of this format:
Execution failed: CAPIError: 400 {"error":{"code":"bad_request","type":"websocket_error","message":"Duplicate item found with id fc_call_3L6mbkYELCQh2XxmHQlVommW. Remove duplicate items from your input and try again."}} (Request ID: 00000-63415e69-425e-45d5-8f8b-23bcb99c727d)

With a subsequent prompt, I see this output:
● Request failed (transient_bad_request). Retrying...

● Request failed (session_token_refresh). Retrying...

● Request failed (session_token_refresh). Retrying...
✗ Execution failed: CAPIError: 400 Duplicate item found with id fc_call_3L6mbkYELCQh2XxmHQlVommW. Remove duplicate items from your input and try again. (Request ID: 5CA2:F9304:7D0A:8E64:6A189465)

I have quit the session and resumed, cleared the session, and quit and started fresh. I have switched between GPT-5.4, Sonnet 4.6 and auto and still receive errors.

### Affected version

GitHub Copilot CLI 1.0.54

### Steps to reproduce the behavior

1. copilot cli in interactive mode
2. use an agent defined at user-level
3. run prompt

### Expected behavior

No duplicate request errors

### Additional context

macOS Tahoe 26.5
zsh shell
gh installed via homebrew

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

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

Hướng nghiên cứu

No source files or tests are named. Start by reproducing the failure in Copilot CLI interactive mode with a user-level agent on macOS using zsh, then compare the initial and subsequent prompts; done means those prompts no longer produce duplicate-item errors or retry loops.

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

Đánh giá

Công nghệ
github, macos, shell, zsh
Lĩnh vực
cli
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 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
45/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.