Thanks to visit codestin.com
Credit goes to github.com

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: v0.0.14
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: v0.0.15
Choose a head ref
  • 5 commits
  • 11 files changed
  • 6 contributors

Commits on May 14, 2025

  1. Fixed a bug for "detail" attribute in input image (#685)

    When an input image is given as input, the code tries to access the
    'detail' key, that may not be present as noted in #159.
    
    With this pull request, now it tries to access the key, otherwise set
    the value to `None`.
    @pakrym-oai  or @rm-openai let me know if you want any changes.
    DanieleMorotti authored May 14, 2025
    Configuration menu
    Copy the full SHA
    2c46dae View commit details
    Browse the repository at this point in the history
  2. feat: pass extra_body through to LiteLLM acompletion (#638)

    **Purpose**  
    Allow arbitrary `extra_body` parameters (e.g. `cached_content`) to be
    forwarded into the LiteLLM call. Useful for context caching in Gemini
    models
    ([docs](https://ai.google.dev/gemini-api/docs/caching?lang=python)).
    
    **Example usage**  
    ```python
    import os
    from agents import Agent, ModelSettings
    from agents.extensions.models.litellm_model import LitellmModel
    
    cache_name = "cachedContents/34jopukfx5di"  # previously stored context
    
    gemini_model = LitellmModel(
        model="gemini/gemini-1.5-flash-002",
        api_key=os.getenv("GOOGLE_API_KEY")
    )
    
    agent = Agent(
        name="Cached Gemini Agent",
        model=gemini_model,
        model_settings=ModelSettings(
            extra_body={"cached_content": cache_name}
        )
    )
    AshokSaravanan222 authored May 14, 2025
    Configuration menu
    Copy the full SHA
    1994f9d View commit details
    Browse the repository at this point in the history
  3. Update search_agent.py (#677)

    Added missing word "be" in prompt instructions.
    
    This is unlikely to change the agent functionality in most cases, but
    optimal clarity in prompt language is a best practice.
    leohpark authored May 14, 2025
    Configuration menu
    Copy the full SHA
    02b6e70 View commit details
    Browse the repository at this point in the history
  4. feat: Streamable HTTP support (#643)

    Co-authored-by: aagarwal25 <[email protected]>
    Akshit97 and aagarwal25 authored May 14, 2025
    Configuration menu
    Copy the full SHA
    1847008 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2025

  1. v0.0.15 (#701)

    rm-openai authored May 15, 2025
    Configuration menu
    Copy the full SHA
    5fe096d View commit details
    Browse the repository at this point in the history
Loading