Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs(session-host): correct prompt refresh source count in module docs

Steven Enamakelc0a9b41aa1aa
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session/prompt_refresh.rs b/crates/openhuman-core/src/agent/session_host/runtime_session/prompt_refresh.rs
index 6e06de5725..6a0655ac9e 100644
--- a/crates/openhuman-core/src/agent/session_host/runtime_session/prompt_refresh.rs
+++ b/crates/openhuman-core/src/agent/session_host/runtime_session/prompt_refresh.rs
@@ -5,12 +5,11 @@
//! provider's prefix cache warm across a restart. A turn can still offer a
//! replacement, which the runtime applies only when it differs from what is
//! recorded; a thread-bound session then seals the transcript generation it
-//! was on and carries its conversation into the next. Two things offer one:
+//! was on and carries its conversation into the next. Three things offer one:
//!
//! - the permanent-tool catalogue (`permanent.rs`), whenever it changes;
//! - the whole prompt, rendered afresh, when the agent's definition sets
-//! `refresh_prompt_on_resume`, so prompt edits reach existing threads too.
-//!
+//! `refresh_prompt_on_resume`, so prompt edits reach existing threads too;
//! - the memory block (`memory_block.rs`), when a generation starts; it is
//! left out of the comparison below like the catalogue, so a memory change
//! alone never seals a generation or adds the note.