aws / aws/amazon-q-developer-cli

bug: mcp/tools not switching when using /agent swap

Aperta
#3,129 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
bug q chat
Lingua principale
Rust
Stelle
2k
Fork
439
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again

### Operating system

WSL

### Expected behaviour

If I have 2 agents, let's call them "A" and "B". Agent A has access to certain MCP servers and Tools, A1, A2, ... Ax. Agent B has access to other MCP server and Tools B1, B2, ... Bx. Now I start a session with Q CLI with Agent A. It will load Agent A's MCPs and tools. Now I swap agents through /agent swap B. I would expect it would load Agent B's MCP Servers and Tools.

### Actual behaviour

Q switches the context to Agent B, but it keeps the MCPs and Tools from Agent A.

### Steps to reproduce

_No response_

### Environment

```yaml

```

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo il problema in WSL con due agent configurati e `/agent swap B`, verificando che Agent B mantenga i server MCP e gli strumenti di Agent A. Traccia la gestione del cambio di agent e il comportamento di ricaricamento di MCP e degli strumenti; il lavoro è completato quando il cambio di agent sostituisce le risorse disponibili con quelle configurate per l’agent selezionato.

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

Valutazione

Stack tecnologico
rust
Ambito
cli
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.