Skip to content

Conversation

pakrym-oai
Copy link
Contributor

Summary

  • enable customizing ID/time generation by adding methods on TraceProvider
  • call into GLOBAL_TRACE_PROVIDER from tracing util helpers
  • expose a new set_trace_provider helper for swapping providers
  • wire new API surface through agents module exports

Test plan

  • ruff check src/agents/__init__.py src/agents/tracing/__init__.py src/agents/tracing/setup.py src/agents/tracing/util.py
  • mypy src/agents/tracing/setup.py src/agents/tracing/util.py src/agents/tracing/__init__.py src/agents/__init__.py (fails: Cannot find implementation or library stub for module named "openai")
  • make format (fails: Could not connect, are you offline?)
  • make lint (fails: Could not connect, are you offline?)
  • make mypy (fails: Could not connect, are you offline?)
  • make tests (fails: Could not connect, are you offline?)

@pakrym-oai pakrym-oai marked this pull request as ready for review May 21, 2025 16:19
@pakrym-oai pakrym-oai merged commit 40d1b91 into pakrym/runner-class May 21, 2025
3 of 5 checks passed
@pakrym-oai pakrym-oai deleted the codex/add-traceprovider-methods-and-set_trace_provider branch May 21, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant