generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added imports for `addApplyFileDiffLinks` and `addSaveLinks` from a diff utility. - Imported `Retryable` from a SkyeNet package. 2. Main changes in the `runAutofix` function: - Wrapped the main logic in a `Retryable` block, likely for error handling and retry capabilities. - Extracted the response generation logic into a separate function `generateAndAddResponse`. - Implemented file diff generation and added interactive links for applying and saving changes: - Uses `addApplyFileDiffLinks` to create clickable links for applying suggested changes. - Uses `addSaveLinks` to add functionality for saving the changes to files. 3. New `generateAndAddResponse` function: - Generates a response using an AI model to suggest fixes for test failures. - Adds interactive elements to the response for applying and saving changes. - Returns the formatted response with clickable links.
- Loading branch information
1 parent
bf292ee
commit 087695a
Showing
2 changed files
with
103 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters