-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: livelock/openai-agents-python
base: main
head repository: openai/openai-agents-python
compare: main
- 9 commits
- 32 files changed
- 3 contributors
Commits on Jun 2, 2025
-
Fix openai#777 by handling MCPCall events in RunImpl (openai#799)
This pull request resolves openai#777; If you think we should introduce a new item type for MCP call output, please let me know. As other hosted tools use this event, I believe using the same should be good to go tho.
Configuration menu - View commit details
-
Copy full SHA for 3e7b286 - Browse repository at this point
Copy the full SHA 3e7b286View commit details -
Ensure item.model_dump only contains JSON serializable types (openai#801
Configuration menu - View commit details
-
Copy full SHA for 775d3e2 - Browse repository at this point
Copy the full SHA 775d3e2View commit details -
Don't cache agent tools during a run (openai#803)
### Summary: Towards openai#767. We were caching the list of tools for an agent, so if you did `agent.tools.append(...)` from a tool call, the next call to the model wouldn't include the new tool. THis is a bug. ### Test Plan: Unit tests. Note that now MCP tools are listed each time the agent runs (users can still cache the `list_tools` however).
Configuration menu - View commit details
-
Copy full SHA for d4c7a23 - Browse repository at this point
Copy the full SHA d4c7a23View commit details -
Only start tracing worker thread on first span/trace (openai#804)
Closes openai#796. Shouldn't start a busy waiting thread if there aren't any traces. Test plan ``` import threading assert threading.active_count() == 1 import agents assert threading.active_count() == 1 ```
Configuration menu - View commit details
-
Copy full SHA for 995af4d - Browse repository at this point
Copy the full SHA 995af4dView commit details
Commits on Jun 3, 2025
-
Add is_enabled to FunctionTool (openai#808)
### Summary: Allows a user to do `function_tool(is_enabled=<some_callable>)`; the callable is called when the agent runs. This allows you to dynamically enable/disable a tool based on the context/env. The meta-goal is to allow `Agent` to be effectively immutable. That enables some nice things down the line, and this allows you to dynamically modify the tools list without mutating the agent. ### Test Plan: Unit tests
Configuration menu - View commit details
-
Copy full SHA for 4046fcb - Browse repository at this point
Copy the full SHA 4046fcbView commit details
Commits on Jun 4, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 204bec1 - Browse repository at this point
Copy the full SHA 204bec1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a529e6 - Browse repository at this point
Copy the full SHA 4a529e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05db7a6 - Browse repository at this point
Copy the full SHA 05db7a6View commit details -
Add release documentation (openai#814)
## Summary - describe semantic versioning and release steps - add release page to documentation nav ## Testing - `make format` - `make lint` - `make mypy` - `make tests` - `make build-docs` ------ https://chatgpt.com/codex/tasks/task_i_68409d25afdc83218ad362d10c8a80a1
Configuration menu - View commit details
-
Copy full SHA for 5c7c678 - Browse repository at this point
Copy the full SHA 5c7c678View 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