-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: sznchanda/openai-agents-python
base: main
head repository: openai/openai-agents-python
compare: main
- 16 commits
- 36 files changed
- 12 contributors
Commits on Apr 29, 2025
-
Configuration menu - View commit details
-
Copy full SHA for db0ee9d - Browse repository at this point
Copy the full SHA db0ee9dView commit details
Commits on Apr 30, 2025
-
Configuration menu - View commit details
-
Copy full SHA for f976349 - Browse repository at this point
Copy the full SHA f976349View commit details
Commits on May 14, 2025
-
Fixed a bug for "detail" attribute in input image (openai#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 openai#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.
Configuration menu - View commit details
-
Copy full SHA for 2c46dae - Browse repository at this point
Copy the full SHA 2c46daeView commit details -
feat: pass extra_body through to LiteLLM acompletion (openai#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} ) )
Configuration menu - View commit details
-
Copy full SHA for 1994f9d - Browse repository at this point
Copy the full SHA 1994f9dView commit details -
Update search_agent.py (openai#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.
Configuration menu - View commit details
-
Copy full SHA for 02b6e70 - Browse repository at this point
Copy the full SHA 02b6e70View commit details -
feat: Streamable HTTP support (openai#643)
Co-authored-by: aagarwal25 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1847008 - Browse repository at this point
Copy the full SHA 1847008View commit details
Commits on May 15, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 5fe096d - Browse repository at this point
Copy the full SHA 5fe096dView commit details
Commits on May 18, 2025
-
Adding an AGENTS.md file for Codex use
Configuration menu - View commit details
-
Copy full SHA for c282324 - Browse repository at this point
Copy the full SHA c282324View commit details -
Added mcp 'instructions' attribute to the server (openai#706)
Added the `instructions` attribute to the MCP servers to solve openai#704 . Let me know if you want to add an example to the documentation.
Configuration menu - View commit details
-
Copy full SHA for 003cbfe - Browse repository at this point
Copy the full SHA 003cbfeView commit details
Commits on May 19, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 428c9a6 - Browse repository at this point
Copy the full SHA 428c9a6View commit details
Commits on May 20, 2025
-
Dev/add usage details to Usage class (openai#726)
PR to enhance the `Usage` object and related logic, to support more granular token accounting, matching the details available in the [OpenAI Responses API](https://platform.openai.com/docs/api-reference/responses) . Specifically, it: - Adds `input_tokens_details` and `output_tokens_details` fields to the `Usage` dataclass, storing detailed token breakdowns (e.g., `cached_tokens`, `reasoning_tokens`). - Flows this change through - Updates and extends tests to match - Adds a test for the Usage.add method ### Motivation - Aligns the SDK’s usage with the latest OpenAI responses API Usage object - Supports downstream use cases that require fine-grained token usage data (e.g., billing, analytics, optimization) requested by startups --------- Co-authored-by: Wulfie Bain <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 466b44d - Browse repository at this point
Copy the full SHA 466b44dView commit details
Commits on May 21, 2025
-
Upgrade openAI sdk version (openai#730)
--- [//]: # (BEGIN SAPLING FOOTER) * openai#732 * openai#731 * __->__ openai#730
Configuration menu - View commit details
-
Copy full SHA for ce2e2a4 - Browse repository at this point
Copy the full SHA ce2e2a4View commit details -
Hosted MCP support (openai#731)
--- [//]: # (BEGIN SAPLING FOOTER) * openai#732 * __->__ openai#731
Configuration menu - View commit details
-
Copy full SHA for 9fa5c39 - Browse repository at this point
Copy the full SHA 9fa5c39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 079764f - Browse repository at this point
Copy the full SHA 079764fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1992be3 - Browse repository at this point
Copy the full SHA 1992be3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1364f44 - Browse repository at this point
Copy the full SHA 1364f44View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...main