When in agent mode, minimize unnecessary interruptions.

Offen
#443 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
macos, swift
Bereich
ai, desktop, devtools

Rechercherichtung

Es werden keine Dateien, Tests oder Einstiegspunkte genannt. Beginne damit, die drei Unterbrechungstypen im agent-mode zu reproduzieren, und verfolge dann, wie der Anwendungswechsel, Autorisierungsaufforderungen und Nutzungsgrenzen behandelt werden; als abgeschlossen würde die Arbeit einen von einem Maintainer genehmigten Umfang und ein klares Verhalten für die priorisierte Unterbrechungsänderung erfordern.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Swift
Sterne
6.3k
Forks
2k
Ø Merge
3 T. 21 Std.
Gemergte PRs (30 T.)
2

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus github/CopilotForXcode

Alle Issues in github/CopilotForXcode

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.