Repository navigation
Commit c6fc264
authored
feat(api): add stream options for agent sessions (#4251)
Adds options for controlling padding in agent session event streams.
- Accept stream_options when creating a session and include_obfuscation when streaming its events
- Expose optional obfuscation padding on session events
- Keep event padding enabled by default1 parent 561ef6b commit c6fc264
44 files changed
Lines changed: 394 additions & 55 deletions
File tree
- api_reference
- scripts/castiron
- src/openai
- resources/beta/agents/sessions
- types/beta
- agents
- sessions
- tests/api_resources/beta/agents
- sessions
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
834 | 834 | | |
835 | 835 | | |
836 | 836 | | |
837 | | - | |
| 837 | + | |
838 | 838 | | |
839 | 839 | | |
840 | 840 | | |
| |||
0 commit comments