Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: openai/openai-agents-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: openai/openai-agents-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: pakrym/runner-class
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 8 commits
  • 9 files changed
  • 1 contributor

Commits on May 20, 2025

  1. Runner

    pakrym-oai committed May 20, 2025
    Configuration menu
    Copy the full SHA
    616192e View commit details
    Browse the repository at this point in the history
  2. LLM: run.py: add support for configurable default Runner

    - Introduce a DEFAULT_RUNNER global and a set_default_runner() function to allow callers to specify a default Runner for agent runs.
    - Update Runner.run, run_sync, and run_streaming to use DEFAULT_RUNNER if set, otherwise fallback to DefaultRunner.
    - Add detailed docstrings to run, run_sync, and run_streaming methods for clarity on agent execution flow and exceptions.
    pakrym-oai committed May 20, 2025
    Configuration menu
    Copy the full SHA
    046c287 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c7b5053 View commit details
    Browse the repository at this point in the history
  4. test

    pakrym-oai committed May 20, 2025
    Configuration menu
    Copy the full SHA
    a10f945 View commit details
    Browse the repository at this point in the history
  5. LLM: rename Runner execution methods to use leading underscores

    This commit renames the abstract and concrete methods run_impl, run_sync_impl, and run_streamed_impl in the Runner and DefaultRunner classes to _run_impl, _run_sync_impl, and _run_streamed_impl (or _start_streaming as appropriate) for improved naming consistency. Updates all method calls and test mocks accordingly. No behavior changes.
    pakrym-oai committed May 20, 2025
    Configuration menu
    Copy the full SHA
    2002dd9 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2025

  1. Configuration menu
    Copy the full SHA
    40d1b91 View commit details
    Browse the repository at this point in the history
  2. LLM: refactor(tracing): move TraceProvider to separate module and rep…

    …lace global with accessor
    
    - Move TraceProvider and related logic from setup.py to new provider.py module
    - Replace direct GLOBAL_TRACE_PROVIDER references with get_trace_provider() accessor throughout tracing code
    - Update init and util imports to use get_trace_provider
    - Call set_trace_provider(TraceProvider()) on init
    - Remove ID and time generation logic from util, delegate to TraceProvider
    - Update SpanImpl to always use passed-in span_id
    pakrym-oai committed May 21, 2025
    Configuration menu
    Copy the full SHA
    b914570 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    27646ee View commit details
    Browse the repository at this point in the history
Loading