chore(deps): bump openai-agents to 0.18.3 - #204
Open
mendral-app[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
from agents import ...still works)FunctionToolconstructor gains optional fields (timeout, guardrails, approval); existing kwargs still validToolContextis used as a type annotation in our callback — we don't construct it, so constructor changes don't affect usRunner.run()gains optional parameters; existing call signatures unchangedModelRefusalErrormay now be raised duringRunner.run()(previously returned empty output). This affects downstream users, not our SDK integration code.Packages bumped
Per-package details
openai-agents (>=0.0.19 → >=0.18.3)
ToolContextconstructor now requires more params (we don't construct it — framework injects it into callbacks).FunctionTooladds optionaltool_input_guardrails,needs_approval,timeout_secondsfields (all optional, backward-compatible).on_invoke_toolcallback can now return structured types (ToolOutputText, etc.) in addition to strings.ModelRefusalErrorraised instead of empty output on refusals.src/blaxel/openai/createsFunctionToolwithname,description,params_json_schema,on_invoke_tool— all still valid kwargs.ToolContextis type-annotated on the callback parameter, not constructed by us.Files modified
pyproject.tomlNote
Created by Mendral. Tag @mendral-app with feedback or questions.