gui: replace context-dependent templates with skill loader
Removed 'Explain this', 'Fix the bug', 'Write tests', 'Summarize', 'Refactor', 'Add comments' — these require context from Kate which isn't available in the GUI. Replaced with 'Load skills and tools...' which inserts 'Load all required skills and tools, then ' into the prompt for user to complete.
This commit is contained in:
parent
94e5d76b5b
commit
a5e2535b5a
|
|
@ -372,12 +372,7 @@ Item {
|
|||
MenuItem { text: "Yes"; onTriggered: ollie.submit("Yes") }
|
||||
MenuItem { text: "No"; onTriggered: ollie.submit("No") }
|
||||
MenuSeparator {}
|
||||
MenuItem { text: "Explain this"; onTriggered: promptInput.text = "Explain this:\n" }
|
||||
MenuItem { text: "Fix the bug"; onTriggered: promptInput.text = "Fix the bug in " }
|
||||
MenuItem { text: "Write tests"; onTriggered: promptInput.text = "Write tests for " }
|
||||
MenuItem { text: "Summarize"; onTriggered: promptInput.text = "Summarize " }
|
||||
MenuItem { text: "Refactor"; onTriggered: promptInput.text = "Refactor " }
|
||||
MenuItem { text: "Add comments"; onTriggered: promptInput.text = "Add comments to " }
|
||||
MenuItem { text: "Load skills and tools..."; onTriggered: promptInput.text = "Load all required skills and tools, then " }
|
||||
MenuSeparator {}
|
||||
MenuItem { text: "Continue"; onTriggered: ollie.submit("continue") }
|
||||
MenuItem { text: "Retry"; onTriggered: ollie.submit("retry") }
|
||||
|
|
|
|||
Loading…
Reference in New Issue