mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-19 07:54:46 +00:00
fix: use correct array indices (#933)
Co-authored-by: Mirko Jantschke <mjantschke@novomind.com>
This commit is contained in:
parent
47ac9c2d8a
commit
408314d1e2
1 changed files with 5 additions and 5 deletions
|
|
@ -104,11 +104,11 @@ class PromptsForm {
|
|||
|
||||
val coreActionsFormState = getFormState<CoreActionPromptDetails>(coreActionsNode)
|
||||
settings.coreActions.apply {
|
||||
editCode = coreActionsFormState[1].toState()
|
||||
fixCompileErrors = coreActionsFormState[2].toState()
|
||||
generateCommitMessage = coreActionsFormState[3].toState()
|
||||
generateNameLookups = coreActionsFormState[4].toState()
|
||||
reviewChanges = coreActionsFormState[5].toState()
|
||||
editCode = coreActionsFormState[0].toState()
|
||||
fixCompileErrors = coreActionsFormState[1].toState()
|
||||
generateCommitMessage = coreActionsFormState[2].toState()
|
||||
generateNameLookups = coreActionsFormState[3].toState()
|
||||
reviewChanges = coreActionsFormState[4].toState()
|
||||
}
|
||||
settings.chatActions.prompts = getFormState<ChatActionPromptDetails>(chatActionsNode)
|
||||
.map { it.toState() }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue