Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
447 commits
Select commit Hold shift + click to select a range
9fe9a5e
Improve accuracy of guardrails and lifecycle hook descriptions (#1386)
DanielHashmi Aug 11, 2025
0df7903
Update all translated document pages (#1413)
github-actions[bot] Aug 11, 2025
5b758bd
Add logprobs to ModelSettings (#971)
zain Aug 11, 2025
cb0125c
Add streaming function call arguments example (#1052)
devtalker Aug 11, 2025
975cdec
Updated the default values for two parameters in the ModelSettings cl…
rudra-attri Aug 11, 2025
eb5483b
chore(deps): Bump "openai>=1.99.6,<2" (#1415)
seratch Aug 11, 2025
417c19b
v0.2.6 (#1423)
rm-openai Aug 11, 2025
f5fcd30
Added runtime validation for Agent constructor arguments (#998)
DanielHashmi Aug 11, 2025
ce67311
Realtime: add handoff prompt prefix (#1382)
rm-openai Aug 11, 2025
bad88e7
feat(tests): add tests for unicode content, special characters, and c…
PatrykBochenek Aug 11, 2025
534e2d5
Fix: enforce strict instructions function signature in get_system_pro…
abdullahimran49 Aug 13, 2025
e3b4856
Fix #1407 Add reasoning.effort="minimal" and "verbosity" params to Mo…
seratch Aug 13, 2025
4c436b7
Add a simple gpt-oss example (#1440)
seratch Aug 14, 2025
e4699c3
Fix: Clarify random_number function docstring for inclusive range (#1…
Abbas-Asad Aug 14, 2025
65cb91c
Add input validation and type conversion for user input (#1462)
Abbas-Asad Aug 14, 2025
e976aff
docs: Add a comprehensive example for handling function tool errors. …
MurtazaAliCode Aug 14, 2025
42a98f5
Update all translated document pages (#1469)
github-actions[bot] Aug 14, 2025
aea05a6
Migrate document translation script to gpt-5 (#1470)
seratch Aug 14, 2025
ab3b85f
Change reasoning effort for the translation script
seratch Aug 14, 2025
043b3d6
Update all translated document pages (#1471)
github-actions[bot] Aug 14, 2025
184eafc
docs: Clarify the `is_enabled` parameter in `handoff()` documentation…
Hafiz-Muhammad-Umar12 Aug 14, 2025
a9b8ab3
Update all translated document pages (#1473)
github-actions[bot] Aug 14, 2025
c436389
Realtime: one guardrail trip event per response (#1458)
rm-openai Aug 14, 2025
a17625e
v0.2.7 (#1480)
rm-openai Aug 14, 2025
cec3a9a
Fix: Clarify random_number function docstring for inclusive range (#1…
Abbas-Asad Aug 14, 2025
4b229d1
Add input validation and type conversion for user input (#1476)
Abbas-Asad Aug 14, 2025
a6378ce
Docs: Add missing docstring to get_weather function (#1478)
Abbas-Asad Aug 14, 2025
7560cab
Docs: Clarify that guardrails apply to both user input and agent outp…
Abbas-Asad Aug 14, 2025
90a57d0
Docs: Add missing docstring to how_many_jokes tool (#1479)
Abbas-Asad Aug 14, 2025
ee12d42
Update all translated document pages (#1484)
github-actions[bot] Aug 14, 2025
c913454
Allow modifying the input sent to the model (#1483)
rm-openai Aug 15, 2025
07345d0
Make shallow copies of lists instead of deep copies (#1490)
rm-openai Aug 15, 2025
fcb9b50
Realtime: fix history bug (#1495)
rm-openai Aug 15, 2025
992faf7
Realtime: allow arbitrarily sized messages (#1500)
rm-openai Aug 15, 2025
d36beae
0.2.8 (#1501)
rm-openai Aug 15, 2025
16f0f58
Fix #1494 by adding a link to Responses API documentation (#1502)
seratch Aug 15, 2025
107ef04
Add conditional tool enabling feature to agent as tool. (#1193)
thoo Aug 15, 2025
857c70e
Update all translated document pages (#1503)
github-actions[bot] Aug 15, 2025
cb72933
Rename gpt-5 example file for consistency
seratch Aug 16, 2025
a3128ce
feat(agents): Add on_llm_start and on_llm_end Lifecycle Hooks (#987)
uzair330 Aug 16, 2025
31bd3ac
clarify docs for `tool_use_behavior` and simplify description of `sto…
Abishai-kashif Aug 18, 2025
a4f7204
Fix a bug where Chat Completions model does not accept required "file…
Nifury Aug 18, 2025
762447a
Add local_file example to align with TS SDK repo (#1514)
seratch Aug 18, 2025
7222a84
Imrpove "Getting Started" on README (#1516)
seratch Aug 18, 2025
ebc5443
Add documentation for token usage tracking (#1518)
habema Aug 19, 2025
594efb0
Update all translated document pages (#1524)
github-actions[bot] Aug 19, 2025
f903ad0
Add context parameter to run_demo_loop (#1527)
SeeYangZhi Aug 19, 2025
af2fb63
docs(visualization): clarify MCP server support and update screenshot…
Subhi-Sadiyev Aug 19, 2025
df95141
Update all translated document pages (#1532)
github-actions[bot] Aug 19, 2025
d4e1b60
Update tracing.md with Agenta (#1541)
mmabrouk Aug 20, 2025
8e0366b
Update all translated document pages (#1543)
github-actions[bot] Aug 20, 2025
2b8c408
docs: Add external documentation link to LocalShellTool docstring (#1…
MuhammadHamidRaza Aug 21, 2025
dcf9cf7
Add SQLAlchemy session backend for conversation history management (#…
habema Aug 21, 2025
2c5041d
feat: add retry logic to MCP server operations (#1554)
rm-openai Aug 21, 2025
cca93a0
Realtime: input timeout trigger event (#1552)
rm-openai Aug 21, 2025
71be678
Add a quick opt-in option to switch to gpt-5 model (#1534)
seratch Aug 21, 2025
36fa8f3
v0.2.9 (#1555)
rm-openai Aug 22, 2025
0a24671
Performance: only create the OpenAIRealtimeServerEvent TypeAdapter on…
michieldwitte Aug 22, 2025
e382ec0
Realtime: fix typecheck error (#1558)
rm-openai Aug 22, 2025
097b12f
Docs: Add SQLAlchemy-powered sessions (#1549)
habema Aug 23, 2025
0ab3765
Update all translated document pages (#1561)
github-actions[bot] Aug 23, 2025
11b1c1e
Add tests for Agent default model settings when using GPT-5 (#1562)
seratch Aug 23, 2025
ff6d55f
Re: #1534 Update models document page to cover gpt-5 use cases (#1535)
seratch Aug 23, 2025
714ee0d
Update all translated document pages (#1563)
github-actions[bot] Aug 23, 2025
e4b3150
Docs: Improvements for SQLAlchemy Sessions (#1576)
habema Aug 24, 2025
7dda9d8
Update all translated document pages (#1577)
github-actions[bot] Aug 24, 2025
e8d311b
Fix: Emit tool_called events immediately in streaming runs (#1300)
habema Aug 25, 2025
86e26e9
Feature: Make trace_include_sensitive_data configurable via environme…
Kunmeer-SyedMohamedHyder Aug 26, 2025
646c618
Docs: Improve example for custom Session class implementation. (#1582)
luke-wriglesworth Aug 26, 2025
6502a4c
Update all translated document pages (#1589)
github-actions[bot] Aug 26, 2025
0bcf198
Remove CI job we no longer actively use (#1590)
seratch Aug 26, 2025
a81601a
Upgrade underlying oepnai package to the latest version (#1599)
seratch Aug 28, 2025
b5bf795
Fix #1585 supporting connectors (#1600)
seratch Aug 28, 2025
711a2e7
Fix #1592 Web search tool updates (#1601)
seratch Aug 28, 2025
3b36fd9
Handle LiteLLM's json_tool_call addition for structured outputs (#1602)
seratch Aug 29, 2025
d7eeaf2
Add reasoning text delta event support for gpt-oss models (#1586)
seratch Aug 29, 2025
164acb5
Fix #1564 Add conversations API support (#1587)
seratch Aug 29, 2025
6e154ba
fix: copy extra_kwargs to prevent litellm from polluting metadata (#1…
zhowzeng Aug 29, 2025
de9d1fd
v0.2.10 (#1607)
rm-openai Aug 29, 2025
5f560be
docs: Fix #1625 code snippet error
aiwithwhitehat Sep 1, 2025
cb31677
Update all translated document pages (#1627)
github-actions[bot] Sep 1, 2025
89dc1fb
docs: wiht -> with (#1624)
MuhammedSuhaib Sep 1, 2025
5de3b58
Update all translated document pages (#1628)
github-actions[bot] Sep 1, 2025
6904dcb
fix(run): fire on_llm_start / on_llm_end in Runner.run() for streamin…
erikanstine Sep 2, 2025
a9bdf8e
Fix #1629 Empty tool call arguments in streaming events (#1636)
habema Sep 2, 2025
f76bf33
Docs: Fix confusing session usage docs (#1637)
habema Sep 2, 2025
9e01cf7
Update all translated document pages (#1643)
github-actions[bot] Sep 2, 2025
824a431
fix: #1594 support Azure OpenAI Realtime connection using headers (#1…
seratch Sep 3, 2025
8a73b69
fix: Fix #1640 openai package breaking changes (#1641)
seratch Sep 3, 2025
184757b
Fix an error with make mypy on local machine (#1642)
seratch Sep 3, 2025
244ce39
Improve translation prompt guidance (#1647)
seratch Sep 3, 2025
6df6fe1
Update all translated document pages (#1648)
github-actions[bot] Sep 3, 2025
053dbc4
Document OpenAI Conversations session option (#1649)
seratch Sep 3, 2025
b302974
docs: Add more clarity on multi-agent design patterns (#1650)
seratch Sep 3, 2025
9ad148b
Update all translated document pages (#1654)
github-actions[bot] Sep 3, 2025
f612516
v0.2.11 (#1655)
rm-openai Sep 3, 2025
0a7bb1b
Use head commit in docs workflow PR body (#1657)
seratch Sep 3, 2025
d6f385c
Code snippet error in "Running Agents" document (#1665)
iliailmer Sep 5, 2025
50a909a
Update all translated document pages (#1667)
github-actions[bot] Sep 5, 2025
329806a
fix(voice/stt): accept conversation.item.input_audio_transcription.co…
dudududukim Sep 8, 2025
83bb4d8
Fix instructions not being applied (#1688)
michieldwitte Sep 8, 2025
dd0b65c
Fix a bug where the default behavior of loading the debug flag differ…
seratch Sep 8, 2025
50d0ffe
fix: #1661 Preserve realtime session voice settings when updating age…
seratch Sep 8, 2025
29d274d
Update MCP server tool documentation to cover all available options (…
seratch Sep 8, 2025
5ef3020
Fix a minor bug in #1601 (#1669)
seratch Sep 8, 2025
9e4f992
Update all translated document pages (#1691)
github-actions[bot] Sep 8, 2025
b6bec02
docs: fix typo in connectors.py (#1693)
hxreborn Sep 8, 2025
f37f70b
docs: #1686 update the document to mention the end of voice stream (#…
majklost Sep 8, 2025
9ad2949
Save session on turn rather than at final response (#1550)
spokeydokeys Sep 9, 2025
5a9cab8
Prevent preamble messages from being treated as final output when too…
ihower Sep 9, 2025
2395b68
Delete an unused local var (I forgot deleting in #1587) (#1696)
seratch Sep 9, 2025
3556d7b
Fix session history duplication after PR #1550 (#1700)
habema Sep 9, 2025
daa9695
Fix CI failure in `make old_version_tests` (#1710)
habema Sep 10, 2025
6e50100
Allow to pass both session and input list (#1298)
DanieleMorotti Sep 11, 2025
f3339f0
Update Realtime Agent documents (ref #1646) (#1695)
seratch Sep 11, 2025
9168348
feat: #1614 gpt-realtime migration (Realtime API GA) (#1646)
seratch Sep 11, 2025
625083a
Fix a bug where debug logging fails with Iterable objects (#1683)
seratch Sep 11, 2025
e291b10
v0.3.0 (#1717)
rm-openai Sep 11, 2025
796aa2d
Update realtime agent guide document page
seratch Sep 12, 2025
ee39190
Fix doc translation GH Actions job failures
seratch Sep 12, 2025
cf11d33
Update all translated document pages (#1720)
github-actions[bot] Sep 12, 2025
7c497c9
Fix missing imports in MCP documentation examples (#1718)
MariumAfzal2703 Sep 12, 2025
5e6269c
Update all translated document pages (#1721)
github-actions[bot] Sep 12, 2025
789575f
fix(streaming): #1712 push processed_response.new_items (including Ha…
Wujiaxuan007 Sep 12, 2025
581111c
fix: #1704 Preserve thinking blocks in Anthropic conversations with t…
habema Sep 12, 2025
efa88f7
Wait for input guardrails in streaming runs (#1730)
rm-openai Sep 12, 2025
c583dfc
docs: add docstring for parameter session in run, run_sync and run_st…
LokinDev Sep 15, 2025
d146551
docs: #1722 LiteLLM usage tracking (#1743)
seratch Sep 15, 2025
4901770
Update all translated document pages (#1747)
github-actions[bot] Sep 15, 2025
31ed091
docs: Fix tracing setup documentation (#1734)
abdul-kabir-jawed Sep 15, 2025
456d284
Fixed Race Condition in RunResultStreaming.stream_events() Method (#1…
AnkanMisra Sep 16, 2025
605611c
feat: Support Anthropic extended thinking and interleaved thinking (#…
serialx Sep 16, 2025
aeaf83f
feat(realtime): #1560 add input audio noise reduction (#1749)
sbera77 Sep 16, 2025
ee751cb
feat(voice)!: migrate STT streaming to match GA Realtime API (#1759)
sbera77 Sep 17, 2025
85d7d5d
Add encryption support using cryptography to Sessions implementation …
maxmekiska Sep 17, 2025
bc949c3
docs: reformat run module docstrings to Google style for better mkdoc…
MuhammedSuhaib Sep 17, 2025
76d637d
fixl: #1668 Handoffs with gpt-5* model + store=False + remove_all_too…
ihower Sep 17, 2025
e486b3a
Add warning for agent names that transform into conflicting function …
ihower Sep 17, 2025
aed6359
feat: #1731 Enable developers to use Annotated types for function too…
seratch Sep 17, 2025
827af41
feat: add more options to Agent#as_tool function (#1751)
seratch Sep 17, 2025
10ceb8b
Export `user_agent_override` contextmanager (#1768)
jiwon-oai Sep 18, 2025
a4c125e
v0.3.1 (#1773)
rm-openai Sep 18, 2025
7a4a22f
fix #1750 better error message when passing AgentHooks to Runner (#1752)
seratch Sep 19, 2025
566b188
Enhance function tool schemas with Annotated types (#1777)
MuhammadHassaanArain Sep 22, 2025
e47b47a
fix(chatcmpl): preserve all LiteLLM thinking-block signatures in conv…
serialx Sep 22, 2025
d91e39c
Update dynamic_system_prompt.py example to use dataclass for simiplic…
SheikhMuhammadHamza-HS Sep 22, 2025
a425859
fix(chatcmpl): preserve text content when adding Anthropic thinking b…
serialx Sep 22, 2025
4007cba
fix: #556 add llms.txt / llms-full.txt (#1782)
seratch Sep 22, 2025
5e1db14
Add tool call arguments in ToolContext for RunHooks (#1765)
ihower Sep 22, 2025
4c4b7c2
Allow headers override instead of just ua (#1787)
jiwon-oai Sep 23, 2025
e87552a
v0.3.2 (#1793)
rm-openai Sep 23, 2025
4f54878
Feat: Add AdvancedSQLiteSession with conversation branching & usage t…
habema Sep 24, 2025
46d0d2f
Fix extended thinking bug by reordering tool messages (#1798)
habema Sep 24, 2025
503a6ea
feat: add Redis session support for scalable distributed memory (#1785)
damianoneill Sep 25, 2025
7b2ba37
Update issues.yml
seratch Sep 26, 2025
ac64c02
Add agent hooks to lifecycle_example (#1809)
seratch Sep 26, 2025
c2ee7c8
Update models in docs (#1810)
seratch Sep 26, 2025
8994c78
Update all translated document pages (#1811)
github-actions[bot] Sep 26, 2025
e1076f5
Fix code snippet error in MCP docs (#1812)
seratch Sep 26, 2025
c02d863
Update all translated document pages (#1813)
github-actions[bot] Sep 26, 2025
22a63aa
Adding tool input and output guardrails (#1792)
steven10a Sep 26, 2025
6fc618e
Korean translation (#1816)
tylerryu-oai Sep 26, 2025
57a39ae
Update all translated document pages (#1818)
github-actions[bot] Sep 26, 2025
f80772f
docs: update examples.md to match current examples directory structur…
AbdulSamad94 Sep 27, 2025
c76fc26
Update all translated document pages (#1820)
github-actions[bot] Sep 27, 2025
a5fc259
Add guidelines for translation script contributors (#1821)
seratch Sep 27, 2025
d186ded
Add missing parens in docs links (#1825)
tcbegley Sep 28, 2025
14d7d59
Update all translated document pages (#1826)
github-actions[bot] Sep 28, 2025
7e007a1
docs: fix link errors in sessions document page (#1835)
seratch Sep 30, 2025
85d119b
Update all translated document pages (#1836)
github-actions[bot] Sep 30, 2025
2c1e35a
fix: #1834 minor error in docstring (#1837)
seratch Sep 30, 2025
a450c21
v0.3.3 (#1838)
rm-openai Sep 30, 2025
02ebf0e
fix: making input_file's filename optional in code for supporting non…
ant31 Oct 1, 2025
6816cc7
feat: #1829 add httpx_client_factory to MCPServerStreamableHttp initi…
jjcampana Oct 1, 2025
d86886c
fix: #1789 Fix multi-turn handling for conversation_id and previous_r…
ihower Oct 1, 2025
f3cac17
Update all translated document pages (#1842)
github-actions[bot] Oct 1, 2025
d7de470
docs: improve formatting consistency in tools documentation (#1856)
AbdulSamad94 Oct 5, 2025
095496e
Update all translated document pages (#1858)
github-actions[bot] Oct 5, 2025
bca9737
docs: add documentation for extension feature EncryptedSession (#1872)
maxmekiska Oct 8, 2025
0442b82
Update all translated document pages (#1873)
github-actions[bot] Oct 8, 2025
9078e29
Fix: Correct streaming order for ReasoningItem and RawResponsesStream…
ihower Oct 8, 2025
0f9c9e3
fix: #1860 adjust realtime handoff import (#1861)
mcbortolozzo Oct 10, 2025
9407743
Migrate openai from 1.x to 2.2.0 (#1874)
seratch Oct 11, 2025
559a832
fix: #1840 roll back session changes when Guardrail tripwire is trigg…
seratch Oct 14, 2025
2efaf4a
docs: Add Chinese translation for documents (#1878)
SepineTam Oct 14, 2025
1f705d5
docs: add ToolContext section for advanced tool metadata (#1868)
MuhammadSaqib786 Oct 14, 2025
1b49f0e
Fix: Exclude unset fields in OpenAIConversationsSession.get_items() (…
ihower Oct 14, 2025
c96a40a
Update all translated document pages (#1891)
github-actions[bot] Oct 14, 2025
33f3401
Feat: Expose MCP message handler configuration (#1795)
freeznet Oct 14, 2025
f7711af
fix: handle omit type in `_remove_not_given()` for litellm model (#1893)
HareeshBahuleyan Oct 14, 2025
75fd791
fix: convert oneOf to anyOf in strict schema for OpenAI compatibility…
ruskaruma Oct 15, 2025
cfddc7c
Fix Local shell tool: return tool output to the LLM (#1855)
ihower Oct 15, 2025
680554c
Image, file output types for functions (#1898)
rm-openai Oct 16, 2025
d9a4144
Update all translated document pages (#1910)
github-actions[bot] Oct 17, 2025
3b7aed7
Add graceful cancel mode for streaming runs (#1896)
habema Oct 17, 2025
2ccdbdf
Document `AdvancedSQLiteSession` and refactor session docs (#1791)
habema Oct 17, 2025
1a54ce7
Update all translated document pages (#1913)
github-actions[bot] Oct 17, 2025
d9f1d5f
Fixes realtime example app stability issues (#1905)
thli-openai Oct 17, 2025
630cd37
fix: #1900 fix a bug where SQLAlchemySession could return items in an…
seratch Oct 17, 2025
886b9fc
fix: #1916 openai_chatcompletions.Converter.extract_all_content does …
seratch Oct 17, 2025
da32045
v0.4.0 (#1919)
seratch Oct 17, 2025
f78d0b5
Add breaking change notes in docs (#1894)
seratch Oct 17, 2025
748ac80
Update all translated document pages (#1922)
github-actions[bot] Oct 17, 2025
368734f
docs: add missing items in side navi bar (ja, zh) (#1932)
seratch Oct 19, 2025
8dfac2a
Update all translated document pages (#1933)
github-actions[bot] Oct 19, 2025
cf1b933
Fix: call `_fix_tool_message_ordering` for all Anthropic models (#1936)
habema Oct 20, 2025
53ec9d5
make format on main branch returns diff on some files (#1947)
filintod Oct 21, 2025
00ec712
fix: prevent ValueError when audio buffer is empty in STT (fixes #821…
gn00295120 Oct 21, 2025
2630489
fix: add missing mcp_approval_response event name (fixes #1020) (#1931)
gn00295120 Oct 21, 2025
d1abf43
fix: Remove trailing commas causing tuple assignment in response canc…
gn00295120 Oct 21, 2025
e47a14f
fix: await cancelled websocket task to prevent resource leak (#1955)
gn00295120 Oct 21, 2025
9db9c01
fix: prevent race condition in listener iteration (#1956)
gn00295120 Oct 21, 2025
c422030
Tweak CI test job settings (#1962)
seratch Oct 21, 2025
1240562
Remove unused ui.py example file (#1967)
ihower Oct 21, 2025
bacc65b
fix: #1907 guardrails w/ turn_detection.interrupt_response: true (#1968)
seratch Oct 21, 2025
04eec50
Fix #1846 Litellm: fails with function name for tool_choice parameter…
ihower Oct 21, 2025
59a8b0f
Fix streaming trace end before guardrails complete (#1921)
zbirenbaum Oct 21, 2025
648d14d
Add engine accessor to SQLAlchemySession for closing it when it's cre…
gn00295120 Oct 21, 2025
351104f
Make Tool Output dict conversion stricter to improve backward compati…
ihower Oct 22, 2025
fdcf6d3
v0.4.1 (#1963)
seratch Oct 22, 2025
e1f2675
Add a link to PyPI project URL on README.md
seratch Oct 22, 2025
03dca68
make format
seratch Oct 22, 2025
986eb7d
fix: #1764 enable developers to pass custom reasoning effort for Lite…
seratch Oct 22, 2025
4bc33e3
ci: make format required (devs should run `make format` before commit…
filintod Oct 22, 2025
a714cf4
Fix: Add empty checks for reasoning content arrays in stream handler …
gn00295120 Oct 23, 2025
8c4d4d0
fix: #1942 Enable async tool calling in Realtime sessions (#1984)
seratch Oct 23, 2025
59c3522
Fix #1559: Handle empty choices array in LiteLLM model (same as PR #9…
gn00295120 Oct 24, 2025
a30c32e
v0.4.2 (#1988)
seratch Oct 24, 2025
8f4c2cd
docs: #1999 adjust the realtime module code comment (#2000)
seratch Oct 28, 2025
4ba2e8a
docs: improve typing in lifecycle hook example code (#2002)
seratch Oct 28, 2025
1466ddb
Add Python 3.14 to the supported versions (#1961)
seratch Oct 29, 2025
be94419
feat: #1760 Add SIP support for realtime agent runner (#1993)
seratch Oct 29, 2025
f91b38f
fix: improve run_sync's python 3.14 compatibility (#2006)
seratch Oct 29, 2025
3b9368d
feat: #1994 Add a list of per-request usage data to Usage (#1995)
habema Oct 31, 2025
0c4f2b9
fix: use ResponseOutputRefusal for refusal content part added event (…
mshsheikh Oct 31, 2025
d659a73
docs: clarify on_tool_start and on_tool_end hooks for local tools onl…
ihower Nov 4, 2025
10514ca
fix: #2038 openai==2.7.0 compatibility (#2039)
seratch Nov 5, 2025
15ad038
fix(usage): Normalize None token details on Usage initialization (#2034)
codefromthecrypt Nov 5, 2025
465b45e
fix(realtime): include tool arguments in RealtimeToolStart/RealtimeTo…
ruskaruma Nov 5, 2025
763048f
Add Dapr session storage option (#1937)
filintod Nov 5, 2025
92fcf51
v0.5.0 (#2015)
seratch Nov 5, 2025
69c3357
Docs: Add per-request usage to docs and example script (#2026)
habema Nov 5, 2025
d515133
docs: Update document pages for v0.5.0 release (#2019)
seratch Nov 5, 2025
aa524e9
Update all translated document pages (#2044)
github-actions[bot] Nov 5, 2025
73e7843
Fix Anthropic model used in LiteLLM example (#2047)
amri369 Nov 6, 2025
3ac64f7
fix: #2073 Improve type hinting in memory extension modules (#2077)
habema Nov 13, 2025
767cc00
Add new tools for gpt-5.1 (#2079)
dkundel-openai Nov 13, 2025
6a5d9ce
v0.5.1 (#2080)
rm-openai Nov 13, 2025
2c0f7c2
fix(twilio): add configurable startup delay to avoid initial audio ji…
Shraman123 Nov 14, 2025
05dc79d
fix: #2081 Redis SSL Connection Error with redis-py v7 (#2082)
yju0808 Nov 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/workflows/issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ jobs:
days-before-issue-stale: 7
days-before-issue-close: 3
stale-issue-label: "stale"
exempt-issue-labels: "skip-stale"
stale-issue-message: "This issue is stale because it has been open for 7 days with no activity."
close-issue-message: "This issue was closed because it has been inactive for 3 days since being marked as stale."
any-of-issue-labels: 'question,needs-more-info'
days-before-pr-stale: 10
days-before-pr-close: 7
stale-pr-label: "stale"
exempt-pr-labels: "skip-stale"
stale-pr-message: "This PR is stale because it has been open for 10 days with no activity."
close-pr-message: "This PR was closed because it has been inactive for 7 days since being marked as stale."
repo-token: ${{ secrets.GITHUB_TOKEN }}
14 changes: 13 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
enable-cache: true
- name: Install dependencies
run: make sync
- name: Verify formatting
run: make format-check
- name: Run lint
run: make lint

Expand All @@ -41,6 +43,15 @@ jobs:

tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
env:
OPENAI_API_KEY: fake-for-tests
steps:
Expand All @@ -50,6 +61,7 @@ jobs:
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: make sync
- name: Run tests with coverage
Expand All @@ -71,7 +83,7 @@ jobs:
- name: Build docs
run: make build-docs

old_versions:
old_version_tests:
runs-on: ubuntu-latest
env:
OPENAI_API_KEY: fake-for-tests
Expand Down
76 changes: 76 additions & 0 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: "Update Translated Docs"

# This GitHub Actions job automates the process of updating all translated document pages. Please note the following:
# 1. The translation results may vary each time; some differences in detail are expected.
# 2. When you add a new page to the left-hand menu, **make sure to manually update mkdocs.yml** to include the new item.
# 3. If you switch to a different LLM (for example, from o3 to a newer model), be sure to conduct thorough testing before making the switch.

# To add more languages, you will update the following:
# 1. Add '!docs/{lang}/**' to `on.push.paths` in this file
# 2. Update mkdocs.yml to have the new language
# 3. Update docs/scripts/translate_docs.py to have the new language

on:
push:
branches:
- main
paths:
- 'docs/**'
- mkdocs.yml
- '!docs/ja/**'
- '!docs/ko/**'
- '!docs/zh/**'

permissions:
contents: write
pull-requests: write

jobs:
update-docs:
if: "!contains(github.event.head_commit.message, 'Update all translated document pages')"
name: Build and Push Translated Docs
runs-on: ubuntu-latest
timeout-minutes: 20
env:
PROD_OPENAI_API_KEY: ${{ secrets.PROD_OPENAI_API_KEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Install dependencies
run: make sync
- name: Build full docs
run: make build-full-docs

- name: Commit changes
id: commit
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add docs/
if [ -n "$(git status --porcelain)" ]; then
git commit -m "Update all translated document pages"
echo "committed=true" >> "$GITHUB_OUTPUT"
else
echo "No changes to commit"
echo "committed=false" >> "$GITHUB_OUTPUT"
fi

- name: Create Pull Request
if: steps.commit.outputs.committed == 'true'
uses: peter-evans/create-pull-request@v6
with:
commit-message: "Update all translated document pages"
title: "Update all translated document pages"
body: |
Automated update of translated documentation.

Triggered by commit: [${{ github.event.head_commit.id }}](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.event.head_commit.id }}).
Message: `${{ github.event.head_commit.message }}`
branch: update-translated-docs-${{ github.run_id }}
delete-branch: true
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,10 @@ celerybeat.pid
*.sage.py

# Environments
.env
.python-version
.env*
.venv
.venv*
env/
venv/
ENV/
Expand Down Expand Up @@ -143,3 +145,6 @@ cython_debug/
# PyPI configuration file
.pypirc
.aider*

# Redis database files
dump.rdb
14 changes: 14 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: Python File",
"type": "debugpy",
"request": "launch",
"program": "${file}"
}
]
}
4 changes: 3 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ Welcome to the OpenAI Agents SDK repository. This file contains the main points

Coverage can be generated with `make coverage`.

All python commands should be run via `uv run python ...`

## Snapshot tests

Some tests rely on inline snapshots. See `tests/README.md` for details on updating them:
Expand Down Expand Up @@ -64,6 +66,6 @@ Commit messages should be concise and written in the imperative mood. Small, foc
## What reviewers look for

- Tests covering new behaviour.
- Consistent style: code formatted with `ruff format`, imports sorted, and type hints passing `mypy`.
- Consistent style: code formatted with `uv run ruff format`, imports sorted, and type hints passing `uv run mypy .`.
- Clear documentation for any public API changes.
- Clean history and a helpful PR description.
1 change: 1 addition & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Read the AGENTS.md file for instructions.
14 changes: 10 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ format:
uv run ruff format
uv run ruff check --fix

.PHONY: format-check
format-check:
uv run ruff format --check

.PHONY: lint
lint:
uv run ruff check

.PHONY: mypy
mypy:
uv run mypy .
uv run mypy . --exclude site

.PHONY: tests
tests:
Expand All @@ -35,11 +39,13 @@ snapshots-create:
uv run pytest --inline-snapshot=create

.PHONY: old_version_tests
old_version_tests:
old_version_tests:
UV_PROJECT_ENVIRONMENT=.venv_39 uv sync --python 3.9 --all-extras --all-packages --group dev
UV_PROJECT_ENVIRONMENT=.venv_39 uv run --python 3.9 -m pytest

.PHONY: build-docs
build-docs:
uv run docs/scripts/generate_ref_files.py
uv run mkdocs build

.PHONY: build-full-docs
Expand All @@ -55,5 +61,5 @@ serve-docs:
deploy-docs:
uv run mkdocs gh-deploy --force --verbose

.PHONY: check
check: format-check lint mypy tests
Loading