Skip to content

Releases: openai/openai-agents-python

v0.2.6

11 Aug 18:51
417c19b
Compare
Choose a tag to compare

What's Changed

  • feat: support agent output guardrails in realtime by @jhills20 in #1381
  • Enhanced FAQ lookup tool in examples/customer_service app by @HasnainCodeHub in #1063
  • Improve accuracy of guardrails and lifecycle hook descriptions by @DanielHashmi in #1386
  • Update all translated document pages by @github-actions[bot] in #1413
  • Add logprobs to ModelSettings by @zain in #971
  • Add streaming function call arguments example by @devtalker in #1052
  • Updated the default values for two parameters in the ModelSettings class to align with their documented behavior: by @rudra-attri in #1392
  • chore(deps): Bump "openai>=1.99.6,<2" by @seratch in #1415
  • v0.2.6 by @rm-openai in #1423

New Contributors

Full Changelog: v0.2.5...v0.2.6

v0.2.5

07 Aug 21:04
5539afc
Compare
Choose a tag to compare

What's Changed

  • Fix tag errors in sessions document page by @seratch in #1307
  • Update all translated document pages by @github-actions[bot] in #1308
  • Add temporal demo to docs by @rm-openai in #1310
  • Fix #1238 by enhancing HandoffInputData and enable passing async functions by @seratch in #1302
  • Add support to realtime API for setting "speed" of the models responses by @sect2k in #1309
  • Update all translated document pages by @github-actions[bot] in #1313
  • Examples: use agent to interact with Remote PDF Documents by @princeaden1 in #1319
  • Enhance exception guide in docs by @MuhammadHamidRaza in #1321
  • Update all translated document pages by @github-actions[bot] in #1322
  • Realtime: make example customizable: by @rm-openai in #1332
  • Export MultiProvider in public API (Fix #1325) by @kobol in #1326
  • Add tracing guide for non-OpenAI LLMs in docs/tracing.md by @UmmeHabiba1312 in #1329
  • Update all translated document pages by @github-actions[bot] in #1336
  • docs: Clarify and enhance run_demo_loop utility documentation for beginners by @UmmeHabiba1312 in #1330
  • Fix set_api_key breaking cached property mechanism by @DanielHashmi in #1339
  • Update all translated document pages by @github-actions[bot] in #1341
  • Handle processor exceptions and fix tracing log formatting by @mshsheikh in #1292
  • Fix(mcp): Unreachable structured content branch in invoke_mcp_tool by @Kunmeer-SyedMohamedHyder in #1250
  • Feat: separate tool_call_item and tool_call_output_item in stream events by @gdisk in #974
  • Clarify shallow-copy behavior of tools and handoffs in Agent.clone() by @abdul-kabir-jawed in #1296
  • Fix #1277 missing StopAtTools and ToolsToFinalOutputFunction in agents module by @seratch in #1278
  • Fix #980 Chat Completions: fails with function name for tool_choice parameter w/ streaming enabled by @seratch in #1206
  • Fix type annotation and clarify tool behavior docs by @mshsheikh in #1355
  • Fix style and wording issues in handoffs.py by @mshsheikh in #1356
  • Fix docstring formatting and add safe check for empty message content by @mshsheikh in #1360
  • Add functionality to update agent during realtime session by @marysha-openai in #1366
  • feat(viz): draw MCP servers by @aaron-ang in #1368
  • Update all translated document pages by @github-actions[bot] in #1369
  • Realtime: fix interrupt logic by @rm-openai in #1370
  • Realtime: send session update before tool response by @rm-openai in #1388
  • v0.2.5 by @rm-openai in #1398

New Contributors

Full Changelog: v0.2.4...v0.2.5

v0.2.4

29 Jul 21:38
7cc0c31
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.3...v0.2.4

v0.2.3

21 Jul 19:33
68b0ef1
Compare
Choose a tag to compare

What's Changed

  • [realtime] Add direct access to model layer from session by @rm-openai in #1172
  • Update all translated document pages by @github-actions[bot] in #1173
  • Fix spelling, grammar, and minor formatting issues in running agents documentation by @mshsheikh in #1128
  • fix: ensure ResponseUsage token fields are int, not None (fixes #1179) by @kobol in #1181
  • Add missing guardrail exception import to quickstart by @slubbers-openai in #1161
  • fix: fallback to function name for unnamed output_guardrail decorators by @romankhan26 in #1133
  • Mark some dataclasses as pydantic dataclasses by @tconley1428 in #1131
  • fix: Apply strict JSON schema validation in FunctionTool constructor by @habema in #1041
  • Fix image_generator example error on Windows OS by @seratch in #1180
  • Update all translated document pages by @github-actions[bot] in #1184
  • Realtime: add user agent header by @rm-openai in #1185
  • Realtime: make sure we use the initial model settings by @rm-openai in #1198
  • v0.2.3 by @rm-openai in #1201

New Contributors

Full Changelog: v0.2.2...v0.2.3

v0.2.2

17 Jul 17:30
362144e
Compare
Choose a tag to compare

What's Changed

  • Add a new GH Actions job to automatically update translated document pagse by @seratch in #598
  • Adjust #598 to only create a PR rather than pushing changes to main branch by @seratch in #1162
  • Realtime: only update model settings from session by @rm-openai in #1169
  • v0.2.2 by @rm-openai in #1170

Full Changelog: v0.2.1...v0.2.2

v0.2.1

16 Jul 19:58
aeb4381
Compare
Choose a tag to compare

Key changes

  1. Realtime agents are now available. Note that this is in Beta and may have bugs, please report them!
  2. Support for structuredContent in MCP tool results.

What's Changed

Full Changelog: v0.2.0...v0.2.1

v0.2.0

15 Jul 15:49
8fdbe09
Compare
Choose a tag to compare

Please note that this version includes a small breaking change (breaks Agent into AgentBase + Agent), hence the minor version bump. See https://openai.github.io/openai-agents-python/release/ for the breaking change changelog.

Key changes include:

  1. Support for Sessions, a way to manage conversation sessions.
  2. Beta support for Realtime agents (likely buggy, and we are evolving/fixing it as we speak)

What's Changed

New Contributors

Full Changelog: v0.1.0...v0.2.0

v0.1.0

27 Jun 20:57
18cb55e
Compare
Choose a tag to compare

Please note that this version includes a small breaking change to MCP servers, hence the minor version bump. See https://openai.github.io/openai-agents-python/release/ for the breaking change changelog.

What's Changed

New Contributors

Full Changelog: v0.0.19...v0.1.0

v0.0.19

18 Jun 00:48
91c62c1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.18...v0.0.19

v0.0.18

16 Jun 19:50
901d2ac
Compare
Choose a tag to compare

Key changes

  1. Added support for dynamic prompt templates via the OpenAI Prompts feature
  2. REPL support
  3. Bug fixes

What's Changed

New Contributors

Full Changelog: v0.0.17...v0.0.18