Add heuristic to suggest fix code output (#45)

Add heuristic to fix code output
This commit is contained in:
Will Chen
2025-04-29 11:34:21 -07:00
committed by GitHub
parent 37928a9017
commit 672bd790fa
5 changed files with 72 additions and 3 deletions

View File

@@ -159,7 +159,8 @@ export interface CodeProposal {
export type SuggestedAction =
| RestartAppAction
| SummarizeInNewChatAction
| RefactorFileAction;
| RefactorFileAction
| WriteCodeProperlyAction;
export interface RestartAppAction {
id: "restart-app";
@@ -169,6 +170,10 @@ export interface SummarizeInNewChatAction {
id: "summarize-in-new-chat";
}
export interface WriteCodeProperlyAction {
id: "write-code-properly";
}
export interface RefactorFileAction {
id: "refactor-file";
path: string;