From 82c024a8541455aa2c6c7f30a216698c908c3f53 Mon Sep 17 00:00:00 2001 From: asepharyana Date: Thu, 16 Jul 2026 05:10:47 +0700 Subject: [PATCH] docs(runtime): perbarui doc comment run_agent_turn yang basi Masih menyebut shortsend padahal modul itu sudah dihapus dan diganti context::dedup/context::shaping di commit sebelumnya. Co-Authored-By: Claude Sonnet 5 --- src/app/runtime/actions/mod.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/runtime/actions/mod.rs b/src/app/runtime/actions/mod.rs index f1e91eb..c6d70f3 100644 --- a/src/app/runtime/actions/mod.rs +++ b/src/app/runtime/actions/mod.rs @@ -927,8 +927,9 @@ const HIVE_MIND_KICKOFF_NOTE: &str = "The Hive is stirring — Core Intelligence /// handle tool calls, and loop until the LLM produces a non-tool response /// or runs out of unfinished todo items. /// -/// Flow: build system prompt with workspace tree → optionally shape -/// (compact) messages via `shortsend` → call `chat_with_tools_streaming` +/// Flow: build system prompt with workspace tree → deduplicate messages +/// via `context::dedup::collapse` → optionally shape (compact) messages via +/// `context::shaping::{should_shape, shape_messages}` → call `chat_with_tools_streaming` /// with a callback that pushes `StreamStart`, `StreamToken`, `Reasoning`, /// and `Usage` events → on streaming success, handle tool calls (gated /// through `Harness::gate_tool_call`) or unwrap the final assistant