Skip to content

Commit 46aaf63

Browse files
tibo-openaiHolovkat
authored andcommitted
docs: document exec json events (#5399)
1 parent cc5b9f6 commit 46aaf63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/exec.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Supported event types:
2727
- `turn.completed` - when a turn completes; includes token usage.
2828
- `turn.failed` - when a turn fails; includes error details.
2929
- `item.started`/`item.updated`/`item.completed` - when a thread item is added/updated/completed.
30+
- `error` - when the stream reports an unrecoverable error; includes the error message.
3031

3132
Supported item types:
3233

@@ -36,6 +37,7 @@ Supported item types:
3637
- `file_change` - assistant making file changes.
3738
- `mcp_tool_call` - assistant calling an MCP tool.
3839
- `web_search` - assistant performing a web search.
40+
- `todo_list` - the agent's running plan when the plan tool is active, updating as steps change.
3941

4042
Typically, an `agent_message` is added at the end of the turn.
4143

0 commit comments

Comments
 (0)