Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions reference/hooks/post-hooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ Running a post-hook is handled automatically during the Agent or Team run. These
| `team` | `Team` | Required | The Team that is running the post-hook. Only present in Team runs. |
| `run_output` | `RunOutput` or `TeamRunOutput`| Required | The output of the current Agent or Team run. |
| `session` | `AgentSession` | Required | The `AgentSession` or `TeamSession` object representing the current session. |
| `session_state` | `Optional[Dict[str, Any]]` | `None` | The session state of the current session. |
| `dependencies` | `Optional[Dict[str, Any]]` | `None` | The dependencies of the current run. |
| `metadata` | `Optional[Dict[str, Any]]` | `None` | The metadata of the current run. |
| `run_context` | `RunContext` | Required | The current run context. See [Run Context](/reference/run/run-context). |
| `user_id` | `Optional[str]` | `None` | The contextual user ID, if any. |
| `debug_mode` | `Optional[bool]` | `None` | Whether the debug mode is enabled. |

4 changes: 1 addition & 3 deletions reference/hooks/pre-hooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ Running a pre-hook is handled automatically during the Agent or Team run. These
| `team` | `Team` | Required | The Team that is running the pre-hook. Only present in Team runs. |
| `run_input` | `RunInput` | Required | The input provided to the Agent or Team when invoking the run. |
| `session` | `AgentSession` | Required | The `AgentSession` or `TeamSession` object representing the current session. |
| `session_state` | `Optional[Dict[str, Any]]` | `None` | The session state of the current session. |
| `dependencies` | `Optional[Dict[str, Any]]` | `None` | The dependencies of the current run. |
| `metadata` | `Optional[Dict[str, Any]]` | `None` | The metadata of the current run. |
| `run_context` | `RunContext` | Required | The current run context. See [Run Context](/reference/run/run-context). |
| `user_id` | `Optional[str]` | `None` | The contextual user ID, if any. |
| `debug_mode` | `Optional[bool]` | `None` | Whether the debug mode is enabled. |