Remove '📋 Task: ' prefix from ACD stub

The first user message in dehydrated context stubs is now shown
without any prefix, consistent with the removal of 'Task: ' prefix
from user messages.
This commit is contained in:
Dhanji R. Prasanna
2026-01-20 21:57:12 +05:30
parent 07c0bf1e39
commit d7f22679a9

View File

@@ -111,9 +111,9 @@ impl Fragment {
pub fn generate_stub(&self) -> String { pub fn generate_stub(&self) -> String {
let mut stub = String::new(); let mut stub = String::new();
stub.push_str("---\n"); stub.push_str("---\n");
// Include the full first user message (task) for forensics // Include the first user message for context
if let Some(ref task) = self.first_user_message { if let Some(ref task) = self.first_user_message {
stub.push_str(&format!("📋 Task: {}\n\n", task)); stub.push_str(&format!("{}\n\n", task));
} }
// Tool call summary // Tool call summary