github / github/copilot-cli

Duplicate Item Errors

Aberta
#3,558 4 comentários 8 reações 0 responsáveis Ver no GitHub
area:context-memory area:models
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
github, macos, shell, zsh
Domínio
cli
Tipo de issue
Bug
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Pouca atividade
Clareza
Razoavelmente clara
Facilidade para iniciantes
45/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.