Commit graph

47 commits

Author SHA1 Message Date
pakrym-oai
91c62c1dea
Prepare 0.0.19 release (#895) 2025-06-17 20:47:26 -04:00
Rohan Mehta
901d2ac57c
v0.0.18 (#878) 2025-06-16 15:49:36 -04:00
Rohan Mehta
2b9b8f7e73
Prompts support (#876)
Add support for the new openai prompts feature.
2025-06-16 15:47:48 -04:00
Daniele Morotti
281a7b2bb6
adopted float instead of timedelta for timeout parameters (#874)
I replaced the `timedelta` parameters for MCP timeouts with `float`
values, addressing issue #845 .

Given that the MCP official repository has incorporated these changes in
[this PR](https://github.com/modelcontextprotocol/python-sdk/pull/941),
updating the MCP version in openai-agents and specifying the timeouts as
floats should be enough.
2025-06-16 11:35:09 -04:00
Rohan Mehta
204bec1b8b
v0.0.17 (#809)
bump version
2025-06-03 22:36:51 -04:00
Rohan Mehta
1992be3e8d
v0.0.16 (#733) 2025-05-21 16:06:13 -04:00
Rohan Mehta
ce2e2a4571
Upgrade openAI sdk version (#730)
---
[//]: # (BEGIN SAPLING FOOTER)
* #732
* #731
* __->__ #730
2025-05-21 15:17:58 -04:00
Rohan Mehta
5fe096df67
v0.0.15 (#701) 2025-05-15 18:41:00 -04:00
Akshit97
1847008e0f
feat: Streamable HTTP support (#643)
Co-authored-by: aagarwal25 <akshit_agarwal@intuit.com>
2025-05-14 14:45:14 -04:00
pakrym-oai
f9763495b8
0.0.14 release (#635) 2025-04-30 08:15:35 -07:00
pakrym-oai
db0ee9d5a5
Update litellm version (#626)
Addresses https://github.com/openai/openai-agents-python/issues/614
2025-04-29 16:12:24 -07:00
Rohan Mehta
3bbc7c48cb
v0.0.13 (#593) 2025-04-24 14:58:38 -04:00
Rohan Mehta
3755ea8658
Create to_json_dict for ModelSettings (#582)
Now that `ModelSettings` has `Reasoning`, a non-primitive object,
`dataclasses.as_dict()` wont work. It will raise an error when you try
to serialize (e.g. for tracing). This ensures the object is actually
serializable.
2025-04-23 20:39:07 -04:00
Rohan Mehta
83ce49ec7e
v0.0.12 (#564) 2025-04-21 23:06:09 -04:00
Rohan Mehta
616d8e7f4b
Start and finish streaming trace in impl metod (#540)
Closes #435 and closes #538.

Unit tests.
2025-04-21 13:08:38 -04:00
Rohan Mehta
bd404e0f87
Litellm integration (#524)
litellm is a library that abstracts away details/differences for a lot
of model providers. Adding an extension, so that any provider can easily
be integrated.

---
[//]: # (BEGIN SAPLING FOOTER)
* #532
* __->__ #524
2025-04-16 18:48:41 -04:00
Rohan Mehta
ca8e8bed5d
v0.0.11 (#520)
New release, to incorporate #519
2025-04-15 14:37:16 -04:00
Rohan Mehta
96a97af9be
v0.0.10 (#514) 2025-04-14 22:45:30 -04:00
Rohan Mehta
86ad99d798
Move dev-only deps to dev section (#506)
These two deps are only used in development/examples
2025-04-14 21:59:41 -04:00
Daniele Morotti
e8f14da473
Fix type annotations examples (#496)
I fixed the type annotations errors for pydantic objects in some
examples as noted in #490 .

When running `make lint` the following error occurs "UP007 Use `X | Y`
for type annotations". If you know how to ignore it I will be happy to
edit the pull request, thanks.
2025-04-14 13:28:43 -04:00
Kazuhiro Sera
ece647b93f
Add i18n support to the documents (#460) 2025-04-08 09:41:48 -04:00
Rohan Mehta
9d3d6a58e5
v0.0.9 (#456)
bump version.
2025-04-07 19:27:19 -04:00
Rohan Mehta
0396052dcd
v0.0.8 (#432)
bump
2025-04-03 19:46:26 -04:00
Rohan Mehta
7c2d7f4abd
Misc small fixes - mcp version, test for function_schema, version gen (#429)
Summary:
1. Use <2 for MCP version so it doesn't break if the MCP sdk upgrades.
2. Test the func schema extraction logic.
3. Fix the logic to get the version nuber of the framework

Test Plan:
unit tests
2025-04-03 12:08:01 -04:00
Martin Jagusch
b268829d08
Remove duplicate dependency definition of pynput (#367)
`pynput` is in the pyproject.toml file twice, as you can see on line 54.

The uv.lock file doesn't change.
2025-03-27 13:40:06 -04:00
Rohan Mehta
7f02967156
v0.0.7 (#353)
Upgrade version to prepare for a new release.
2025-03-26 09:06:24 -07:00
Rohan Mehta
59aed3490d
Update pyproject.toml 2025-03-25 13:37:01 -04:00
Martín Bravo
48fad9e2d3 Merge branch 'main' of https://github.com/openai/openai-agents-python into feat/draw_graph 2025-03-25 18:02:51 +01:00
Martín Bravo
9d04671095 Rename visualization dependency to viz in pyproject.toml 2025-03-25 18:01:45 +01:00
Rohan Mehta
97e3dc3c76 [1/n] Add MCP types to the SDK
### Summary:
1. Add the MCP dep for python 3.10, since it doesn't support 3.9 and below
2. Create MCPServer, which is the agents SDK representation of an MCP server
3. Create implementations for HTTP-SSE and StdIO servers, directly copying the [MCP SDK example](https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/clients/simple-chatbot/mcp_simple_chatbot/main.py)
4. Add a util to transform MCP tools into Agent SDK tools

Note: I added optional caching support to the servers. That way, if you happen to know a server's tools don't change, you can just cache them.

### Test Plan:

Checks pass. I added tests at the end of the stack.
2025-03-25 12:51:40 -04:00
Martín Bravo
b3addcff13 Add visualization optional dependency for graphviz 2025-03-25 16:59:17 +01:00
Martín Bravo
900a97fa55 Merge branch 'main' of https://github.com/openai/openai-agents-python into feat/draw_graph 2025-03-25 16:58:01 +01:00
Martín Bravo
9f7d596d14 feat: add optional dependency for visualization using Graphviz 2025-03-24 09:08:29 +01:00
Rohan Mehta
fb8e5c2baf v0.0.6 (voice support) 2025-03-20 13:10:54 -04:00
Rohan Mehta
1771c1e856 update tests 2025-03-20 13:08:38 -04:00
Dominik Kundel
c7ce154637 feat: add voice pipeline support
> Co-authored-by: rm@openai.com
2025-03-20 09:43:13 -07:00
Rohan Mehta
1ed181c641 v0.0.5 2025-03-19 12:32:36 -04:00
Rohan Mehta
8c9974bc90 Fix breaking changes from openai 1.66.2 2025-03-19 12:30:45 -04:00
Martín Bravo
6f2f7293a0 refactor: move graphviz dependency to visualization section 2025-03-18 09:53:53 +01:00
Martín Bravo
aff1d60ea1 Merge branch 'main' of https://github.com/openai/openai-agents-python into feat/draw_graph 2025-03-17 23:50:52 +01:00
Rohan Mehta
64e263b614 Pretty print result classes 2025-03-17 11:11:39 -04:00
MartinEBravo
e984274da1 Merge branch 'main' of https://github.com/openai/openai-agents-python into feat/draw_graph 2025-03-17 10:17:36 +01:00
Martín Bravo
5865c6fbde Add graphviz as a dependency in pyproject.toml 2025-03-13 18:33:08 +01:00
Rohan Mehta
a012c0d320 v0.0.4 2025-03-13 11:18:40 -04:00
Rohan Mehta
c27d7b7d24 pin to openai 1.66.2, update tests 2025-03-11 15:26:06 -07:00
Rohan Mehta
72f443149a 0.0.2 2025-03-11 10:16:04 -07:00
Rohan Mehta
aaec57a426 Initial commit 2025-03-11 09:42:28 -07:00