Add heuristic to suggest fix code output (#45)
Add heuristic to fix code output
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user