-
Notifications
You must be signed in to change notification settings - Fork 4
Comparing changes
Open a pull request
base repository: johntango/openai-agents-python01
base: main
head repository: openai/openai-agents-python
compare: main
- 7 commits
- 12 files changed
- 7 contributors
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
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