docs(agent): stop naming handle_api_interrupt as a tail closer
The previous commit left the API-interrupt close to the finalizer, so this comment named a closer that no longer exists (pre-arm gate nit).
This commit is contained in:
@@ -354,8 +354,8 @@ class SessionPersistenceMixin:
|
||||
from agent.agent_runtime_helpers import note_turn_persisted
|
||||
with _persist_lock(self):
|
||||
# Only the scaffolding goes here. Closing a tool tail this uncovers is the exit
|
||||
# owner's job (``_close_transcript_tail``, ``abort_turn_on_interrupt``,
|
||||
# ``handle_api_interrupt``): only it knows the reason to record.
|
||||
# owner's job (``_close_transcript_tail``, ``abort_turn_on_interrupt``): only it knows
|
||||
# the reason to record.
|
||||
self._drop_trailing_empty_response_scaffolding(messages)
|
||||
self._session_messages = messages
|
||||
self._flush_messages_to_session_db(messages, conversation_history)
|
||||
|
||||
Reference in New Issue
Block a user