AskUserResult#

Build extensions, choose hooks, and manage request-scoped state. See the guide.

class zett_agent.extensions.ask_user.AskUserResult(*, name, payload)[源代码]#

Accepted external response returned to the model as a tool result.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

参数:
  • name (str)

  • payload (dict[str, Any])

Fields#

name (required)

See the typed model signature for this field.

payload (required)

See the typed model signature for this field.