The model asked to run the tool call tool_call_id, which needs
approval.
Attributes#
| Attribute | Type | Description |
|---|---|---|
type | Literal['tool-approval-request'] = 'tool-approval-request' | |
approval_id | str | |
tool_call_id | str | |
options | ProviderOptions = field(default_factory=_options) |
Functions#
__init__#
__init__(approval_id, tool_call_id, options=_options()) -> None| Parameter | Type | Description |
|---|---|---|
approval_id | str | |
tool_call_id | str | |
options | ProviderOptions = _options() |
pipe#
pipe[B](f) -> B| Parameter | Type | Description |
|---|---|---|
f | Callable[[Self], B] |
Returns B
def pipe[B](self, f: Callable[[Self], B], /) -> B:
return f(self)