cai/src/agents
Rohan Mehta 0989cd9184
Add TracingProcessor export to __init__.py (#192)
# Summary
This adds the missing TracingProcessor export to  __init__.py.

# Behavior
When trying to add a custom tracing processor, the TracingProcessor
importing fails with not found error when trying the example usage
proposed in issue #164

Specifically this line throws the error:
`add_trace_processor(MyTracingProcessor("output"))`

# Expected Behavior
Inspecting the init file, simply the import/export was missing. Adding
these made the example code work for me

# Test plan
Local dev of example code in #164

# Issue number
#164

# Checks
None
2025-03-17 15:39:04 -04:00
..
extensions Merge pull request #8 from openai/repo/gitignore 2025-03-11 11:17:37 -07:00
models Add examples and documentation for using custom model providers (#110) 2025-03-13 08:17:25 -07:00
tracing Consolidate to one logger (#149) 2025-03-13 11:38:18 -07:00
util Pretty print result classes 2025-03-17 11:11:39 -04:00
__init__.py Add TracingProcessor export to __init__.py 2025-03-17 10:37:43 +01: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 utils directory 2025-03-16 18:48:45 -04:00
agent.py utils directory 2025-03-16 18:48:45 -04:00
agent_output.py utils directory 2025-03-16 18:48:45 -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: resolve linting issues 2025-03-12 16:00:20 +05:30
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 pin to openai 1.66.2, update tests 2025-03-11 15:26:06 -07: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 Add max_tokens and documentation to model settings 2025-03-12 13:35:10 -07:00
result.py Pretty print result classes 2025-03-17 11:11:39 -04:00
run.py utils directory 2025-03-16 18:48:45 -04:00
run_context.py Initial commit 2025-03-11 09:42:28 -07:00
stream_events.py Initial commit 2025-03-11 09:42:28 -07:00
strict_schema.py Initial commit 2025-03-11 09:42:28 -07:00
tool.py utils directory 2025-03-16 18:48:45 -04:00
usage.py Initial commit 2025-03-11 09:42:28 -07:00
version.py Initial commit 2025-03-11 09:42:28 -07:00