Add visualization optional dependency for graphviz

This commit is contained in:
Martín Bravo 2025-03-25 16:59:17 +01:00
parent 900a97fa55
commit b3addcff13

View file

@ -34,6 +34,7 @@ Repository = "https://github.com/openai/openai-agents-python"
[project.optional-dependencies] [project.optional-dependencies]
voice = ["numpy>=2.2.0, <3; python_version>='3.10'", "websockets>=15.0, <16"] voice = ["numpy>=2.2.0, <3; python_version>='3.10'", "websockets>=15.0, <16"]
visualization = ["graphviz>=0.17"]
[dependency-groups] [dependency-groups]
dev = [ dev = [
@ -57,11 +58,6 @@ dev = [
"websockets", "websockets",
] ]
[project.optional-dependencies]
visualization = [
"graphviz>=0.17",
]
[tool.uv.workspace] [tool.uv.workspace]
members = ["agents"] members = ["agents"]