classify_resume#

Understand request ownership, phases, and runtime limits. See the guide.

zett_agent.resume.classify_resume(messages)[source]#

Read where a history was interrupted from its last message.

Parameters:

messages (Sequence[AnyMessage]) – The session’s context messages, oldest first. System messages are ignored.

Raises:

AgentResumeError – If there is nothing to resume, or what the history ends in cannot be picked up again. Its reason says which.

Return type:

ResumePoint