From 81434f52c16e826b0f24ee3ad9c1626beb9cae8e Mon Sep 17 00:00:00 2001 From: Louis Knight-Webb Date: Wed, 25 Jun 2025 00:20:18 +0100 Subject: [PATCH] Task attempt 17522bd1-991c-42e0-adb9-8f5a189c983d - Final changes --- backend/src/models/task_attempt.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/src/models/task_attempt.rs b/backend/src/models/task_attempt.rs index 4cd737a1..1e9c8030 100644 --- a/backend/src/models/task_attempt.rs +++ b/backend/src/models/task_attempt.rs @@ -576,6 +576,9 @@ impl TaskAttempt { .await? .ok_or(TaskAttemptError::TaskNotFound)?; // No session found + // Update the executor session with the new prompt + ExecutorSession::update_prompt(pool, executor_session.id, prompt).await?; + // Determine the executor config from the stored executor_type let executor_config = match most_recent_coding_agent.executor_type.as_deref() { Some("claude") => crate::executor::ExecutorConfig::Claude,