Skip to content

Commit 3d5e205

Browse files
committed
Replace "when the agent session ends" with detailed description it means agent execution stopping, not the chat session stopping.
1 parent 0839e06 commit 3d5e205

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/agents/reference/hooks-reference.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,9 @@ The `SessionStart` hook can inject additional context into the agent's conversat
166166

167167
## Stop
168168

169-
The `Stop` hook fires when the agent session ends. When scoped to a custom agent, the `Stop` hook is also treated as `SubagentStop`.
169+
The `Stop` hook fires when the current agent execution stops. When scoped to a custom agent, the `Stop` hook is also treated as `SubagentStop`.
170+
171+
The hook firing does not indicate stopping of a session or that the session has become inactive.
170172

171173
### Stop input
172174

0 commit comments

Comments
 (0)