Update dependency openai-agents to v0.9.0#347
Update dependency openai-agents to v0.9.0#347konflux-internal-p02[bot] wants to merge 1 commit intorhoai-3.4from
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: konflux-internal-p02[bot] The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @konflux-internal-p02[bot]. Thanks for your PR. I'm waiting for a red-hat-data-services member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
6cc8147 to
e350a91
Compare
e350a91 to
5580d80
Compare
5580d80 to
b38eadb
Compare
b38eadb to
042870c
Compare
042870c to
19d439e
Compare
Signed-off-by: konflux-internal-p02 <170854209+konflux-internal-p02[bot]@users.noreply.github.com>
19d439e to
7f55fcc
Compare
This PR contains the following updates:
==0.2.11->==0.9.0Release Notes
openai/openai-agents-python (openai-agents)
v0.9.0Compare Source
Key Changes
Python 3.9 is no longer supported
Since Python 3.9 is EOLed three months ago, this SDK no longer support the version. Please upgrade to Python 3.10 or newer.
Timeouts for function tools
Now you can pass the following options to customize function tool behavior:
Agent#as_tool()now returnsFunctionToolAdditionally, the type hint for the value returned from the
Agent#as_tool()method has been narrowed fromTooltoFunctionTool. This change should not usually cause breaking issues, but if your code relies on the broader union type, you may need to make some adjustments on your side.What's Changed
Documents & Other Changes
New Contributors
Full Changelog: openai/openai-agents-python@v0.8.4...v0.9.0
v0.8.4Compare Source
Key Changes
Hosted container tool + Skills
This release includes the hosted shell runtime tool along with its native skills support. Developers now can pass a container-based shell runtime with skills this way:
Refer to examples/tools/container_shell_inline_skill.py and examples/tools/container_shell_skill_reference.py for more details.
What's Changed
Documents & Other Changes
Full Changelog: openai/openai-agents-python@v0.8.3...v0.8.4
v0.8.3Compare Source
What's Changed
Documents & Other Changes
Full Changelog: openai/openai-agents-python@v0.8.2...v0.8.3
v0.8.2Compare Source
What's Changed
Documents & Other Changes
New Contributors
Full Changelog: openai/openai-agents-python@v0.8.1...v0.8.2
v0.8.1Compare Source
What's Changed
Documents & Other Changes
New Contributors
Full Changelog: openai/openai-agents-python@v0.8.0...v0.8.1
v0.8.0Compare Source
Key Changes
Human-in-the-Loop (HITL)
The human-in-the-loop (HITL) flow enables your agents to pause execution until a person approves or rejects sensitive tool calls. Tools declare when they need approval, run results surface pending approvals as interruptions, and
RunStatelets you serialize and resume runs after decisions are made.Refer to the document page and examples for more details.
Migration Guide
In this version, two runtime behavior changes may require migration work:
asyncio.to_thread(...)instead of running on the event loop thread. If your tool logic depends on thread-local state or thread-affine resources, migrate to an async tool implementation or make thread affinity explicit in your tool code.mcp_config={"failure_error_function": None}. Server-levelfailure_error_functionvalues override the agent-level setting, so setfailure_error_function=Noneon each local MCP server that has an explicit handler.What's Changed
Documents & Other Changes
New Contributors
Full Changelog: openai/openai-agents-python@v0.7.0...v0.8.0
v0.7.0Compare Source
Key Changes
Nested handoff behavior is now opt-in
The nested handoffs behavior were enabled by default in v0.6.0. Now, it is now disabled by default. To enable it again, you need to set the
nest_handoff_historyoption toTrue.MCPServerManager for multiple MCP server instances
Starting with this version, there is a new, convenient way to manage multiple MCP server instances. See #2350 and examples/mcp/manager_example.
Other key changes
session_input_callbackused to be required to be provided. Now, it is optional and the default behavior is to append the new input to the session history.What's Changed
Documents & Other Changes
f5c0ca7to0861694by @dependabot[bot] in #2340e58605atod4b2f3bby @dependabot[bot] in #2342New Contributors
Full Changelog: openai/openai-agents-python@v0.6.9...v0.7.0
v0.6.9Compare Source
What's Changed
Full Changelog: openai/openai-agents-python@v0.6.8...v0.6.9
v0.6.8Compare Source
What's Changed
Documents & Others
New Contributors
Full Changelog: openai/openai-agents-python@v0.6.7...v0.6.8
v0.6.7Compare Source
What's Changed
Experimental: Codex Tool Support
Starting with this version, we have added a new experimental Codex extension (
agents.extensions.experimental.codex). This extension allows you to use Codex as a tool within your agents. Since this module is still experimental, its behavior and implementation details may change in future releases.If you run an agent with
codex_tool()on a host where Codex is installed, the agent will use Codex as a tool to answer the question. The tool simply runs the Codex CLI as a subprocess, so all existing Codex configuration, skills, and capabilities are available without any additional setup.See the example code and #2320 for more details.
Documents & Others
Full Changelog: openai/openai-agents-python@v0.6.6...v0.6.7
v0.6.6Compare Source
What's Changed
Documents & Others
New Contributors
Full Changelog: openai/openai-agents-python@v0.6.5...v0.6.6
v0.6.5Compare Source
What's Changed
Documents
forloop by @aniketmaurya in #2209New Contributors
Full Changelog: openai/openai-agents-python@v0.6.4...v0.6.5
v0.6.4Compare Source
What's Changed
Documents
examples/basic/stream_items.pyby @habema in #2174New Contributors
Full Changelog: openai/openai-agents-python@v0.6.3...v0.6.4
v0.6.3Compare Source
What's Changed
New Contributors
Full Changelog: openai/openai-agents-python@v0.6.2...v0.6.3
v0.6.2Compare Source
What's Changed
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
To execute skipped test pipelines write comment
/ok-to-test.Documentation
Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.