When in agent mode, minimize unnecessary interruptions.

Aperta
#443 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
macos, swift
Ambito
ai, desktop, devtools

Direzione di ricerca

Non vengono indicati file, test o punti di ingresso. Inizia riproducendo i tre tipi di interruzione di agent-mode, quindi traccia come vengono gestiti il passaggio da un’applicazione all’altra, le richieste di autorizzazione e i limiti di utilizzo; per considerare il lavoro completato sarebbero necessari un ambito approvato da un maintainer e un comportamento chiaro per la modifica dell’interruzione prioritaria.

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

Descrizione

Currently, in agent mode, there are the following types of interruptions:

  1. If switched to another application, the agent will forcibly switch back to Xcode after modifying a piece of code.
  2. Seek user authorization permission.
    1. For example, by running a command through the terminal.
  3. Exceed the limit.
    1. The number of tool calls exceeds the maximum limit.
    2. Your prompts have exceeded the limit. Please open a new tab to continue.

For the first type of issue, I hope it can be improved so that after making modifications, it doesn’t switch to Xcode. That way, I can use this computer for other tasks while it’s working.

For the second category, I would like to add an additional "Agree" option so that I don't have to keep clicking "Agree" each time.

For the last category, I’d like to ask: do all models have the same restrictions? If not, could you indicate which model has a broader range? Also, if the process isn’t completed, isn’t it likely to continue automatically? Why do I need to get involved? After all, if the prompt really does reach its maximum length, you could simply prompt me to open a new tab then—it wouldn’t be too late. In my view, it’s quite easy to reach the limit anyway.

Here are my suggestions. The most important improvement I hope for is the first one, because the interference it causes is really overwhelming. If it's not improved, I can only let the computer run there, and all I can do is sit and watch, unable to do anything else. That's because it keeps switching to Xcode nonstop.

Lingua principale
Swift
Stelle
6.3k
Fork
2k
Merge medio
3g 21h
PR unite (30g)
2

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.

Altre issue di github/CopilotForXcode

Tutte le issue di github/CopilotForXcode

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.