File tree 1 file changed +5
-5
lines changed
src/main/kotlin/ee/carlrobert/codegpt/settings/prompts/form
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -104,11 +104,11 @@ class PromptsForm {
104
104
105
105
val coreActionsFormState = getFormState<CoreActionPromptDetails >(coreActionsNode)
106
106
settings.coreActions.apply {
107
- editCode = coreActionsFormState[1 ].toState()
108
- fixCompileErrors = coreActionsFormState[2 ].toState()
109
- generateCommitMessage = coreActionsFormState[3 ].toState()
110
- generateNameLookups = coreActionsFormState[4 ].toState()
111
- reviewChanges = coreActionsFormState[5 ].toState()
107
+ editCode = coreActionsFormState[0 ].toState()
108
+ fixCompileErrors = coreActionsFormState[1 ].toState()
109
+ generateCommitMessage = coreActionsFormState[2 ].toState()
110
+ generateNameLookups = coreActionsFormState[3 ].toState()
111
+ reviewChanges = coreActionsFormState[4 ].toState()
112
112
}
113
113
settings.chatActions.prompts = getFormState<ChatActionPromptDetails >(chatActionsNode)
114
114
.map { it.toState() }
You can’t perform that action at this time.
0 commit comments