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: devtalker/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: main
Choose a head ref
  • 9 commits
  • 42 files changed
  • 10 contributors

Commits on Jul 23, 2025

  1. Fix RealtimeModel reference (openai#1215)

    ## Summary
    - document `agents.realtime.model` so the RealtimeModel link works
    - include the new file in the documentation navigation
    
    ## Testing
    - `make format`
    - `make lint`
    - `make mypy`
    - `make tests`
    
    
    ------
    https://chatgpt.com/codex/tasks/task_i_687fadfee88883219240b56e5abba76a
    rm-openai authored Jul 23, 2025
    Configuration menu
    Copy the full SHA
    46101cb View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2025

  1. Configuration menu
    Copy the full SHA
    a16da90 View commit details
    Browse the repository at this point in the history
  2. Update all translated document pages (openai#1232)

    Automated update of translated documentation
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Jul 24, 2025
    Configuration menu
    Copy the full SHA
    88818fd View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2025

  1. Add LiteLLM to acknowledgements section (openai#1240)

    ## Summary
    - Added LiteLLM to the acknowledgements section in README.md
    - Recognized LiteLLM as a unified interface for 100+ LLMs, which aligns
    with the SDK's provider-agnostic approach
    
    ## Test plan
    - [x] Verify README renders correctly
    - [x] Ensure link to LiteLLM repository is functional
    colesmcintosh authored Jul 25, 2025
    Configuration menu
    Copy the full SHA
    44042e1 View commit details
    Browse the repository at this point in the history
  2. [Bugfix] Fix wrong imports in examples (openai#1241)

    The current script gives
    
    ```
    Traceback (most recent call last):
      File "/Users/xmxd289/code/openai-agents-python/examples/reasoning_content/main.py", line 19, in <module>
        from agents.types import ResponseOutputRefusal, ResponseOutputText  # type: ignore
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ModuleNotFoundError: No module named 'agents.types'
    ```
    
    because it should be
    
    `from openai.types.responses import ResponseOutputRefusal,
    ResponseOutputText`
    
    rather than
    
    `from agents.types import ResponseOutputRefusal, ResponseOutputText`
    
    ---------
    
    Co-authored-by: Michelangelo D'Agostino <mda@grainger.com>
    mdagost and Michelangelo D'Agostino authored Jul 25, 2025
    Configuration menu
    Copy the full SHA
    d052c1f View commit details
    Browse the repository at this point in the history
  3. Realtime: send audio item/content index (openai#1235)

    Will need this for a followup.
    
    ---
    [//]: # (BEGIN SAPLING FOOTER)
    * openai#1243
    * openai#1242
    * __->__ openai#1235
    rm-openai authored Jul 25, 2025
    Configuration menu
    Copy the full SHA
    7b84678 View commit details
    Browse the repository at this point in the history
  4. Fix openai#1227 Chat Completions model fails to handle streaming with…

    … openai 1.97.1+ (openai#1246)
    
    This pull request resolves openai#1227
    seratch authored Jul 25, 2025
    Configuration menu
    Copy the full SHA
    00412a1 View commit details
    Browse the repository at this point in the history
  5. Make Trace class inherit from abc.ABC for proper abstract base class …

    …behavior (openai#1233)
    
    The Trace class was using @abc.abstractmethod decorators without
    inheriting
    from abc.ABC, which meant the abstract methods weren't enforced.
    
    This change makes the class properly abstract while maintaining all
    existing functionality
    since no code directly instantiates Trace() - all usage goes through the
    concrete implementations NoOpTrace and TraceImpl.
    DanielHashmi authored Jul 25, 2025
    Configuration menu
    Copy the full SHA
    64b4a5f View commit details
    Browse the repository at this point in the history
  6. docs: add LangDB AI Gateway as a tracing provider (openai#1224)

    Adds LangDB AI Gateway to the External tracing processors list so
    developers can stream Agent‑SDK traces directly into LangDB’s
    dashboards.
    
    ## Highlights
    
    - End‑to‑end observability of every agent step, tool invocation, and
    guardrail.
    - Access to 350+ LLM models through a single OpenAI‑compatible endpoint.
    
    - Quick integration: `pip install "pylangdb[openai]" `
    ```python
    from pylangdb.openai import init
    init()
    
    client = AsyncOpenAI(
        api_key=os.environ["LANGDB_API_KEY"],
        base_url=os.environ["LANGDB_API_BASE_URL"],
        default_headers={"x-project-id": os.environ["LANGDB_PROJECT_ID"]},
    )
    set_default_openai_client(client)     
    ```
    - Live demo Thread:
    https://app.langdb.ai/sharing/threads/53b87631-de7f-431a-a049-48556f899b4d
    <img width="1636" height="903" alt="image"
    src="https://github.com/user-attachments/assets/075538fb-c1af-48e8-95fd-ff3d729ba37d"
    />
    
    Fixes openai#1222
    
    ---------
    
    Co-authored-by: mutahirshah11 <158048266+mutahirshah11@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    4 people authored Jul 25, 2025
    Configuration menu
    Copy the full SHA
    430dbaa View commit details
    Browse the repository at this point in the history
Loading