Skip to content

Commit c8a3573

Browse files
committed
release: 0.22.2
1 parent 25af629 commit c8a3573

3 files changed

Lines changed: 72 additions & 5 deletions

File tree

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "openai-agents"
3-
version = "0.22.1"
3+
version = "0.22.2"
44
description = "OpenAI Agents SDK"
55
readme = "README.md"
66
requires-python = ">=3.10"

‎tests/fixtures/released_api_contract.json‎

Lines changed: 70 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"baseline": "v0.22.1",
3-
"baseline_commit": "ee375635d57c9f1f5dbe80c4184965df41cbfcad",
2+
"baseline": "v0.22.2",
3+
"baseline_commit": "25af629b3c877ba3d0e95189141bb636b21167a5",
44
"callables": {
55
"Agent": {
66
"dataclass_fields": [
@@ -46618,6 +46618,72 @@
4661846618
}
4661946619
],
4662046620
"module": "agents.voice"
46621+
},
46622+
{
46623+
"class_name": "ImageGenerationToolConfig",
46624+
"fields": [
46625+
{
46626+
"annotation": "Required[Literal['image_generation']]",
46627+
"name": "type",
46628+
"required": true
46629+
},
46630+
{
46631+
"annotation": "Literal['generate', 'edit', 'auto']",
46632+
"name": "action",
46633+
"required": false
46634+
},
46635+
{
46636+
"annotation": "Literal['transparent', 'opaque', 'auto']",
46637+
"name": "background",
46638+
"required": false
46639+
},
46640+
{
46641+
"annotation": "Literal['high', 'low'] | None",
46642+
"name": "input_fidelity",
46643+
"required": false
46644+
},
46645+
{
46646+
"annotation": "_ImageGenerationInputImageMask",
46647+
"name": "input_image_mask",
46648+
"required": false
46649+
},
46650+
{
46651+
"annotation": "str",
46652+
"name": "model",
46653+
"required": false
46654+
},
46655+
{
46656+
"annotation": "Literal['auto', 'low']",
46657+
"name": "moderation",
46658+
"required": false
46659+
},
46660+
{
46661+
"annotation": "int",
46662+
"name": "output_compression",
46663+
"required": false
46664+
},
46665+
{
46666+
"annotation": "Literal['png', 'webp', 'jpeg']",
46667+
"name": "output_format",
46668+
"required": false
46669+
},
46670+
{
46671+
"annotation": "int",
46672+
"name": "partial_images",
46673+
"required": false
46674+
},
46675+
{
46676+
"annotation": "Literal['low', 'medium', 'high', 'xhigh', 'max', 'auto']",
46677+
"name": "quality",
46678+
"required": false
46679+
},
46680+
{
46681+
"annotation": "str",
46682+
"name": "size",
46683+
"required": false
46684+
}
46685+
],
46686+
"module": "agents"
4662146687
}
4662246688
],
4662346689
"required_submodule_exports": {
@@ -47591,7 +47657,8 @@
4759147657
"ModelTimeoutError",
4759247658
"OutputGuardrailBlockedMessageArgs",
4759347659
"OutputGuardrailBlockedMessageFormatter",
47594-
"WebSearchToolImageSettings"
47660+
"WebSearchToolImageSettings",
47661+
"ImageGenerationToolConfig"
4759547662
],
4759647663
"submodule_export_exclusions": [
4759747664
"agents.sandbox.sandboxes"

‎uv.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)