Releases: openai/openai-agents-python
Releases · openai/openai-agents-python
v0.0.18
Key changes
- Added support for dynamic prompt templates via the OpenAI Prompts feature
- REPL support
- Bug fixes
What's Changed
- Add REPL run_demo_loop helper by @rm-openai in #811
- Crosslink to js/ts by @rm-openai in #815
- Add release documentation by @rm-openai in #814
- Fix handoff transfer message JSON by @jhills20 in #818
- docs: custom output extraction by @jleguina in #817
- Added support for passing tool_call_id via the RunContextWrapper by @niv-hertz in #766
- Allow arbitrary kwargs in model by @rm-openai in #842
- Fix function_schema name override bug by @rm-openai in #872
- adopted float instead of timedelta for timeout parameters by @DanieleMorotti in #874
- Prompts support by @rm-openai in #876
- v0.0.18 by @rm-openai in #878
New Contributors
- @jleguina made their first contribution in #817
- @niv-hertz made their first contribution in #766
Full Changelog: v0.0.17...v0.0.18
v0.0.17
What's Changed
- fix Gemini token validation issue with LiteLLM by @handrew in #735
- Fix visualization recursion with cycle detection by @rm-openai in #737
- Update MCP and tool docs by @rm-openai in #736
- Fix Gemini API content filter handling by @rm-openai in #746
- Add Portkey AI as a tracing provider by @siddharthsambharia-portkey in #785
- Added RunErrorDetails object for MaxTurnsExceeded exception by @DanieleMorotti in #743
- Fixed Python syntax by @sarmadgulzar in #665
- Small fix for litellm model by @robtinn in #789
- Fix typo in assertion message for handoff function by @Rehan-Ul-Haq in #780
- Fix typo: Replace 'two' with 'three' in /docs/mcp.md by @luochang212 in #757
- Update input_guardrails.py by @venkatnaveen7 in #774
- docs: fix typo in docstring for is_strict_json_schema method by @Rehan-Ul-Haq in #775
- Add comment to handoff_occured misspelling by @rm-openai in #792
- Fix #777 by handling MCPCall events in RunImpl by @seratch in #799
- Ensure item.model_dump only contains JSON serializable types by @westhood in #801
- Don't cache agent tools during a run by @rm-openai in #803
- Only start tracing worker thread on first span/trace by @rm-openai in #804
- Add is_enabled to FunctionTool by @rm-openai in #808
- v0.0.17 by @rm-openai in #809
New Contributors
- @siddharthsambharia-portkey made their first contribution in #785
- @sarmadgulzar made their first contribution in #665
- @robtinn made their first contribution in #789
- @Rehan-Ul-Haq made their first contribution in #780
- @luochang212 made their first contribution in #757
- @venkatnaveen7 made their first contribution in #774
- @westhood made their first contribution in #801
Full Changelog: v0.0.16...v0.0.17
v0.0.16
Biggest change is support for new hosted tools - remote MCP, code interpreter, image generator and local shell.
What's Changed
- Create AGENTS.md by @dkundel-openai in #707
- Added mcp 'instructions' attribute to the server by @DanieleMorotti in #706
- Add Galileo to external tracing processors list by @franz101 in #662
- DRAFT: Dev/add usage details to Usage class by @WJPBProjects in #726
- Upgrade openAI sdk version by @rm-openai in #730
- Hosted MCP support by @rm-openai in #731
- Add support for local shell, image generator, code interpreter tools by @rm-openai in #732
- v0.0.16 by @rm-openai in #733
New Contributors
- @franz101 made their first contribution in #662
- @WJPBProjects made their first contribution in #726
Full Changelog: v0.0.15...v0.0.16
v0.0.15
Main big change is support for Streamable HTTP in MCP servers.
What's Changed
- Fixed a bug for "detail" attribute in input image by @DanieleMorotti in #685
- feat: pass extra_body through to LiteLLM acompletion by @AshokSaravanan222 in #638
- Update search_agent.py by @leohpark in #677
- feat: Streamable HTTP support by @Akshit97 in #643
- v0.0.15 by @rm-openai in #701
New Contributors
- @AshokSaravanan222 made their first contribution in #638
- @leohpark made their first contribution in #677
- @Akshit97 made their first contribution in #643
Full Changelog: v0.0.14...v0.0.15
v0.0.14
What's Changed
- Add usage to context in streaming by @rm-openai in #595
- Make the TTS voices type exportable by @mangiucugna in #577
- docs: add FutureAGI to tracing documentation by @NVJKKartik in #592
- Update litellm version by @pakrym-oai in #626
- 0.0.14 release by @pakrym-oai in #635
New Contributors
- @mangiucugna made their first contribution in #577
- @NVJKKartik made their first contribution in #592
Full Changelog: v0.0.13...v0.0.14
v0.0.13
What's Changed
- Adding extra_headers parameters to ModelSettings by @jonnyk20 in #550
- Examples: Fix financial_research_agent instructions by @seratch in #573
- Allow cancel out of the streaming result by @handrew in #579
- Create to_json_dict for ModelSettings by @rm-openai in #582
- Prevent MCP ClientSession hang by @njbrake in #580
- Fix stream error using LiteLLM by @DanieleMorotti in #589
- More tests for cancelling streamed run by @rm-openai in #590
- v0.0.13 by @rm-openai in #593
New Contributors
- @jonnyk20 made their first contribution in #550
- @handrew made their first contribution in #579
- @njbrake made their first contribution in #580
Full Changelog: v0.0.12...v0.0.13
v0.0.12
Key changes:
- Use any model via litellm:
Agent(model="litellm/<provider>/<model_name>")
e.g.Agent(model="litellm/anthropic/claude-3-5-sonnet-20240620")
- Enable more complex output types on Agents
What's Changed
- Run CI on all commits, not just ones on main by @rm-openai in #521
- Extract chat completions conversion code into helper by @rm-openai in #522
- Extract chat completions streaming helpers by @rm-openai in #523
- Show repo name/data in docs by @rm-openai in #525
- Litellm integration by @rm-openai in #524
- Docs for LiteLLM integration by @rm-openai in #532
- Docs: Switch to o3 model; exclude translated pages from search by @seratch in #533
- Examples for image inputs by @rm-openai in #553
- Enable non-strict output types by @rm-openai in #539
- Start and finish streaming trace in impl metod by @rm-openai in #540
- Fix visualize graph filename to without extension. by @yuya-haruna in #554
- RFC: automatically use litellm if possible by @rm-openai in #534
- Docs and tests for litellm by @rm-openai in #561
- Pass through organization/project headers to tracing backend, fix speech_group enum by @stevenheidel in #562
- v0.0.12 by @rm-openai in #564
New Contributors
- @yuya-haruna made their first contribution in #554
Full Changelog: v0.0.11...v0.0.12
v0.0.11
What's Changed
- Examples and tests for previous_response_id by @rm-openai in #512
- Only include stream_options when streaming by @rm-openai in #519
- v0.0.11 by @rm-openai in #520
Full Changelog: v0.0.10...v0.0.11
v0.0.10
Key changes
- You can use
previous_response_id
from the OpenAI API: https://platform.openai.com/docs/api-reference/responses/create#responses-create-previous_response_id - You can set various extra settings in ModelSettings
What's Changed
- Add i18n support to the documents by @seratch in #460
- Update
computer-use
example to support simultaneous key presses by @KanchiShimono in #452 - docs: Make default model clear by @ftnext in #457
- examples(research_bot): Add space to INSTRUCTIONS by @ftnext in #439
- Adding scope and span_data doc strings by @dmitry-openai in #463
- add overwrite mechanism for stream_options by @Ddper in #465
- Improve translation pipeline details by @seratch in #475
- Add model_settings guide to models document page by @seratch in #484
- fix: ensure metadata is non-null in response handling by @LouisShark in #483
- Add extra request parameters
extra_query
andextra_body
by @DanieleMorotti in #500 - Fix typos and misspellings by @seratch in #486
- Add docs for customizng agent-as-tool by @rm-openai in #504
- Example for streaming guardrails by @rm-openai in #505
- Don't run tracing shutdown behavior if disabled by @rm-openai in #503
- Fix type annotations examples by @DanieleMorotti in #496
- Replace referencable_id with response_id by @rm-openai in #508
- Move dev-only deps to dev section by @rm-openai in #506
- Previous response id by @rm-openai in #509
- Evolve the doc translation workflow by using gpt-4.1 by @seratch in #507
- v0.0.10 by @rm-openai in #514
New Contributors
- @KanchiShimono made their first contribution in #452
- @ftnext made their first contribution in #457
- @LouisShark made their first contribution in #483
- @DanieleMorotti made their first contribution in #500
Full Changelog: v0.0.9...v0.0.10
v0.0.9
What's Changed
- add links and mcp + voice examples by @jhills20 in #438
- Ensure MCP works when inputSchema.properties is missing by @rm-openai in #454
- Don't send the "store" param unless its hitting OpenAI by @rm-openai in #455
- v0.0.9 by @rm-openai in #456
Full Changelog: v0.0.8...v0.0.9