Skip to content

Conversation

samclark2015
Copy link
Contributor

@samclark2015 samclark2015 commented Jul 21, 2025

This PR adds affordances for triggering Assistant Fix & Explain actions from traceback outputs in the Console. When clicked, these open a Quick Chat pane with an initial query consisting of the slash-command (/fix or /explain) and the contents of the most recent traceback.

Assistant will then process this, along with Console output context, to propose a solution or explanation. The user can run the fix in the Console, or optionally apply in an editor. Assistant does best-effort at determining the source location of an error in editor, and provides that file path to the "Apply in Editor" action on the code block.

Affordances in Console:
Screenshot 2025-08-14 at 2 40 57 PM

Example /fix result in Quick Chat:
Screenshot 2025-08-14 at 2 10 25 PM

Release Notes

New Features

Bug Fixes

  • N/A

QA Notes

For "Fix": Ensure the correct error is resolved (#8740 improved this situation). Check if "Apply in Editor" action references the correct file - you can see its proposed file by hovering on the button.

e2e: @:assistant

@samclark2015 samclark2015 self-assigned this Jul 21, 2025
Copy link

github-actions bot commented Jul 21, 2025

E2E Tests 🚀
This PR will run tests tagged with: @:critical @:assistant

readme  valid tags

@samclark2015 samclark2015 changed the title Adds quick fix button in Console Assistant: Fix & Explain in Console Aug 14, 2025
@samclark2015 samclark2015 force-pushed the feature/console-quickfix branch from dfc7867 to 87c208e Compare August 14, 2025 19:02
@samclark2015 samclark2015 changed the base branch from main to feature/assistant-commands August 14, 2025 19:03
Base automatically changed from feature/assistant-commands to main August 19, 2025 21:17
@samclark2015 samclark2015 marked this pull request as ready for review August 21, 2025 15:58
timtmok
timtmok previously approved these changes Aug 21, 2025
Copy link
Contributor

@timtmok timtmok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@samclark2015 samclark2015 merged commit 5b8e7f5 into main Aug 25, 2025
9 checks passed
@samclark2015 samclark2015 deleted the feature/console-quickfix branch August 25, 2025 19:34
@github-actions github-actions bot locked and limited conversation to collaborators Aug 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants