github / github/copilot-cli

Switching user creates irrecoverable error

Aperta
#4,791 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

triage
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

Describe the bug

If I accidentally do a few turns of a conversation with the wrong user account and try to switch it, I get unending Execution failed: 400 input item ID does not belong to this connection (Request ID: 00000-782d3778-5111-4f61-b546-ce63a4f73223) errors. I try restarting the session and it won't work. I think if I resume a session with wrong user and notice, I can rewind the conversation to before the "poisoned" message and it will stop giving the error. My guess is the issue stems from how messages are cached or something and it is user specific? Unfortunately, you make the user setup a huge pain and it's always using last user so I'm constantly running into this. You need to make it easier to control users (e.g. let me set default user or resolve user before blazing a new trail ahead or allow command line to specify user) and to recover if I accidentally use the wrong one for a bit.

Affected version

1.0.84-3

Steps to reproduce the behavior
  1. Start a conversation as one user (e.g. personal) and send a message
  2. Switch to another user (e.g. enterprise) and send another message

This consistently causes issues for me.

Expected behavior
  • I should be given more control over how user is selected for a session especially through /config and --user options
  • If I do use incorrect user for a bit, I should be able to switch the user and keeps working without any error. I'm ok if you have to do everything uncached whatever, just let me continue the conversation!
Additional context

No response

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia riproducendo il cambio di account in due passaggi con la versione interessata, quindi esamina il comportamento della sessione intorno a /config e all’opzione --user. Il lavoro è completato quando il cambio di utente non produce più errori ripetuti di ID di input-item e la conversazione può continuare o essere recuperata senza riavviare.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
shell
Ambito
cli
Tipo di issue
Bug
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Attiva
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.