ResumePoint#

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

class zett_agent.resume.ResumePoint(kind, description, unanswered_tool_calls=(), stop=None)[源代码]#

Where a session was interrupted and what resuming it will do.

参数:
kind#

How it was interrupted, and so what resuming does about it.

Type:

zett_agent.resume.ResumeKind

description#

One sentence for a person, such as for a "Resume" button.

Type:

str

unanswered_tool_calls#

The calls that have no result, for ResumeKind.RECOVER_TOOLS; empty otherwise.

Type:

tuple[zett_agent.messages.ToolCall, ...]

stop#

How the last assistant message stopped, when there is one and it did not finish normally.

Type:

zett_agent.stop.StopInfo | None