Agent's follow up changes reverts the previous changes and causes endless loop
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- swift
- Bereich
- ai, desktop-dev
Rechercherichtung
Beginne damit, das angehängte github-copilot-for-xcode.log zu überprüfen und das Problem im Agent mode in einer einzelnen Datei mit den aufgeführten Versionen von Copilot for Xcode, Xcode und macOS zu reproduzieren. Verfolge, wie aufeinanderfolgende Bearbeitungen angewendet werden; fertig ist die Aufgabe, wenn frühere Änderungen erhalten bleiben, während spätere Änderungen vorgenommen werden, und der Agent nicht mehr in eine endlose Korrekturschleife gerät.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Describe the bug
When using agent mode, if the agent needs to make changes in steps, the first set of changes gets reverted by the second set of changes, which causes the agent to attempt to fix it by redoing the first changes, which reverts the second set of changes, and it gets into an endless loop of trying to fix this.
Versions
- Copilot for Xcode: 0.40.0
- Xcode: 16.4
- macOS: 15.5
Steps to reproduce
- Use agent mode to request changes to a single file. The agent needs to make changes in multiple steps. For example, adding a property first, then changing a function to use that property.
- Observe the agent making the first change successfully.
- When the agent then makes the second change, it reverts the first change when applying the second.
- The agent then realizes the first change isn't there, and so it decides to fix this.
- When re-applying the first change, it ends up reverting the second change.
- The agent then realizes this too, and attempts to fix it, which puts it into an endless loop.
Screenshots
Logs
github-copilot-for-xcode.log
Additional context
- Vorherrschende Sprache
- Swift
- Sterne
- 6.3k
- Forks
- 2k
- Ø Merge
- 3 T. 21 Std.
- Gemergte PRs (30 T.)
- 2
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus github/CopilotForXcode
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
github/CopilotForXcode#181 · 2 Reaktionen ·
-
Add ability to attach Copilot window only to Xcode projects/workspaces, ignoring standalone files Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 68/100
github/CopilotForXcode#945 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 35/100
github/CopilotForXcode#943 ·
-
Luisgerardomartinezlara Offen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 10/100
github/CopilotForXcode#936 · 2 Kommentare ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 10/100
github/CopilotForXcode#934 ·
Alle Issues in github/CopilotForXcode
Ähnliche Issues
-
Docs/performance.md says the clipboard panel waits for catchUp; toggleQuickPanel no longer waits Offenarea:docs documentation good first issue P2
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 94/100
uttrflow/uttrflow-swift#1032 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
-
🎉 Add KinetTask Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
jaywcjlove/awesome-mac#2932 ·
-
tvOS
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
skiptools/skip-fuse-ui#147 ·