Skip to content

The agent that grows with you

docs(agent): pin prefix semantics at the previewed-mark call site (#88954)

kshitijk4poor1f61f7087b6b
diff --git a/agent/turn_stop_gates.py b/agent/turn_stop_gates.py
index 01ca598381d..dc202a01036 100644
--- a/agent/turn_stop_gates.py
+++ b/agent/turn_stop_gates.py
@@ -122,6 +122,8 @@ def apply_stop_gates(
return StopGateVerdict(
continue_turn=True, final_response=None,
pending_verification_response=final_response,
+ # Prefix semantics on purpose: the streamed prefix IS on screen here. The gateway
+ # interim verdict uses _interim_content_fully_streamed instead (#88954).
pending_verification_response_previewed=agent._interim_content_was_streamed(
final_response or ""
),