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 (ResumeKind)
description (str)
unanswered_tool_calls (tuple[ToolCall, ...])
stop (StopInfo | None)
- kind#
How it was interrupted, and so what resuming does about it.
- 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