The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs(acp): correct late-refresh docstring — post-first-turn tools land via between-turns refresh
kshitijk4poor40e0e7ad56f7
diff --git a/acp_adapter/server.py b/acp_adapter/server.pyindex b234650de3d..65241f6978d 100644--- a/acp_adapter/server.py+++ b/acp_adapter/server.py@@ -1055,8 +1055,12 @@ class HermesACPAgent(acp.Agent):Cache safety: the rebuild only runs while the session is stillpre-first-turn (no API call made yet → nothing cached to invalidate).Once the user has sent a message we leave the snapshot frozen rather- than break the cached prompt prefix mid-conversation; late tools then- require an explicit ``/reload-mcp`` (user-consented), exactly as today.+ than break the cached prompt prefix mid-conversation; servers that land+ later are picked up cache-safely by the between-turns prologue refresh+ (``agent/turn_context.py``) at the next turn boundary. The marginal+ value of this pre-first-turn daemon is therefore freshness in the+ window [session created → first message] — e.g. the "Available tools"+ listing a client may request before the first prompt.No-op when discovery already finished, when the join times out, when theregistry was unchanged, or when the session was closed while waiting."""