openai-agents-python/src/agents
Rohan Mehta 3755ea8658
Create to_json_dict for ModelSettings (#582)
Now that `ModelSettings` has `Reasoning`, a non-primitive object,
`dataclasses.as_dict()` wont work. It will raise an error when you try
to serialize (e.g. for tracing). This ensures the object is actually
serializable.
2025-04-23 20:39:07 -04:00
..
extensions Create to_json_dict for ModelSettings (#582) 2025-04-23 20:39:07 -04:00
mcp Pass through organization/project headers to tracing backend, fix speech_group enum (#562) 2025-04-21 16:59:46 -04:00
models Create to_json_dict for ModelSettings (#582) 2025-04-23 20:39:07 -04:00
tracing Pass through organization/project headers to tracing backend, fix speech_group enum (#562) 2025-04-21 16:59:46 -04:00
util Pretty print result classes 2025-03-17 11:11:39 -04:00
voice [5/n] MCP tracing 2025-03-25 19:28:48 -04:00
__init__.py Enable non-strict output types (#539) 2025-04-21 11:58:36 -04:00
_config.py Add examples and documentation for using custom model providers 2025-03-12 17:34:38 -07:00
_debug.py Initial commit 2025-03-11 09:42:28 -07:00
_run_impl.py Enable non-strict output types (#539) 2025-04-21 11:58:36 -04:00
agent.py Enable non-strict output types (#539) 2025-04-21 11:58:36 -04:00
agent_output.py Enable non-strict output types (#539) 2025-04-21 11:58:36 -04:00
computer.py Initial commit 2025-03-11 09:42:28 -07:00
exceptions.py Initial commit 2025-03-11 09:42:28 -07:00
function_schema.py Fix typos and misspellings (#486) 2025-04-14 10:37:13 -04:00
guardrail.py utils directory 2025-03-16 18:48:45 -04:00
handoffs.py utils directory 2025-03-16 18:48:45 -04:00
items.py Previous response id (#509) 2025-04-14 22:02:47 -04:00
lifecycle.py Initial commit 2025-03-11 09:42:28 -07:00
logger.py Initial commit 2025-03-11 09:42:28 -07:00
model_settings.py Create to_json_dict for ModelSettings (#582) 2025-04-23 20:39:07 -04:00
py.typed Create py.typed 2025-03-21 11:16:24 -04:00
result.py Allow cancel out of the streaming result (#579) 2025-04-23 19:51:10 -04:00
run.py RFC: automatically use litellm if possible (#534) 2025-04-21 15:03:06 -04:00
run_context.py Initial commit 2025-03-11 09:42:28 -07:00
stream_events.py revert src/ change per request 2025-03-22 01:06:01 +01:00
strict_schema.py Raise error on more invalid function schemas (#356) 2025-03-26 15:52:19 -04:00
tool.py Introduce tool_use_behavior on agents 2025-03-18 21:55:12 -04:00
usage.py Initial commit 2025-03-11 09:42:28 -07:00
version.py Misc small fixes - mcp version, test for function_schema, version gen (#429) 2025-04-03 12:08:01 -04:00