classify_resume#

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

zett_agent.resume.classify_resume(messages)[源代码]#

Read where a history was interrupted from its last message.

参数:

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

抛出:

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

返回类型:

ResumePoint