kin: auto-commit after pipeline
This commit is contained in:
parent
0ccd451b4b
commit
04cbbc563b
7 changed files with 324 additions and 7 deletions
|
|
@ -213,6 +213,12 @@ async function runPipeline() {
|
|||
claudeLoginError.value = false
|
||||
pipelineStarting.value = true
|
||||
try {
|
||||
// Sync task execution_mode with current toggle state before running
|
||||
const targetMode = autoMode.value ? 'auto_complete' : 'review'
|
||||
if (task.value && task.value.execution_mode !== targetMode) {
|
||||
const updated = await api.patchTask(props.id, { execution_mode: targetMode })
|
||||
task.value = { ...task.value, ...updated }
|
||||
}
|
||||
await api.runTask(props.id)
|
||||
startPolling()
|
||||
await load()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue