awrite_approval_mode(
agent: object,
thread_id: str,
*,
mode: ApprovalMode | str| Name | Type | Description |
|---|---|---|
agent* | object | Agent object. Remote agents expose |
thread_id* | str | LangGraph thread id for the active session. |
mode | ApprovalMode | str | None | Default: NoneExplicit approval mode. |
auto_approve | bool | None | Default: None |
Persist approval mode through an agent's remote store client.
Compatibility input for the previous Boolean API.