github / github/copilot-cli

Duplicate Item Errors

Open
#3,558 4 comments 8 reactions 0 assignees View on GitHub
area:context-memory area:models
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.