-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: thoo/openai-agents-python
base: main
head repository: openai/openai-agents-python
compare: main
- 20 commits
- 70 files changed
- 11 contributors
Commits on Jul 21, 2025
-
Realtime: add user agent header (openai#1185)
--- [//]: # (BEGIN SAPLING FOOTER) * openai#1198 * __->__ openai#1185
Configuration menu - View commit details
-
Copy full SHA for 3e100f5 - Browse repository at this point
Copy the full SHA 3e100f5View commit details -
Realtime: make sure we use the initial model settings (openai#1198)
Made a mistake here - we were ignoring the settings passed into the Runner init., and only usig the override settings passed to run()
Configuration menu - View commit details
-
Copy full SHA for 6cb9639 - Browse repository at this point
Copy the full SHA 6cb9639View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68b0ef1 - Browse repository at this point
Copy the full SHA 68b0ef1View commit details -
Add automation script to generate mkdocstrings files (openai#1048)
This pull request adds a new script for docs, which generates missing `ref/**/*.md` files. The script can be executed when you run `make build-docs` command. The script does not do: - overwrite the existing ones - create files for _XXX.py and `__init__.py` Note that the title part is generated like `tool_context` to `Tool Context`. `openai_provider` will be `Openai Provider`, so some of them needs a little manual work to adjust. The direct need is to add `tool_context.md` for openai#1043 but it should be useful for future maintenance.
Configuration menu - View commit details
-
Copy full SHA for c5d5010 - Browse repository at this point
Copy the full SHA c5d5010View commit details
Commits on Jul 22, 2025
-
Set up codex for issues and PRs (openai#1214)
Following this guide: https://github.com/openai/codex/tree/main/.github/actions/codex
Configuration menu - View commit details
-
Copy full SHA for 4d1ce04 - Browse repository at this point
Copy the full SHA 4d1ce04View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0b1cdf - Browse repository at this point
Copy the full SHA e0b1cdfView commit details -
Update codex action to use repo syntax (openai#1218)
Action isn't published yet, so gotta do this
Configuration menu - View commit details
-
Copy full SHA for f6a6c51 - Browse repository at this point
Copy the full SHA f6a6c51View commit details
Commits on Jul 23, 2025
-
Fixes two issues in the tracing documentation (openai#1212)
1. **Grammar fix**: Remove duplicate "can" in the sentence about configuring trace names 2. **Correct default value**: Update "Agent trace" to "Agent workflow" to match the actual default value in the codebase
Configuration menu - View commit details
-
Copy full SHA for 4350c34 - Browse repository at this point
Copy the full SHA 4350c34View commit details -
Update all translated document pages (openai#1221)
Automated update of translated documentation
Configuration menu - View commit details
-
Copy full SHA for b09d37d - Browse repository at this point
Copy the full SHA b09d37dView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 46101cb - Browse repository at this point
Copy the full SHA 46101cbView commit details
Commits on Jul 24, 2025
-
Configuration menu - View commit details
-
Copy full SHA for a16da90 - Browse repository at this point
Copy the full SHA a16da90View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 88818fd - Browse repository at this point
Copy the full SHA 88818fdView commit details
Commits on Jul 25, 2025
-
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
Configuration menu - View commit details
-
Copy full SHA for 44042e1 - Browse repository at this point
Copy the full SHA 44042e1View commit details -
[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>
Configuration menu - View commit details
-
Copy full SHA for d052c1f - Browse repository at this point
Copy the full SHA d052c1fView commit details -
Realtime: send audio item/content index (openai#1235)
Will need this for a followup. --- [//]: # (BEGIN SAPLING FOOTER) * openai#1243 * openai#1242 * __->__ openai#1235
Configuration menu - View commit details
-
Copy full SHA for 7b84678 - Browse repository at this point
Copy the full SHA 7b84678View commit details -
Fix openai#1227 Chat Completions model fails to handle streaming with…
… openai 1.97.1+ (openai#1246) This pull request resolves openai#1227
Configuration menu - View commit details
-
Copy full SHA for 00412a1 - Browse repository at this point
Copy the full SHA 00412a1View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 64b4a5f - Browse repository at this point
Copy the full SHA 64b4a5fView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 430dbaa - Browse repository at this point
Copy the full SHA 430dbaaView commit details
Commits on Jul 26, 2025
-
Update all translated document pages (openai#1251)
Automated update of translated documentation Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2c89461 - Browse repository at this point
Copy the full SHA 2c89461View commit details -
Fix type placeholder convention (openai#1259)
Updated the error message to replace the placeholder `your_type` with `YourType`, removing the underscore and adopting PascalCase, which aligns with standard Python type naming conventions.
Configuration menu - View commit details
-
Copy full SHA for 7e632c2 - Browse repository at this point
Copy the full SHA 7e632c2View 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