Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
373 commits
Select commit Hold shift + click to select a range
f20aa40
Update all translated document pages (#1184)
github-actions[bot] Jul 18, 2025
3e100f5
Realtime: add user agent header (#1185)
rm-openai Jul 21, 2025
6cb9639
Realtime: make sure we use the initial model settings (#1198)
rm-openai Jul 21, 2025
68b0ef1
v0.2.3 (#1201)
rm-openai Jul 21, 2025
c5d5010
Add automation script to generate mkdocstrings files (#1048)
seratch Jul 21, 2025
4d1ce04
Set up codex for issues and PRs (#1214)
rm-openai Jul 22, 2025
e0b1cdf
Use real codex action (#1217)
rm-openai Jul 22, 2025
f6a6c51
Update codex action to use repo syntax (#1218)
rm-openai Jul 22, 2025
4350c34
Fixes two issues in the tracing documentation (#1212)
DanielHashmi Jul 23, 2025
b09d37d
Update all translated document pages (#1221)
github-actions[bot] Jul 23, 2025
46101cb
Fix RealtimeModel reference (#1215)
rm-openai Jul 23, 2025
a16da90
Adding docstring to get_weather tool (#1231)
mutahirshah11 Jul 24, 2025
88818fd
Update all translated document pages (#1232)
github-actions[bot] Jul 24, 2025
44042e1
Add LiteLLM to acknowledgements section (#1240)
colesmcintosh Jul 25, 2025
d052c1f
[Bugfix] Fix wrong imports in examples (#1241)
mdagost Jul 25, 2025
7b84678
Realtime: send audio item/content index (#1235)
rm-openai Jul 25, 2025
00412a1
Fix #1227 Chat Completions model fails to handle streaming with opena…
seratch Jul 25, 2025
64b4a5f
Make Trace class inherit from abc.ABC for proper abstract base class …
DanielHashmi Jul 25, 2025
430dbaa
docs: add LangDB AI Gateway as a tracing provider (#1224)
MrunmayS Jul 25, 2025
2c89461
Update all translated document pages (#1251)
github-actions[bot] Jul 26, 2025
7e632c2
Fix type placeholder convention (#1259)
mshsheikh Jul 26, 2025
8f1ed6c
Tweak on guardrail docstrings (#1260)
mshsheikh Jul 28, 2025
e2d2938
Consistently use "Python" in docstrings (#1261)
mshsheikh Jul 28, 2025
a64208c
gpt 4.5-preview is removed, use gpt-4.1 (#1266)
jssmith Jul 28, 2025
75065ba
refactor: remove inherited method from Agent class (#1267)
windsornguyen Jul 28, 2025
c13b163
Fix etc. punctuation (#1268)
mshsheikh Jul 28, 2025
7a4c024
fix: enforce min trigger size=1 to prevent immediate exports (#1270)
mshsheikh Jul 28, 2025
c4d8763
Fix minor issues in exporter docstrings (#1272)
mshsheikh Jul 28, 2025
656ee0c
docs: remove non existent even_if_trace_running mention from trace do…
mshsheikh Jul 28, 2025
bd527ad
fix: convert litellm response with reasoning content to openai messag…
zkllll2002 Jul 28, 2025
2224d45
docs: fix UserContext example (#1280)
kankute-sameer Jul 28, 2025
aba88c7
Fix _export_batches docstring to remove incorrect "threshold" referen…
DanielHashmi Jul 28, 2025
078eef2
Update all translated document pages (#1289)
github-actions[bot] Jul 29, 2025
4cb07d5
feat: add loop safeguard and fix instruction spacing/grammar (#1284)
mshsheikh Jul 29, 2025
d968d7f
Enhance Tool Behavior Documentation for Developer Clarity With Exampl…
MuhammadHamidRaza Jul 29, 2025
114b320
Update all translated document pages (#1291)
github-actions[bot] Jul 29, 2025
b459cc4
Realtime: enable a playback tracker (#1242)
rm-openai Jul 29, 2025
c37c007
Realtime: only cancel response if necessary (#1243)
rm-openai Jul 29, 2025
bdc91df
Realtime: Twilio example (#1216)
rm-openai Jul 29, 2025
8541956
Realtime: forward all raw model events (#1252)
rm-openai Jul 29, 2025
7cc0c31
v0.2.4 (#1301)
rm-openai Jul 29, 2025
d338f03
Fix tag errors in sessions document page (#1307)
seratch Jul 30, 2025
6a19e6e
Update all translated document pages (#1308)
github-actions[bot] Jul 30, 2025
ef812c5
Add temporal demo to docs (#1310)
rm-openai Jul 30, 2025
0233cc0
Fix #1238 by enhancing HandoffInputData and enable passing async func…
seratch Jul 30, 2025
cfed186
Add support to realtime API for setting "speed" of the models respons…
sect2k Jul 30, 2025
a1ad518
Update all translated document pages (#1313)
github-actions[bot] Jul 30, 2025
3a16a24
Examples: use agent to interact with Remote PDF Documents (#1319)
princeaden1 Jul 31, 2025
12102e6
Enhance exception guide in docs (#1321)
MuhammadHamidRaza Jul 31, 2025
473e0a2
Update all translated document pages (#1322)
github-actions[bot] Jul 31, 2025
f92b561
Realtime: make example customizable: (#1332)
rm-openai Jul 31, 2025
d520535
Fix #1325 Export MultiProvider in top level package (#1326)
kobol Jul 31, 2025
32fe6cc
Add tracing guide for non-OpenAI LLMs in docs/tracing.md (#1329)
UmmeHabiba1312 Aug 1, 2025
ab66578
Update all translated document pages (#1336)
github-actions[bot] Aug 1, 2025
a9763dc
docs: Clarify and enhance run_demo_loop utility documentation for beg…
UmmeHabiba1312 Aug 1, 2025
61e4fb8
Fix set_api_key breaking cached property mechanism (#1339)
DanielHashmi Aug 1, 2025
63d72d0
Update all translated document pages (#1341)
github-actions[bot] Aug 1, 2025
5e31be9
Handle processor exceptions and fix tracing log formatting (#1292)
mshsheikh Aug 1, 2025
fb68e77
Fix(mcp): Unreachable structured content branch in invoke_mcp_tool (#…
Kunmeer-SyedMohamedHyder Aug 1, 2025
1f75464
Feat: separate tool_call_item and tool_call_output_item in stream eve…
gdisk Aug 1, 2025
af76c36
Clarify shallow-copy behavior of tools and handoffs in Agent.clone() …
abdul-kabir-jawed Aug 1, 2025
25c61e8
Fix #1277 missing StopAtTools and ToolsToFinalOutputFunction in agent…
seratch Aug 1, 2025
818344c
Fix #980 Chat Completions: fails with function name for tool_choice p…
seratch Aug 1, 2025
5c73311
Fix type annotation and clarify tool behavior docs (#1355)
mshsheikh Aug 3, 2025
e197187
Fix style and wording issues in handoffs.py (#1356)
mshsheikh Aug 3, 2025
907533a
Fix docstring formatting and add safe check for empty message content…
mshsheikh Aug 3, 2025
237d672
Add functionality to update agent during realtime session (#1366)
marysha-openai Aug 4, 2025
54e4087
feat(viz): draw MCP servers (#1368)
aaron-ang Aug 4, 2025
88b8199
Update all translated document pages (#1369)
github-actions[bot] Aug 4, 2025
bc71e8b
Realtime: fix interrupt logic (#1370)
rm-openai Aug 4, 2025
27de49a
Realtime: send session update before tool response (#1388)
rm-openai Aug 7, 2025
5539afc
v0.2.5 (#1398)
rm-openai Aug 7, 2025
6c816c3
feat: support agent output guardrails in realtime (#1381)
jhills20 Aug 8, 2025
efee1a7
Enhanced FAQ lookup tool in examples/customer_service app (#1063)
HasnainCodeHub Aug 11, 2025
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)
notV3NOM Sep 16, 2025
ee751cb
feat(voice)!: migrate STT streaming to match GA Realtime API (#1759)
notV3NOM 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
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 }}
75 changes: 75 additions & 0 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
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/**'

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
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ celerybeat.pid
*.sage.py

# Environments
.env
.python-version
.env*
.venv
env/
venv/
Expand Down Expand Up @@ -143,3 +144,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