diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 233522f69..000000000 Binary files a/.DS_Store and /dev/null differ diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..1ba7cd7f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,206 @@ +### Generated by gibo (https://github.com/simonwhitaker/gibo) +### https://raw.github.com/github/gitignore/03746360179f94ccda3aea942adc8245e4f65a25/Global/macOS.gitignore + +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk +### Generated by gibo (https://github.com/simonwhitaker/gibo) +### https://raw.github.com/github/gitignore/03746360179f94ccda3aea942adc8245e4f65a25/Python.gitignore + +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +.pybuilder/ +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +# For a library or package, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# .python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# UV +# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control. +# This is especially recommended for binary packages to ensure reproducibility, and is more +# commonly ignored for libraries. +#uv.lock + +# poetry +# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. +# This is especially recommended for binary packages to ensure reproducibility, and is more +# commonly ignored for libraries. +# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control +#poetry.lock + +# pdm +# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. +#pdm.lock +# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it +# in version control. +# https://pdm.fming.dev/latest/usage/project/#working-with-version-control +.pdm.toml +.pdm-python +.pdm-build/ + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ + +# PyCharm +# JetBrains specific template is maintained in a separate JetBrains.gitignore that can +# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore +# and can be added to the global gitignore or merged into this file. For a more nuclear +# option (not recommended) you can uncomment the following to ignore the entire idea folder. +#.idea/ + +# Ruff stuff: +.ruff_cache/ + +# PyPI configuration file +.pypirc diff --git a/examples/__pycache__/__init__.cpython-313.pyc b/examples/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index b69004789..000000000 Binary files a/examples/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/examples/research_bot/__pycache__/__init__.cpython-313.pyc b/examples/research_bot/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 3d1acc93f..000000000 Binary files a/examples/research_bot/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/examples/research_bot/__pycache__/main.cpython-313.pyc b/examples/research_bot/__pycache__/main.cpython-313.pyc deleted file mode 100644 index 394e4629a..000000000 Binary files a/examples/research_bot/__pycache__/main.cpython-313.pyc and /dev/null differ diff --git a/examples/research_bot/__pycache__/manager.cpython-313.pyc b/examples/research_bot/__pycache__/manager.cpython-313.pyc deleted file mode 100644 index aaef5dea1..000000000 Binary files a/examples/research_bot/__pycache__/manager.cpython-313.pyc and /dev/null differ diff --git a/examples/research_bot/__pycache__/printer.cpython-313.pyc b/examples/research_bot/__pycache__/printer.cpython-313.pyc deleted file mode 100644 index 3e9ac76c9..000000000 Binary files a/examples/research_bot/__pycache__/printer.cpython-313.pyc and /dev/null differ diff --git a/examples/research_bot/agents/__pycache__/__init__.cpython-313.pyc b/examples/research_bot/agents/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index a094b5a53..000000000 Binary files a/examples/research_bot/agents/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/examples/research_bot/agents/__pycache__/base_agent.cpython-313.pyc b/examples/research_bot/agents/__pycache__/base_agent.cpython-313.pyc deleted file mode 100644 index f33d41887..000000000 Binary files a/examples/research_bot/agents/__pycache__/base_agent.cpython-313.pyc and /dev/null differ diff --git a/examples/research_bot/agents/__pycache__/planner_agent.cpython-313.pyc b/examples/research_bot/agents/__pycache__/planner_agent.cpython-313.pyc deleted file mode 100644 index b836aacce..000000000 Binary files a/examples/research_bot/agents/__pycache__/planner_agent.cpython-313.pyc and /dev/null differ diff --git a/examples/research_bot/agents/__pycache__/research_manager_agent.cpython-313.pyc b/examples/research_bot/agents/__pycache__/research_manager_agent.cpython-313.pyc deleted file mode 100644 index edc3f5ff5..000000000 Binary files a/examples/research_bot/agents/__pycache__/research_manager_agent.cpython-313.pyc and /dev/null differ diff --git a/examples/research_bot/agents/__pycache__/search_agent.cpython-313.pyc b/examples/research_bot/agents/__pycache__/search_agent.cpython-313.pyc deleted file mode 100644 index b3281242f..000000000 Binary files a/examples/research_bot/agents/__pycache__/search_agent.cpython-313.pyc and /dev/null differ diff --git a/examples/research_bot/agents/__pycache__/summarization_agent.cpython-313.pyc b/examples/research_bot/agents/__pycache__/summarization_agent.cpython-313.pyc deleted file mode 100644 index b809d7c5a..000000000 Binary files a/examples/research_bot/agents/__pycache__/summarization_agent.cpython-313.pyc and /dev/null differ diff --git a/examples/research_bot/agents/__pycache__/writer_agent.cpython-313.pyc b/examples/research_bot/agents/__pycache__/writer_agent.cpython-313.pyc deleted file mode 100644 index be550b1ef..000000000 Binary files a/examples/research_bot/agents/__pycache__/writer_agent.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/__init__.cpython-311.pyc b/src/agents/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index daf05e7ea..000000000 Binary files a/src/agents/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/src/agents/__pycache__/__init__.cpython-313.pyc b/src/agents/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 8d9218c78..000000000 Binary files a/src/agents/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/__init__.cpython-39.pyc b/src/agents/__pycache__/__init__.cpython-39.pyc deleted file mode 100644 index f7f3ec7de..000000000 Binary files a/src/agents/__pycache__/__init__.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/_config.cpython-311.pyc b/src/agents/__pycache__/_config.cpython-311.pyc deleted file mode 100644 index 6fd0d6a77..000000000 Binary files a/src/agents/__pycache__/_config.cpython-311.pyc and /dev/null differ diff --git a/src/agents/__pycache__/_config.cpython-313.pyc b/src/agents/__pycache__/_config.cpython-313.pyc deleted file mode 100644 index b0386911c..000000000 Binary files a/src/agents/__pycache__/_config.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/_config.cpython-39.pyc b/src/agents/__pycache__/_config.cpython-39.pyc deleted file mode 100644 index 3e54f44e7..000000000 Binary files a/src/agents/__pycache__/_config.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/_debug.cpython-313.pyc b/src/agents/__pycache__/_debug.cpython-313.pyc deleted file mode 100644 index 19e291358..000000000 Binary files a/src/agents/__pycache__/_debug.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/_debug.cpython-39.pyc b/src/agents/__pycache__/_debug.cpython-39.pyc deleted file mode 100644 index 796f50993..000000000 Binary files a/src/agents/__pycache__/_debug.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/_run_impl.cpython-313.pyc b/src/agents/__pycache__/_run_impl.cpython-313.pyc deleted file mode 100644 index 22bd441dd..000000000 Binary files a/src/agents/__pycache__/_run_impl.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/_run_impl.cpython-39.pyc b/src/agents/__pycache__/_run_impl.cpython-39.pyc deleted file mode 100644 index b26111b6e..000000000 Binary files a/src/agents/__pycache__/_run_impl.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/_strict_schema.cpython-313.pyc b/src/agents/__pycache__/_strict_schema.cpython-313.pyc deleted file mode 100644 index 54b08cff5..000000000 Binary files a/src/agents/__pycache__/_strict_schema.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/_utils.cpython-313.pyc b/src/agents/__pycache__/_utils.cpython-313.pyc deleted file mode 100644 index af2c299cb..000000000 Binary files a/src/agents/__pycache__/_utils.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/_utils.cpython-39.pyc b/src/agents/__pycache__/_utils.cpython-39.pyc deleted file mode 100644 index bf6557a6a..000000000 Binary files a/src/agents/__pycache__/_utils.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/agent.cpython-311.pyc b/src/agents/__pycache__/agent.cpython-311.pyc deleted file mode 100644 index 3579bbede..000000000 Binary files a/src/agents/__pycache__/agent.cpython-311.pyc and /dev/null differ diff --git a/src/agents/__pycache__/agent.cpython-313.pyc b/src/agents/__pycache__/agent.cpython-313.pyc deleted file mode 100644 index 5347fb148..000000000 Binary files a/src/agents/__pycache__/agent.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/agent.cpython-39.pyc b/src/agents/__pycache__/agent.cpython-39.pyc deleted file mode 100644 index b494ffe44..000000000 Binary files a/src/agents/__pycache__/agent.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/agent_output.cpython-313.pyc b/src/agents/__pycache__/agent_output.cpython-313.pyc deleted file mode 100644 index b527f54e6..000000000 Binary files a/src/agents/__pycache__/agent_output.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/agent_output.cpython-39.pyc b/src/agents/__pycache__/agent_output.cpython-39.pyc deleted file mode 100644 index dfc5353bb..000000000 Binary files a/src/agents/__pycache__/agent_output.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/call_agent_tool.cpython-313.pyc b/src/agents/__pycache__/call_agent_tool.cpython-313.pyc deleted file mode 100644 index 281eefcbf..000000000 Binary files a/src/agents/__pycache__/call_agent_tool.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/call_agent_tool.cpython-39.pyc b/src/agents/__pycache__/call_agent_tool.cpython-39.pyc deleted file mode 100644 index 3502ff978..000000000 Binary files a/src/agents/__pycache__/call_agent_tool.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/computer.cpython-313.pyc b/src/agents/__pycache__/computer.cpython-313.pyc deleted file mode 100644 index b10842587..000000000 Binary files a/src/agents/__pycache__/computer.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/computer.cpython-39.pyc b/src/agents/__pycache__/computer.cpython-39.pyc deleted file mode 100644 index df273d503..000000000 Binary files a/src/agents/__pycache__/computer.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/exceptions.cpython-311.pyc b/src/agents/__pycache__/exceptions.cpython-311.pyc deleted file mode 100644 index 4d851c8e1..000000000 Binary files a/src/agents/__pycache__/exceptions.cpython-311.pyc and /dev/null differ diff --git a/src/agents/__pycache__/exceptions.cpython-313.pyc b/src/agents/__pycache__/exceptions.cpython-313.pyc deleted file mode 100644 index 7fa364527..000000000 Binary files a/src/agents/__pycache__/exceptions.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/exceptions.cpython-39.pyc b/src/agents/__pycache__/exceptions.cpython-39.pyc deleted file mode 100644 index f18ec51c0..000000000 Binary files a/src/agents/__pycache__/exceptions.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/function_schema.cpython-313.pyc b/src/agents/__pycache__/function_schema.cpython-313.pyc deleted file mode 100644 index 3f2547f2a..000000000 Binary files a/src/agents/__pycache__/function_schema.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/function_schema.cpython-39.pyc b/src/agents/__pycache__/function_schema.cpython-39.pyc deleted file mode 100644 index 5e7ffdd9f..000000000 Binary files a/src/agents/__pycache__/function_schema.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/guardrail.cpython-311.pyc b/src/agents/__pycache__/guardrail.cpython-311.pyc deleted file mode 100644 index 5a7e4dfeb..000000000 Binary files a/src/agents/__pycache__/guardrail.cpython-311.pyc and /dev/null differ diff --git a/src/agents/__pycache__/guardrail.cpython-313.pyc b/src/agents/__pycache__/guardrail.cpython-313.pyc deleted file mode 100644 index edcd014f1..000000000 Binary files a/src/agents/__pycache__/guardrail.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/guardrail.cpython-39.pyc b/src/agents/__pycache__/guardrail.cpython-39.pyc deleted file mode 100644 index ce0385b41..000000000 Binary files a/src/agents/__pycache__/guardrail.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/guardrail_base.cpython-313.pyc b/src/agents/__pycache__/guardrail_base.cpython-313.pyc deleted file mode 100644 index 525e91e8b..000000000 Binary files a/src/agents/__pycache__/guardrail_base.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/guardrail_base.cpython-39.pyc b/src/agents/__pycache__/guardrail_base.cpython-39.pyc deleted file mode 100644 index 400cd36c8..000000000 Binary files a/src/agents/__pycache__/guardrail_base.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/guardrails.cpython-313.pyc b/src/agents/__pycache__/guardrails.cpython-313.pyc deleted file mode 100644 index bec8e3f80..000000000 Binary files a/src/agents/__pycache__/guardrails.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/handoff.cpython-313.pyc b/src/agents/__pycache__/handoff.cpython-313.pyc deleted file mode 100644 index 5442e4196..000000000 Binary files a/src/agents/__pycache__/handoff.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/handoff.cpython-39.pyc b/src/agents/__pycache__/handoff.cpython-39.pyc deleted file mode 100644 index 753a02eaf..000000000 Binary files a/src/agents/__pycache__/handoff.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/handoffs.cpython-313.pyc b/src/agents/__pycache__/handoffs.cpython-313.pyc deleted file mode 100644 index 9fe878844..000000000 Binary files a/src/agents/__pycache__/handoffs.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/handoffs.cpython-39.pyc b/src/agents/__pycache__/handoffs.cpython-39.pyc deleted file mode 100644 index 64f8bb0c3..000000000 Binary files a/src/agents/__pycache__/handoffs.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/items.cpython-311.pyc b/src/agents/__pycache__/items.cpython-311.pyc deleted file mode 100644 index 6b0149fe5..000000000 Binary files a/src/agents/__pycache__/items.cpython-311.pyc and /dev/null differ diff --git a/src/agents/__pycache__/items.cpython-313.pyc b/src/agents/__pycache__/items.cpython-313.pyc deleted file mode 100644 index 8410c6793..000000000 Binary files a/src/agents/__pycache__/items.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/items.cpython-39.pyc b/src/agents/__pycache__/items.cpython-39.pyc deleted file mode 100644 index 7245ae297..000000000 Binary files a/src/agents/__pycache__/items.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/lifecycle.cpython-313.pyc b/src/agents/__pycache__/lifecycle.cpython-313.pyc deleted file mode 100644 index e1ccf5e18..000000000 Binary files a/src/agents/__pycache__/lifecycle.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/lifecycle.cpython-39.pyc b/src/agents/__pycache__/lifecycle.cpython-39.pyc deleted file mode 100644 index 82a6eef70..000000000 Binary files a/src/agents/__pycache__/lifecycle.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/logger.cpython-313.pyc b/src/agents/__pycache__/logger.cpython-313.pyc deleted file mode 100644 index 24bf91610..000000000 Binary files a/src/agents/__pycache__/logger.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/logger.cpython-39.pyc b/src/agents/__pycache__/logger.cpython-39.pyc deleted file mode 100644 index 360a1a3bd..000000000 Binary files a/src/agents/__pycache__/logger.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/model_settings.cpython-313.pyc b/src/agents/__pycache__/model_settings.cpython-313.pyc deleted file mode 100644 index c7465166e..000000000 Binary files a/src/agents/__pycache__/model_settings.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/model_settings.cpython-39.pyc b/src/agents/__pycache__/model_settings.cpython-39.pyc deleted file mode 100644 index 1ac8110a9..000000000 Binary files a/src/agents/__pycache__/model_settings.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/output_tool.cpython-313.pyc b/src/agents/__pycache__/output_tool.cpython-313.pyc deleted file mode 100644 index 3569e3351..000000000 Binary files a/src/agents/__pycache__/output_tool.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/output_tool.cpython-39.pyc b/src/agents/__pycache__/output_tool.cpython-39.pyc deleted file mode 100644 index 3bc8d2e53..000000000 Binary files a/src/agents/__pycache__/output_tool.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/result.cpython-313.pyc b/src/agents/__pycache__/result.cpython-313.pyc deleted file mode 100644 index d1c647a7d..000000000 Binary files a/src/agents/__pycache__/result.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/result.cpython-39.pyc b/src/agents/__pycache__/result.cpython-39.pyc deleted file mode 100644 index 94a7e8c2c..000000000 Binary files a/src/agents/__pycache__/result.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/run.cpython-313.pyc b/src/agents/__pycache__/run.cpython-313.pyc deleted file mode 100644 index d127b935c..000000000 Binary files a/src/agents/__pycache__/run.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/run.cpython-39.pyc b/src/agents/__pycache__/run.cpython-39.pyc deleted file mode 100644 index eb73263a7..000000000 Binary files a/src/agents/__pycache__/run.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/run_context.cpython-313.pyc b/src/agents/__pycache__/run_context.cpython-313.pyc deleted file mode 100644 index 72a6585a2..000000000 Binary files a/src/agents/__pycache__/run_context.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/run_context.cpython-39.pyc b/src/agents/__pycache__/run_context.cpython-39.pyc deleted file mode 100644 index 2f8fc2167..000000000 Binary files a/src/agents/__pycache__/run_context.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/stream_events.cpython-313.pyc b/src/agents/__pycache__/stream_events.cpython-313.pyc deleted file mode 100644 index ee957ee6b..000000000 Binary files a/src/agents/__pycache__/stream_events.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/stream_events.cpython-39.pyc b/src/agents/__pycache__/stream_events.cpython-39.pyc deleted file mode 100644 index 3946c1b20..000000000 Binary files a/src/agents/__pycache__/stream_events.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/strict_schema.cpython-313.pyc b/src/agents/__pycache__/strict_schema.cpython-313.pyc deleted file mode 100644 index 79b6205a7..000000000 Binary files a/src/agents/__pycache__/strict_schema.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/strict_schema.cpython-39.pyc b/src/agents/__pycache__/strict_schema.cpython-39.pyc deleted file mode 100644 index 50d5644dd..000000000 Binary files a/src/agents/__pycache__/strict_schema.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/tool.cpython-313.pyc b/src/agents/__pycache__/tool.cpython-313.pyc deleted file mode 100644 index cb3a11978..000000000 Binary files a/src/agents/__pycache__/tool.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/tool.cpython-39.pyc b/src/agents/__pycache__/tool.cpython-39.pyc deleted file mode 100644 index 8318baa49..000000000 Binary files a/src/agents/__pycache__/tool.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/tool_converter.cpython-313.pyc b/src/agents/__pycache__/tool_converter.cpython-313.pyc deleted file mode 100644 index e6400c54d..000000000 Binary files a/src/agents/__pycache__/tool_converter.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/tool_converter.cpython-39.pyc b/src/agents/__pycache__/tool_converter.cpython-39.pyc deleted file mode 100644 index 9ee20bd45..000000000 Binary files a/src/agents/__pycache__/tool_converter.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/usage.cpython-313.pyc b/src/agents/__pycache__/usage.cpython-313.pyc deleted file mode 100644 index 057a30b92..000000000 Binary files a/src/agents/__pycache__/usage.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/usage.cpython-39.pyc b/src/agents/__pycache__/usage.cpython-39.pyc deleted file mode 100644 index f07f1c9df..000000000 Binary files a/src/agents/__pycache__/usage.cpython-39.pyc and /dev/null differ diff --git a/src/agents/__pycache__/version.cpython-313.pyc b/src/agents/__pycache__/version.cpython-313.pyc deleted file mode 100644 index 9730494b6..000000000 Binary files a/src/agents/__pycache__/version.cpython-313.pyc and /dev/null differ diff --git a/src/agents/__pycache__/version.cpython-39.pyc b/src/agents/__pycache__/version.cpython-39.pyc deleted file mode 100644 index fea6e35d7..000000000 Binary files a/src/agents/__pycache__/version.cpython-39.pyc and /dev/null differ diff --git a/src/agents/extensions/__pycache__/__init__.cpython-313.pyc b/src/agents/extensions/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index bda7d30b3..000000000 Binary files a/src/agents/extensions/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/src/agents/extensions/__pycache__/__init__.cpython-39.pyc b/src/agents/extensions/__pycache__/__init__.cpython-39.pyc deleted file mode 100644 index b46e0f6d3..000000000 Binary files a/src/agents/extensions/__pycache__/__init__.cpython-39.pyc and /dev/null differ diff --git a/src/agents/extensions/__pycache__/handoff_filters.cpython-313.pyc b/src/agents/extensions/__pycache__/handoff_filters.cpython-313.pyc deleted file mode 100644 index d2b51f4f2..000000000 Binary files a/src/agents/extensions/__pycache__/handoff_filters.cpython-313.pyc and /dev/null differ diff --git a/src/agents/extensions/__pycache__/handoff_filters.cpython-39.pyc b/src/agents/extensions/__pycache__/handoff_filters.cpython-39.pyc deleted file mode 100644 index 5befbc68e..000000000 Binary files a/src/agents/extensions/__pycache__/handoff_filters.cpython-39.pyc and /dev/null differ diff --git a/src/agents/extensions/__pycache__/handoff_prompt.cpython-313.pyc b/src/agents/extensions/__pycache__/handoff_prompt.cpython-313.pyc deleted file mode 100644 index 1b1154bda..000000000 Binary files a/src/agents/extensions/__pycache__/handoff_prompt.cpython-313.pyc and /dev/null differ diff --git a/src/agents/models/__pycache__/__init__.cpython-311.pyc b/src/agents/models/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 809c19dff..000000000 Binary files a/src/agents/models/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/src/agents/models/__pycache__/__init__.cpython-313.pyc b/src/agents/models/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 62acacc3e..000000000 Binary files a/src/agents/models/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/src/agents/models/__pycache__/__init__.cpython-39.pyc b/src/agents/models/__pycache__/__init__.cpython-39.pyc deleted file mode 100644 index 772e18bd5..000000000 Binary files a/src/agents/models/__pycache__/__init__.cpython-39.pyc and /dev/null differ diff --git a/src/agents/models/__pycache__/_openai_shared.cpython-311.pyc b/src/agents/models/__pycache__/_openai_shared.cpython-311.pyc deleted file mode 100644 index 31d955795..000000000 Binary files a/src/agents/models/__pycache__/_openai_shared.cpython-311.pyc and /dev/null differ diff --git a/src/agents/models/__pycache__/_openai_shared.cpython-313.pyc b/src/agents/models/__pycache__/_openai_shared.cpython-313.pyc deleted file mode 100644 index 33dfe316a..000000000 Binary files a/src/agents/models/__pycache__/_openai_shared.cpython-313.pyc and /dev/null differ diff --git a/src/agents/models/__pycache__/_openai_shared.cpython-39.pyc b/src/agents/models/__pycache__/_openai_shared.cpython-39.pyc deleted file mode 100644 index 9f95fb8d8..000000000 Binary files a/src/agents/models/__pycache__/_openai_shared.cpython-39.pyc and /dev/null differ diff --git a/src/agents/models/__pycache__/fake_id.cpython-313.pyc b/src/agents/models/__pycache__/fake_id.cpython-313.pyc deleted file mode 100644 index 07ae380a6..000000000 Binary files a/src/agents/models/__pycache__/fake_id.cpython-313.pyc and /dev/null differ diff --git a/src/agents/models/__pycache__/fake_id.cpython-39.pyc b/src/agents/models/__pycache__/fake_id.cpython-39.pyc deleted file mode 100644 index 66b64fe78..000000000 Binary files a/src/agents/models/__pycache__/fake_id.cpython-39.pyc and /dev/null differ diff --git a/src/agents/models/__pycache__/interface.cpython-313.pyc b/src/agents/models/__pycache__/interface.cpython-313.pyc deleted file mode 100644 index f96c60bf4..000000000 Binary files a/src/agents/models/__pycache__/interface.cpython-313.pyc and /dev/null differ diff --git a/src/agents/models/__pycache__/interface.cpython-39.pyc b/src/agents/models/__pycache__/interface.cpython-39.pyc deleted file mode 100644 index cb247f32c..000000000 Binary files a/src/agents/models/__pycache__/interface.cpython-39.pyc and /dev/null differ diff --git a/src/agents/models/__pycache__/map.cpython-313.pyc b/src/agents/models/__pycache__/map.cpython-313.pyc deleted file mode 100644 index f648281cc..000000000 Binary files a/src/agents/models/__pycache__/map.cpython-313.pyc and /dev/null differ diff --git a/src/agents/models/__pycache__/map.cpython-39.pyc b/src/agents/models/__pycache__/map.cpython-39.pyc deleted file mode 100644 index 091f73a3c..000000000 Binary files a/src/agents/models/__pycache__/map.cpython-39.pyc and /dev/null differ diff --git a/src/agents/models/__pycache__/openai_chatcompletions.cpython-313.pyc b/src/agents/models/__pycache__/openai_chatcompletions.cpython-313.pyc deleted file mode 100644 index 064b4f353..000000000 Binary files a/src/agents/models/__pycache__/openai_chatcompletions.cpython-313.pyc and /dev/null differ diff --git a/src/agents/models/__pycache__/openai_chatcompletions.cpython-39.pyc b/src/agents/models/__pycache__/openai_chatcompletions.cpython-39.pyc deleted file mode 100644 index e7d1e60dd..000000000 Binary files a/src/agents/models/__pycache__/openai_chatcompletions.cpython-39.pyc and /dev/null differ diff --git a/src/agents/models/__pycache__/openai_provider.cpython-313.pyc b/src/agents/models/__pycache__/openai_provider.cpython-313.pyc deleted file mode 100644 index 16ada9536..000000000 Binary files a/src/agents/models/__pycache__/openai_provider.cpython-313.pyc and /dev/null differ diff --git a/src/agents/models/__pycache__/openai_provider.cpython-39.pyc b/src/agents/models/__pycache__/openai_provider.cpython-39.pyc deleted file mode 100644 index a6a5cbc3a..000000000 Binary files a/src/agents/models/__pycache__/openai_provider.cpython-39.pyc and /dev/null differ diff --git a/src/agents/models/__pycache__/openai_responses.cpython-313.pyc b/src/agents/models/__pycache__/openai_responses.cpython-313.pyc deleted file mode 100644 index 5637c603b..000000000 Binary files a/src/agents/models/__pycache__/openai_responses.cpython-313.pyc and /dev/null differ diff --git a/src/agents/models/__pycache__/openai_responses.cpython-39.pyc b/src/agents/models/__pycache__/openai_responses.cpython-39.pyc deleted file mode 100644 index 3944c5953..000000000 Binary files a/src/agents/models/__pycache__/openai_responses.cpython-39.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/__init__.cpython-311.pyc b/src/agents/tracing/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 8d78e7663..000000000 Binary files a/src/agents/tracing/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/__init__.cpython-313.pyc b/src/agents/tracing/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 96425e4ec..000000000 Binary files a/src/agents/tracing/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/__init__.cpython-39.pyc b/src/agents/tracing/__pycache__/__init__.cpython-39.pyc deleted file mode 100644 index 63b233ae9..000000000 Binary files a/src/agents/tracing/__pycache__/__init__.cpython-39.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/_strict_schema.cpython-313.pyc b/src/agents/tracing/__pycache__/_strict_schema.cpython-313.pyc deleted file mode 100644 index 79c5357f5..000000000 Binary files a/src/agents/tracing/__pycache__/_strict_schema.cpython-313.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/create.cpython-311.pyc b/src/agents/tracing/__pycache__/create.cpython-311.pyc deleted file mode 100644 index 62b33cf35..000000000 Binary files a/src/agents/tracing/__pycache__/create.cpython-311.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/create.cpython-313.pyc b/src/agents/tracing/__pycache__/create.cpython-313.pyc deleted file mode 100644 index efa27d1ae..000000000 Binary files a/src/agents/tracing/__pycache__/create.cpython-313.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/create.cpython-39.pyc b/src/agents/tracing/__pycache__/create.cpython-39.pyc deleted file mode 100644 index 027a1e65e..000000000 Binary files a/src/agents/tracing/__pycache__/create.cpython-39.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/logger.cpython-311.pyc b/src/agents/tracing/__pycache__/logger.cpython-311.pyc deleted file mode 100644 index 07d25033a..000000000 Binary files a/src/agents/tracing/__pycache__/logger.cpython-311.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/logger.cpython-313.pyc b/src/agents/tracing/__pycache__/logger.cpython-313.pyc deleted file mode 100644 index 17e3c740e..000000000 Binary files a/src/agents/tracing/__pycache__/logger.cpython-313.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/logger.cpython-39.pyc b/src/agents/tracing/__pycache__/logger.cpython-39.pyc deleted file mode 100644 index 756e590d5..000000000 Binary files a/src/agents/tracing/__pycache__/logger.cpython-39.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/processor_interface.cpython-311.pyc b/src/agents/tracing/__pycache__/processor_interface.cpython-311.pyc deleted file mode 100644 index 5ea4cfd5d..000000000 Binary files a/src/agents/tracing/__pycache__/processor_interface.cpython-311.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/processor_interface.cpython-313.pyc b/src/agents/tracing/__pycache__/processor_interface.cpython-313.pyc deleted file mode 100644 index 7f216bc05..000000000 Binary files a/src/agents/tracing/__pycache__/processor_interface.cpython-313.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/processor_interface.cpython-39.pyc b/src/agents/tracing/__pycache__/processor_interface.cpython-39.pyc deleted file mode 100644 index 9360e4320..000000000 Binary files a/src/agents/tracing/__pycache__/processor_interface.cpython-39.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/processors.cpython-311.pyc b/src/agents/tracing/__pycache__/processors.cpython-311.pyc deleted file mode 100644 index 719f46870..000000000 Binary files a/src/agents/tracing/__pycache__/processors.cpython-311.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/processors.cpython-313.pyc b/src/agents/tracing/__pycache__/processors.cpython-313.pyc deleted file mode 100644 index da8a56646..000000000 Binary files a/src/agents/tracing/__pycache__/processors.cpython-313.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/processors.cpython-39.pyc b/src/agents/tracing/__pycache__/processors.cpython-39.pyc deleted file mode 100644 index ce8f3fae2..000000000 Binary files a/src/agents/tracing/__pycache__/processors.cpython-39.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/scope.cpython-311.pyc b/src/agents/tracing/__pycache__/scope.cpython-311.pyc deleted file mode 100644 index ca52084c4..000000000 Binary files a/src/agents/tracing/__pycache__/scope.cpython-311.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/scope.cpython-313.pyc b/src/agents/tracing/__pycache__/scope.cpython-313.pyc deleted file mode 100644 index 017851d94..000000000 Binary files a/src/agents/tracing/__pycache__/scope.cpython-313.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/scope.cpython-39.pyc b/src/agents/tracing/__pycache__/scope.cpython-39.pyc deleted file mode 100644 index 1f28b19c5..000000000 Binary files a/src/agents/tracing/__pycache__/scope.cpython-39.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/setup.cpython-311.pyc b/src/agents/tracing/__pycache__/setup.cpython-311.pyc deleted file mode 100644 index 3aed1e68d..000000000 Binary files a/src/agents/tracing/__pycache__/setup.cpython-311.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/setup.cpython-313.pyc b/src/agents/tracing/__pycache__/setup.cpython-313.pyc deleted file mode 100644 index 1d3aac14a..000000000 Binary files a/src/agents/tracing/__pycache__/setup.cpython-313.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/setup.cpython-39.pyc b/src/agents/tracing/__pycache__/setup.cpython-39.pyc deleted file mode 100644 index baf170013..000000000 Binary files a/src/agents/tracing/__pycache__/setup.cpython-39.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/span_data.cpython-311.pyc b/src/agents/tracing/__pycache__/span_data.cpython-311.pyc deleted file mode 100644 index 0cc7384ba..000000000 Binary files a/src/agents/tracing/__pycache__/span_data.cpython-311.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/span_data.cpython-313.pyc b/src/agents/tracing/__pycache__/span_data.cpython-313.pyc deleted file mode 100644 index 127efae09..000000000 Binary files a/src/agents/tracing/__pycache__/span_data.cpython-313.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/span_data.cpython-39.pyc b/src/agents/tracing/__pycache__/span_data.cpython-39.pyc deleted file mode 100644 index 6032252f3..000000000 Binary files a/src/agents/tracing/__pycache__/span_data.cpython-39.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/spans.cpython-311.pyc b/src/agents/tracing/__pycache__/spans.cpython-311.pyc deleted file mode 100644 index 156ba2345..000000000 Binary files a/src/agents/tracing/__pycache__/spans.cpython-311.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/spans.cpython-313.pyc b/src/agents/tracing/__pycache__/spans.cpython-313.pyc deleted file mode 100644 index 3a565c09d..000000000 Binary files a/src/agents/tracing/__pycache__/spans.cpython-313.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/spans.cpython-39.pyc b/src/agents/tracing/__pycache__/spans.cpython-39.pyc deleted file mode 100644 index fdf2f6e0f..000000000 Binary files a/src/agents/tracing/__pycache__/spans.cpython-39.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/traces.cpython-311.pyc b/src/agents/tracing/__pycache__/traces.cpython-311.pyc deleted file mode 100644 index 3f45b3517..000000000 Binary files a/src/agents/tracing/__pycache__/traces.cpython-311.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/traces.cpython-313.pyc b/src/agents/tracing/__pycache__/traces.cpython-313.pyc deleted file mode 100644 index 84f817db4..000000000 Binary files a/src/agents/tracing/__pycache__/traces.cpython-313.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/traces.cpython-39.pyc b/src/agents/tracing/__pycache__/traces.cpython-39.pyc deleted file mode 100644 index 7aae52b3b..000000000 Binary files a/src/agents/tracing/__pycache__/traces.cpython-39.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/util.cpython-311.pyc b/src/agents/tracing/__pycache__/util.cpython-311.pyc deleted file mode 100644 index 70a74e916..000000000 Binary files a/src/agents/tracing/__pycache__/util.cpython-311.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/util.cpython-313.pyc b/src/agents/tracing/__pycache__/util.cpython-313.pyc deleted file mode 100644 index ebc9166f8..000000000 Binary files a/src/agents/tracing/__pycache__/util.cpython-313.pyc and /dev/null differ diff --git a/src/agents/tracing/__pycache__/util.cpython-39.pyc b/src/agents/tracing/__pycache__/util.cpython-39.pyc deleted file mode 100644 index a81c2d19d..000000000 Binary files a/src/agents/tracing/__pycache__/util.cpython-39.pyc and /dev/null differ diff --git a/src/openai_agents.egg-info/PKG-INFO b/src/openai_agents.egg-info/PKG-INFO deleted file mode 100644 index ebf2d7c23..000000000 --- a/src/openai_agents.egg-info/PKG-INFO +++ /dev/null @@ -1,217 +0,0 @@ -Metadata-Version: 2.2 -Name: openai-agents -Version: 0.0.1 -Summary: OpenAI Agents SDK -Author-email: OpenAI -Project-URL: Homepage, https://github.com/openai/openai-agents-python -Project-URL: Repository, https://github.com/openai/openai-agents-python -Classifier: Typing :: Typed -Classifier: Intended Audience :: Developers -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.9 -Classifier: Programming Language :: Python :: 3.10 -Classifier: Programming Language :: Python :: 3.11 -Classifier: Programming Language :: Python :: 3.12 -Classifier: Intended Audience :: Developers -Classifier: Intended Audience :: Information Technology -Classifier: Operating System :: OS Independent -Classifier: Operating System :: POSIX -Classifier: Operating System :: MacOS -Classifier: Operating System :: POSIX :: Linux -Classifier: Operating System :: Microsoft :: Windows -Classifier: Topic :: Software Development :: Libraries :: Python Modules -Requires-Python: >=3.9 -Description-Content-Type: text/markdown -Requires-Dist: openai@ {root:parent:uri}/openai-1.30.1-py3-none-any.whl -Requires-Dist: pydantic<3,>=2.10 -Requires-Dist: griffe<2,>=1.5.6 -Requires-Dist: typing-extensions<5,>=4.12.2 -Requires-Dist: requests<3,>=2.0 -Requires-Dist: types-requests<3,>=2.0 - -# OpenAI Agents SDK - -The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows. - -### Core concepts: -1. [**Agents,**](docs/agents.md) which are LLMs configured with instructions, tools, guardrails, and handoffs -2. [**Handoffs,**](docs/handoffs.md) which allow agents to transfer control to other agents for specific tasks -3. [**Guardrails,**](docs/guardrails.md) which makes it easy to watch an agent execution and validate inputs/outputs -4. [**Tracing,**](docs/tracing.md) which automatically captures the entire agentic run, allowing you to view, debug and optimize your workflows - -Explore examples of the SDK in action in the [examples](examples) directory. - -## Using the SDK - -1. Set up python env - -``` -python -m venv env -source env/bin/activate -``` - -2. Install Agents SDK - -``` -pip install git+ssh://git@github.com/openai/agentsdk_prototype.git#subdirectory=agents -``` - -## Development (only needed if you need to edit the SDK/examples) - -0. Ensure you have [`uv`](https://docs.astral.sh/uv/) installed. - -```bash -uv --version -``` - -1. Install dependencies/setup virtual environment - -```bash -uv sync -``` - -2. Install the dependencies - -```bash -uv sync --all-extras --all-packages -``` - -3. Activate the virtual environment - -```bash -source .venv/bin/activate -``` - -## Tests - -Make sure the virtual environment is activated first. - -```bash -pytest -``` - -## Hello world example - -```py -from agents.agent import Agent -from agents.run import Runner -import asyncio - -agent = Agent( - name="Hello world", - instructions="You are a helpful agent." -) - -async def main(): - out = await Runner.run(agent, input="Hola, ¿cómo estás?") - print(out) - - -if __name__ == "__main__": - asyncio.run(main()) - -# The capital of the United States is Washington, D.C. -``` - -## Handoffs example - -```py -from agents.agent import Agent -from agents.run import Runner -import asyncio - -spanish_agent = Agent( - name="spanish_agent", - instructions="You only speak Spanish.", -) - -english_agent = Agent( - name="english_agent", - instructions="You only speak English", -) - -triage_agent = Agent( - name="triage_agent", - instructions="Handoff to the appropriate agent based on the language of the request.", - handoffs=[spanish_agent, english_agent], -) - - -async def main(): - out = await Runner.run(triage_agent, input="Hola, ¿cómo estás?") - print(out) - - -if __name__ == "__main__": - asyncio.run(main()) - -# ¡Hola! Estoy bien, gracias por preguntar. ¿Y tú, cómo estás? -``` - -## Functions example - -```python -from agents.agent import Agent -from agents.run import Runner -import asyncio -from agents.tool import function_tool - - -@function_tool -def get_weather(city: str) -> str: - print(f"Getting weather for {city}") - return f"The weather in {city} is sunny." - - -agent = Agent( - name="Hello world", - instructions="You are a helpful agent.", - tools=[get_weather], -) - - -async def main(): - out = await Runner.run(agent, input="What's the weather in Tokyo?") - print(out.final_output) - - -if __name__ == "__main__": - asyncio.run(main()) -``` - -For more complex systems, we recommend including detailed instructions about handoffs. We have a recommendation in `handoff.RECOMMENDED_PROMPT_PREFIX` that can be used to add these instructions to an agent. - -```py -agent = Agent( - ..., - instructions=f"{handoff.RECOMMENDED_PROMPT_PREFIX}\n\n{instructions}" -) -``` - -## The agent loop - -When you call `Runner.run()`, we run a loop until we get a final output. - -1. We call the LLM, using the model and settings on the agent, and the message history. -2. The LLM returns a response, which may include tool calls. -3. If the response has a final output (see below for the more on this), we return it and end the loop. -4. If the response has a handoff, we set the agent to the new agent and go back to step 1. -5. We process the tool calls (if any) and append the tool responses messsages. Then we go to step 1. - -There is a `max_turns` parameter that you can use to limit the number of times the loop executes. - -### Final output - -There are two ways to get a **final output**: - -1. If you set an `output_type` on the agent, the LLM is given a special tool called `final_output`. If it uses this tool, the output of the tool is the final output. -2. If there's no `output_type`, then we assume the final output is a string. As soon as the LLM produces a message without any tool calls, that is considered the final output. - -As a result, the mental model for the agent loop is: - -1. If the current agent has an `output_type`, the loop runs until the agent uses that tool to return the final output. -2. If the current agent does not have an `output_type`, the loop runs until the current agent produces a message without any tool calls. - -## Common agent patterns - -There are a number of useful patterns in agentic apps. There are a number of examples in [`examples/agent_patterns`](examples/agent_patterns), and we recommend reading them. diff --git a/src/openai_agents.egg-info/SOURCES.txt b/src/openai_agents.egg-info/SOURCES.txt deleted file mode 100644 index 695ad1fc1..000000000 --- a/src/openai_agents.egg-info/SOURCES.txt +++ /dev/null @@ -1,81 +0,0 @@ -README.md -pyproject.toml -src/agents/__init__.py -src/agents/_config.py -src/agents/_debug.py -src/agents/_run_impl.py -src/agents/_utils.py -src/agents/agent.py -src/agents/agent_output.py -src/agents/call_agent_tool.py -src/agents/computer.py -src/agents/exceptions.py -src/agents/function_schema.py -src/agents/guardrail.py -src/agents/handoffs.py -src/agents/items.py -src/agents/lifecycle.py -src/agents/logger.py -src/agents/model_settings.py -src/agents/result.py -src/agents/run.py -src/agents/run_context.py -src/agents/strict_schema.py -src/agents/tool.py -src/agents/usage.py -src/agents/version.py -src/agents/extensions/__init__.py -src/agents/extensions/handoff_filters.py -src/agents/extensions/handoff_prompt.py -src/agents/models/__init__.py -src/agents/models/_openai_shared.py -src/agents/models/fake_id.py -src/agents/models/interface.py -src/agents/models/map.py -src/agents/models/openai_chatcompletions.py -src/agents/models/openai_responses.py -src/agents/tracing/__init__.py -src/agents/tracing/create.py -src/agents/tracing/logger.py -src/agents/tracing/processor_interface.py -src/agents/tracing/processors.py -src/agents/tracing/scope.py -src/agents/tracing/setup.py -src/agents/tracing/span_data.py -src/agents/tracing/spans.py -src/agents/tracing/traces.py -src/agents/tracing/util.py -src/openai_agents.egg-info/PKG-INFO -src/openai_agents.egg-info/SOURCES.txt -src/openai_agents.egg-info/dependency_links.txt -src/openai_agents.egg-info/requires.txt -src/openai_agents.egg-info/top_level.txt -tests/test_agent_config.py -tests/test_agent_hooks.py -tests/test_agent_runner.py -tests/test_agent_runner_streamed.py -tests/test_agent_tracing.py -tests/test_config.py -tests/test_doc_parsing.py -tests/test_function_schema.py -tests/test_function_tool.py -tests/test_function_tool_decorator.py -tests/test_global_hooks.py -tests/test_guardrails.py -tests/test_handoff_tool.py -tests/test_items_helpers.py -tests/test_max_turns.py -tests/test_model_mapper.py -tests/test_openai_chatcompletions_converter.py -tests/test_openai_responses_converter.py -tests/test_output_tool.py -tests/test_responses.py -tests/test_run_config.py -tests/test_run_step_execution.py -tests/test_run_step_processing.py -tests/test_tool_converter.py -tests/test_trace_processor.py -tests/test_tracing.py -tests/test_tracing_errors.py -tests/test_tracing_errors_streamed.py -tests/testing_processor.py \ No newline at end of file diff --git a/src/openai_agents.egg-info/dependency_links.txt b/src/openai_agents.egg-info/dependency_links.txt deleted file mode 100644 index 8b1378917..000000000 --- a/src/openai_agents.egg-info/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/openai_agents.egg-info/requires.txt b/src/openai_agents.egg-info/requires.txt deleted file mode 100644 index 3dbad2b85..000000000 --- a/src/openai_agents.egg-info/requires.txt +++ /dev/null @@ -1,6 +0,0 @@ -openai@ {root:parent:uri}/openai-1.30.1-py3-none-any.whl -pydantic<3,>=2.10 -griffe<2,>=1.5.6 -typing-extensions<5,>=4.12.2 -requests<3,>=2.0 -types-requests<3,>=2.0 diff --git a/src/openai_agents.egg-info/top_level.txt b/src/openai_agents.egg-info/top_level.txt deleted file mode 100644 index 4a33ff62f..000000000 --- a/src/openai_agents.egg-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -agents diff --git a/tests/__pycache__/__init__.cpython-311.pyc b/tests/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 6ebfe479b..000000000 Binary files a/tests/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/tests/__pycache__/__init__.cpython-313.pyc b/tests/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 63635d77f..000000000 Binary files a/tests/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/tests/__pycache__/__init__.cpython-39.pyc b/tests/__pycache__/__init__.cpython-39.pyc deleted file mode 100644 index 8ca2739e3..000000000 Binary files a/tests/__pycache__/__init__.cpython-39.pyc and /dev/null differ diff --git a/tests/__pycache__/conftest.cpython-311-pytest-8.2.0.pyc b/tests/__pycache__/conftest.cpython-311-pytest-8.2.0.pyc deleted file mode 100644 index 124055e01..000000000 Binary files a/tests/__pycache__/conftest.cpython-311-pytest-8.2.0.pyc and /dev/null differ diff --git a/tests/__pycache__/conftest.cpython-311-pytest-8.3.4.pyc b/tests/__pycache__/conftest.cpython-311-pytest-8.3.4.pyc deleted file mode 100644 index f4936b44d..000000000 Binary files a/tests/__pycache__/conftest.cpython-311-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/conftest.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/conftest.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index 4cdf4fb82..000000000 Binary files a/tests/__pycache__/conftest.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/conftest.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/conftest.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 5d41f1d7f..000000000 Binary files a/tests/__pycache__/conftest.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/conftest.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/conftest.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index 96b6d263c..000000000 Binary files a/tests/__pycache__/conftest.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/conftest.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/conftest.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 758ab7c53..000000000 Binary files a/tests/__pycache__/conftest.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/fake_model.cpython-313.pyc b/tests/__pycache__/fake_model.cpython-313.pyc deleted file mode 100644 index db9a727c2..000000000 Binary files a/tests/__pycache__/fake_model.cpython-313.pyc and /dev/null differ diff --git a/tests/__pycache__/fake_model.cpython-39.pyc b/tests/__pycache__/fake_model.cpython-39.pyc deleted file mode 100644 index 09d5140a6..000000000 Binary files a/tests/__pycache__/fake_model.cpython-39.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_config.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_agent_config.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index 0f9b82301..000000000 Binary files a/tests/__pycache__/test_agent_config.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_config.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_agent_config.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 3a2792921..000000000 Binary files a/tests/__pycache__/test_agent_config.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_config.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_agent_config.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index 7208114a0..000000000 Binary files a/tests/__pycache__/test_agent_config.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_config.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_agent_config.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 4c8cce40e..000000000 Binary files a/tests/__pycache__/test_agent_config.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_hooks.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_agent_hooks.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index 680275dfb..000000000 Binary files a/tests/__pycache__/test_agent_hooks.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_hooks.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_agent_hooks.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 8abba76e2..000000000 Binary files a/tests/__pycache__/test_agent_hooks.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_hooks.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_agent_hooks.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index a7a415b55..000000000 Binary files a/tests/__pycache__/test_agent_hooks.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_hooks.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_agent_hooks.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 37d3bdff0..000000000 Binary files a/tests/__pycache__/test_agent_hooks.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_runner.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_agent_runner.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index ab8091c1e..000000000 Binary files a/tests/__pycache__/test_agent_runner.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_runner.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_agent_runner.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 355e69b6e..000000000 Binary files a/tests/__pycache__/test_agent_runner.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_runner.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_agent_runner.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index a88334aa6..000000000 Binary files a/tests/__pycache__/test_agent_runner.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_runner.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_agent_runner.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 53bf89a2f..000000000 Binary files a/tests/__pycache__/test_agent_runner.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_runner_streamed.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_agent_runner_streamed.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index f894581a8..000000000 Binary files a/tests/__pycache__/test_agent_runner_streamed.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_runner_streamed.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_agent_runner_streamed.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 60ae2694a..000000000 Binary files a/tests/__pycache__/test_agent_runner_streamed.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_runner_streamed.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_agent_runner_streamed.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index 63c58a50d..000000000 Binary files a/tests/__pycache__/test_agent_runner_streamed.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_runner_streamed.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_agent_runner_streamed.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index a83fc93df..000000000 Binary files a/tests/__pycache__/test_agent_runner_streamed.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_runner_streamed_warnings.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_agent_runner_streamed_warnings.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index 322e4dd9e..000000000 Binary files a/tests/__pycache__/test_agent_runner_streamed_warnings.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_tracing.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_agent_tracing.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index 39ac0c2ba..000000000 Binary files a/tests/__pycache__/test_agent_tracing.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_tracing.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_agent_tracing.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 699761f3c..000000000 Binary files a/tests/__pycache__/test_agent_tracing.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_tracing.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_agent_tracing.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index 11647b7f1..000000000 Binary files a/tests/__pycache__/test_agent_tracing.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_agent_tracing.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_agent_tracing.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 8752149f2..000000000 Binary files a/tests/__pycache__/test_agent_tracing.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_computer_action.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_computer_action.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 1ae95a8c4..000000000 Binary files a/tests/__pycache__/test_computer_action.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_computer_action.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_computer_action.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index a99b7e8fb..000000000 Binary files a/tests/__pycache__/test_computer_action.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_config.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_config.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 4683d9e25..000000000 Binary files a/tests/__pycache__/test_config.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_config.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_config.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 6c7c90ed1..000000000 Binary files a/tests/__pycache__/test_config.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_doc_parsing.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_doc_parsing.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index 27b300af6..000000000 Binary files a/tests/__pycache__/test_doc_parsing.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_doc_parsing.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_doc_parsing.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 3cc666fd1..000000000 Binary files a/tests/__pycache__/test_doc_parsing.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_doc_parsing.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_doc_parsing.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index e75946118..000000000 Binary files a/tests/__pycache__/test_doc_parsing.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_doc_parsing.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_doc_parsing.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 9826a1ea0..000000000 Binary files a/tests/__pycache__/test_doc_parsing.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_extension_filters.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_extension_filters.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index a0bc4e2f4..000000000 Binary files a/tests/__pycache__/test_extension_filters.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_extension_filters.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_extension_filters.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index b06885b07..000000000 Binary files a/tests/__pycache__/test_extension_filters.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_function_schema.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_function_schema.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index 73e2e5145..000000000 Binary files a/tests/__pycache__/test_function_schema.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_function_schema.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_function_schema.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 1e044c3ef..000000000 Binary files a/tests/__pycache__/test_function_schema.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_function_schema.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_function_schema.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index 043ac5dae..000000000 Binary files a/tests/__pycache__/test_function_schema.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_function_schema.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_function_schema.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index fd1e86997..000000000 Binary files a/tests/__pycache__/test_function_schema.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_function_tool.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_function_tool.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index 1078b4227..000000000 Binary files a/tests/__pycache__/test_function_tool.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_function_tool.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_function_tool.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index d20e59acb..000000000 Binary files a/tests/__pycache__/test_function_tool.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_function_tool.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_function_tool.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index 2bd74c73a..000000000 Binary files a/tests/__pycache__/test_function_tool.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_function_tool.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_function_tool.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 95d02f289..000000000 Binary files a/tests/__pycache__/test_function_tool.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_function_tool_decorator.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_function_tool_decorator.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index d13db5d81..000000000 Binary files a/tests/__pycache__/test_function_tool_decorator.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_function_tool_decorator.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_function_tool_decorator.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 27c85537b..000000000 Binary files a/tests/__pycache__/test_function_tool_decorator.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_global_hooks.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_global_hooks.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index 5130ea0fc..000000000 Binary files a/tests/__pycache__/test_global_hooks.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_global_hooks.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_global_hooks.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index d8ef217f0..000000000 Binary files a/tests/__pycache__/test_global_hooks.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_global_hooks.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_global_hooks.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index a56645758..000000000 Binary files a/tests/__pycache__/test_global_hooks.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_global_hooks.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_global_hooks.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 9ed2fd4c9..000000000 Binary files a/tests/__pycache__/test_global_hooks.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_guardrails.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_guardrails.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index 1b10047ee..000000000 Binary files a/tests/__pycache__/test_guardrails.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_guardrails.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_guardrails.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index a3d50b43a..000000000 Binary files a/tests/__pycache__/test_guardrails.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_guardrails.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_guardrails.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index 6ab86d909..000000000 Binary files a/tests/__pycache__/test_guardrails.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_guardrails.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_guardrails.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index ec9cb415c..000000000 Binary files a/tests/__pycache__/test_guardrails.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_handoff_tool.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_handoff_tool.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index c8f165004..000000000 Binary files a/tests/__pycache__/test_handoff_tool.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_handoff_tool.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_handoff_tool.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 036bdfb94..000000000 Binary files a/tests/__pycache__/test_handoff_tool.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_handoff_tool.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_handoff_tool.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index 0dc8b124a..000000000 Binary files a/tests/__pycache__/test_handoff_tool.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_handoff_tool.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_handoff_tool.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index e4130b0be..000000000 Binary files a/tests/__pycache__/test_handoff_tool.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_items_helpers.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_items_helpers.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 2cf86c007..000000000 Binary files a/tests/__pycache__/test_items_helpers.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_items_helpers.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_items_helpers.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 2db1092dd..000000000 Binary files a/tests/__pycache__/test_items_helpers.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_lifecycle.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_lifecycle.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index c305861ff..000000000 Binary files a/tests/__pycache__/test_lifecycle.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_max_turns.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_max_turns.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index 55703becc..000000000 Binary files a/tests/__pycache__/test_max_turns.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_max_turns.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_max_turns.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 9029b7797..000000000 Binary files a/tests/__pycache__/test_max_turns.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_max_turns.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_max_turns.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index 86c7081a7..000000000 Binary files a/tests/__pycache__/test_max_turns.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_max_turns.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_max_turns.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 75d930e78..000000000 Binary files a/tests/__pycache__/test_max_turns.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_model_mapper.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_model_mapper.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index c3f1c0ed8..000000000 Binary files a/tests/__pycache__/test_model_mapper.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_model_mapper.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_model_mapper.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 39b502b23..000000000 Binary files a/tests/__pycache__/test_model_mapper.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_model_mapper.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_model_mapper.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index 87a8e2cd8..000000000 Binary files a/tests/__pycache__/test_model_mapper.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_model_mapper.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_model_mapper.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 16b5c5ff1..000000000 Binary files a/tests/__pycache__/test_model_mapper.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_openai_chatcompletions.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_openai_chatcompletions.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index a03594151..000000000 Binary files a/tests/__pycache__/test_openai_chatcompletions.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_openai_chatcompletions.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_openai_chatcompletions.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 165b9bf8a..000000000 Binary files a/tests/__pycache__/test_openai_chatcompletions.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_openai_chatcompletions_converter.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_openai_chatcompletions_converter.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index d96f09421..000000000 Binary files a/tests/__pycache__/test_openai_chatcompletions_converter.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_openai_chatcompletions_converter.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_openai_chatcompletions_converter.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 5c8832808..000000000 Binary files a/tests/__pycache__/test_openai_chatcompletions_converter.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_openai_chatcompletions_get_response.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_openai_chatcompletions_get_response.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 0c1a130fd..000000000 Binary files a/tests/__pycache__/test_openai_chatcompletions_get_response.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_openai_chatcompletions_stream.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_openai_chatcompletions_stream.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 95d3cb392..000000000 Binary files a/tests/__pycache__/test_openai_chatcompletions_stream.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_openai_chatcompletions_stream.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_openai_chatcompletions_stream.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index c57882eb5..000000000 Binary files a/tests/__pycache__/test_openai_chatcompletions_stream.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_openai_responses_converter.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_openai_responses_converter.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index ede5c418c..000000000 Binary files a/tests/__pycache__/test_openai_responses_converter.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_openai_responses_converter.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_openai_responses_converter.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index de9f045c9..000000000 Binary files a/tests/__pycache__/test_openai_responses_converter.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_output_tool.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_output_tool.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index b66985228..000000000 Binary files a/tests/__pycache__/test_output_tool.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_output_tool.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_output_tool.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 8fb7794ae..000000000 Binary files a/tests/__pycache__/test_output_tool.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_output_tool.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_output_tool.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index bac2bde1f..000000000 Binary files a/tests/__pycache__/test_output_tool.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_output_tool.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_output_tool.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 3d818912d..000000000 Binary files a/tests/__pycache__/test_output_tool.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_responses.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_responses.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index d88ce6c91..000000000 Binary files a/tests/__pycache__/test_responses.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_responses.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_responses.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 4729f3c12..000000000 Binary files a/tests/__pycache__/test_responses.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_responses.cpython-313.pyc b/tests/__pycache__/test_responses.cpython-313.pyc deleted file mode 100644 index 5a64d5830..000000000 Binary files a/tests/__pycache__/test_responses.cpython-313.pyc and /dev/null differ diff --git a/tests/__pycache__/test_responses.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_responses.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index f14356d97..000000000 Binary files a/tests/__pycache__/test_responses.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_responses.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_responses.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index c8fba38c1..000000000 Binary files a/tests/__pycache__/test_responses.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_responses_tracing.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_responses_tracing.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index e83286c9d..000000000 Binary files a/tests/__pycache__/test_responses_tracing.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_responses_tracing.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_responses_tracing.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 1f2f4123b..000000000 Binary files a/tests/__pycache__/test_responses_tracing.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_result_cast.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_result_cast.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 694aa15ae..000000000 Binary files a/tests/__pycache__/test_result_cast.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_result_cast.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_result_cast.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 30a15d537..000000000 Binary files a/tests/__pycache__/test_result_cast.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_run_config.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_run_config.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index f5802ed05..000000000 Binary files a/tests/__pycache__/test_run_config.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_run_config.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_run_config.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 38ac10cb9..000000000 Binary files a/tests/__pycache__/test_run_config.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_run_config.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_run_config.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index 174b66e4a..000000000 Binary files a/tests/__pycache__/test_run_config.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_run_config.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_run_config.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index af9dfb781..000000000 Binary files a/tests/__pycache__/test_run_config.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_run_step_execution.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_run_step_execution.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index 8df2dc032..000000000 Binary files a/tests/__pycache__/test_run_step_execution.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_run_step_execution.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_run_step_execution.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 345762b8d..000000000 Binary files a/tests/__pycache__/test_run_step_execution.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_run_step_execution.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_run_step_execution.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index 4fae6dc09..000000000 Binary files a/tests/__pycache__/test_run_step_execution.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_run_step_execution.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_run_step_execution.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index ca24aead2..000000000 Binary files a/tests/__pycache__/test_run_step_execution.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_run_step_processing.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_run_step_processing.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index 3e2e84614..000000000 Binary files a/tests/__pycache__/test_run_step_processing.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_run_step_processing.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_run_step_processing.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index ee7266a9f..000000000 Binary files a/tests/__pycache__/test_run_step_processing.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_run_step_processing.cpython-313.pyc b/tests/__pycache__/test_run_step_processing.cpython-313.pyc deleted file mode 100644 index c5f79ff3a..000000000 Binary files a/tests/__pycache__/test_run_step_processing.cpython-313.pyc and /dev/null differ diff --git a/tests/__pycache__/test_run_step_processing.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_run_step_processing.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index 6ea87e7f9..000000000 Binary files a/tests/__pycache__/test_run_step_processing.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_run_step_processing.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_run_step_processing.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 602fdce5c..000000000 Binary files a/tests/__pycache__/test_run_step_processing.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_strict_schema.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_strict_schema.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index f0e7e7c31..000000000 Binary files a/tests/__pycache__/test_strict_schema.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_strict_schema.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_strict_schema.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 28d5086d1..000000000 Binary files a/tests/__pycache__/test_strict_schema.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_tool_converter.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_tool_converter.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index 821318171..000000000 Binary files a/tests/__pycache__/test_tool_converter.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_tool_converter.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_tool_converter.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index f1783da50..000000000 Binary files a/tests/__pycache__/test_tool_converter.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_tool_converter.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_tool_converter.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index 982676070..000000000 Binary files a/tests/__pycache__/test_tool_converter.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_tool_converter.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_tool_converter.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index ca0f0ed49..000000000 Binary files a/tests/__pycache__/test_tool_converter.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_trace_processor.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_trace_processor.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index d6cdc5a60..000000000 Binary files a/tests/__pycache__/test_trace_processor.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_trace_processor.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_trace_processor.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 11601684a..000000000 Binary files a/tests/__pycache__/test_trace_processor.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_trace_processor.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_trace_processor.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index e8d3e12e0..000000000 Binary files a/tests/__pycache__/test_trace_processor.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_trace_processor.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_trace_processor.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 2925c4035..000000000 Binary files a/tests/__pycache__/test_trace_processor.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_tracing.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_tracing.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index 379aa7f81..000000000 Binary files a/tests/__pycache__/test_tracing.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_tracing.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_tracing.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 40a58954b..000000000 Binary files a/tests/__pycache__/test_tracing.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_tracing.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_tracing.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index 999e38941..000000000 Binary files a/tests/__pycache__/test_tracing.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_tracing.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_tracing.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index dc92ec4fa..000000000 Binary files a/tests/__pycache__/test_tracing.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_tracing_errors.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_tracing_errors.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index bedc4f5d9..000000000 Binary files a/tests/__pycache__/test_tracing_errors.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_tracing_errors.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_tracing_errors.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index d6fc80e9a..000000000 Binary files a/tests/__pycache__/test_tracing_errors.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_tracing_errors.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_tracing_errors.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index b7b9429d9..000000000 Binary files a/tests/__pycache__/test_tracing_errors.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_tracing_errors.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_tracing_errors.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index 16af2c316..000000000 Binary files a/tests/__pycache__/test_tracing_errors.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_tracing_errors_streamed.cpython-313-pytest-8.3.4.pyc b/tests/__pycache__/test_tracing_errors_streamed.cpython-313-pytest-8.3.4.pyc deleted file mode 100644 index b4ecdf7fc..000000000 Binary files a/tests/__pycache__/test_tracing_errors_streamed.cpython-313-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_tracing_errors_streamed.cpython-313-pytest-8.3.5.pyc b/tests/__pycache__/test_tracing_errors_streamed.cpython-313-pytest-8.3.5.pyc deleted file mode 100644 index 385eb1cb5..000000000 Binary files a/tests/__pycache__/test_tracing_errors_streamed.cpython-313-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/test_tracing_errors_streamed.cpython-39-pytest-8.3.4.pyc b/tests/__pycache__/test_tracing_errors_streamed.cpython-39-pytest-8.3.4.pyc deleted file mode 100644 index 61d6378ad..000000000 Binary files a/tests/__pycache__/test_tracing_errors_streamed.cpython-39-pytest-8.3.4.pyc and /dev/null differ diff --git a/tests/__pycache__/test_tracing_errors_streamed.cpython-39-pytest-8.3.5.pyc b/tests/__pycache__/test_tracing_errors_streamed.cpython-39-pytest-8.3.5.pyc deleted file mode 100644 index f53671712..000000000 Binary files a/tests/__pycache__/test_tracing_errors_streamed.cpython-39-pytest-8.3.5.pyc and /dev/null differ diff --git a/tests/__pycache__/testing_processor.cpython-313.pyc b/tests/__pycache__/testing_processor.cpython-313.pyc deleted file mode 100644 index dd656293d..000000000 Binary files a/tests/__pycache__/testing_processor.cpython-313.pyc and /dev/null differ diff --git a/tests/__pycache__/testing_processor.cpython-39.pyc b/tests/__pycache__/testing_processor.cpython-39.pyc deleted file mode 100644 index dac08bae9..000000000 Binary files a/tests/__pycache__/testing_processor.cpython-39.pyc and /dev/null differ diff --git a/tests/examples/__pycache__/__init__.cpython-313.pyc b/tests/examples/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index b69004789..000000000 Binary files a/tests/examples/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/tests/examples/research_bot/__pycache__/__init__.cpython-313.pyc b/tests/examples/research_bot/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 3d1acc93f..000000000 Binary files a/tests/examples/research_bot/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/tests/examples/research_bot/__pycache__/main.cpython-313.pyc b/tests/examples/research_bot/__pycache__/main.cpython-313.pyc deleted file mode 100644 index 394e4629a..000000000 Binary files a/tests/examples/research_bot/__pycache__/main.cpython-313.pyc and /dev/null differ diff --git a/tests/examples/research_bot/__pycache__/manager.cpython-313.pyc b/tests/examples/research_bot/__pycache__/manager.cpython-313.pyc deleted file mode 100644 index aaef5dea1..000000000 Binary files a/tests/examples/research_bot/__pycache__/manager.cpython-313.pyc and /dev/null differ diff --git a/tests/examples/research_bot/__pycache__/printer.cpython-313.pyc b/tests/examples/research_bot/__pycache__/printer.cpython-313.pyc deleted file mode 100644 index 3e9ac76c9..000000000 Binary files a/tests/examples/research_bot/__pycache__/printer.cpython-313.pyc and /dev/null differ diff --git a/tests/examples/research_bot/agents/__pycache__/__init__.cpython-313.pyc b/tests/examples/research_bot/agents/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index a094b5a53..000000000 Binary files a/tests/examples/research_bot/agents/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/tests/examples/research_bot/agents/__pycache__/base_agent.cpython-313.pyc b/tests/examples/research_bot/agents/__pycache__/base_agent.cpython-313.pyc deleted file mode 100644 index f33d41887..000000000 Binary files a/tests/examples/research_bot/agents/__pycache__/base_agent.cpython-313.pyc and /dev/null differ diff --git a/tests/examples/research_bot/agents/__pycache__/planner_agent.cpython-313.pyc b/tests/examples/research_bot/agents/__pycache__/planner_agent.cpython-313.pyc deleted file mode 100644 index b836aacce..000000000 Binary files a/tests/examples/research_bot/agents/__pycache__/planner_agent.cpython-313.pyc and /dev/null differ diff --git a/tests/examples/research_bot/agents/__pycache__/research_manager_agent.cpython-313.pyc b/tests/examples/research_bot/agents/__pycache__/research_manager_agent.cpython-313.pyc deleted file mode 100644 index edc3f5ff5..000000000 Binary files a/tests/examples/research_bot/agents/__pycache__/research_manager_agent.cpython-313.pyc and /dev/null differ diff --git a/tests/examples/research_bot/agents/__pycache__/search_agent.cpython-313.pyc b/tests/examples/research_bot/agents/__pycache__/search_agent.cpython-313.pyc deleted file mode 100644 index b3281242f..000000000 Binary files a/tests/examples/research_bot/agents/__pycache__/search_agent.cpython-313.pyc and /dev/null differ diff --git a/tests/examples/research_bot/agents/__pycache__/summarization_agent.cpython-313.pyc b/tests/examples/research_bot/agents/__pycache__/summarization_agent.cpython-313.pyc deleted file mode 100644 index b809d7c5a..000000000 Binary files a/tests/examples/research_bot/agents/__pycache__/summarization_agent.cpython-313.pyc and /dev/null differ diff --git a/tests/examples/research_bot/agents/__pycache__/writer_agent.cpython-313.pyc b/tests/examples/research_bot/agents/__pycache__/writer_agent.cpython-313.pyc deleted file mode 100644 index be550b1ef..000000000 Binary files a/tests/examples/research_bot/agents/__pycache__/writer_agent.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/__init__.cpython-311.pyc b/tests/src/agents/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index daf05e7ea..000000000 Binary files a/tests/src/agents/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/__init__.cpython-313.pyc b/tests/src/agents/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index a1c330f1c..000000000 Binary files a/tests/src/agents/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/__init__.cpython-39.pyc b/tests/src/agents/__pycache__/__init__.cpython-39.pyc deleted file mode 100644 index 99cabb179..000000000 Binary files a/tests/src/agents/__pycache__/__init__.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/_config.cpython-311.pyc b/tests/src/agents/__pycache__/_config.cpython-311.pyc deleted file mode 100644 index 6fd0d6a77..000000000 Binary files a/tests/src/agents/__pycache__/_config.cpython-311.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/_config.cpython-313.pyc b/tests/src/agents/__pycache__/_config.cpython-313.pyc deleted file mode 100644 index 25b6ae85b..000000000 Binary files a/tests/src/agents/__pycache__/_config.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/_config.cpython-39.pyc b/tests/src/agents/__pycache__/_config.cpython-39.pyc deleted file mode 100644 index 382130561..000000000 Binary files a/tests/src/agents/__pycache__/_config.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/_debug.cpython-313.pyc b/tests/src/agents/__pycache__/_debug.cpython-313.pyc deleted file mode 100644 index e95877370..000000000 Binary files a/tests/src/agents/__pycache__/_debug.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/_debug.cpython-39.pyc b/tests/src/agents/__pycache__/_debug.cpython-39.pyc deleted file mode 100644 index b32ba66b7..000000000 Binary files a/tests/src/agents/__pycache__/_debug.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/_run_impl.cpython-313.pyc b/tests/src/agents/__pycache__/_run_impl.cpython-313.pyc deleted file mode 100644 index 76570e7de..000000000 Binary files a/tests/src/agents/__pycache__/_run_impl.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/_run_impl.cpython-39.pyc b/tests/src/agents/__pycache__/_run_impl.cpython-39.pyc deleted file mode 100644 index 7d04233a0..000000000 Binary files a/tests/src/agents/__pycache__/_run_impl.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/_strict_schema.cpython-313.pyc b/tests/src/agents/__pycache__/_strict_schema.cpython-313.pyc deleted file mode 100644 index 54b08cff5..000000000 Binary files a/tests/src/agents/__pycache__/_strict_schema.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/_utils.cpython-313.pyc b/tests/src/agents/__pycache__/_utils.cpython-313.pyc deleted file mode 100644 index a45d8f77f..000000000 Binary files a/tests/src/agents/__pycache__/_utils.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/_utils.cpython-39.pyc b/tests/src/agents/__pycache__/_utils.cpython-39.pyc deleted file mode 100644 index 999be2826..000000000 Binary files a/tests/src/agents/__pycache__/_utils.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/agent.cpython-311.pyc b/tests/src/agents/__pycache__/agent.cpython-311.pyc deleted file mode 100644 index 3579bbede..000000000 Binary files a/tests/src/agents/__pycache__/agent.cpython-311.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/agent.cpython-313.pyc b/tests/src/agents/__pycache__/agent.cpython-313.pyc deleted file mode 100644 index 4342a13a6..000000000 Binary files a/tests/src/agents/__pycache__/agent.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/agent.cpython-39.pyc b/tests/src/agents/__pycache__/agent.cpython-39.pyc deleted file mode 100644 index 6d7f8f1d2..000000000 Binary files a/tests/src/agents/__pycache__/agent.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/agent_output.cpython-313.pyc b/tests/src/agents/__pycache__/agent_output.cpython-313.pyc deleted file mode 100644 index e87ae3f18..000000000 Binary files a/tests/src/agents/__pycache__/agent_output.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/agent_output.cpython-39.pyc b/tests/src/agents/__pycache__/agent_output.cpython-39.pyc deleted file mode 100644 index bfe37ef8d..000000000 Binary files a/tests/src/agents/__pycache__/agent_output.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/call_agent_tool.cpython-313.pyc b/tests/src/agents/__pycache__/call_agent_tool.cpython-313.pyc deleted file mode 100644 index 281eefcbf..000000000 Binary files a/tests/src/agents/__pycache__/call_agent_tool.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/call_agent_tool.cpython-39.pyc b/tests/src/agents/__pycache__/call_agent_tool.cpython-39.pyc deleted file mode 100644 index 3502ff978..000000000 Binary files a/tests/src/agents/__pycache__/call_agent_tool.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/computer.cpython-313.pyc b/tests/src/agents/__pycache__/computer.cpython-313.pyc deleted file mode 100644 index 871935a26..000000000 Binary files a/tests/src/agents/__pycache__/computer.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/computer.cpython-39.pyc b/tests/src/agents/__pycache__/computer.cpython-39.pyc deleted file mode 100644 index 8bfc37b5e..000000000 Binary files a/tests/src/agents/__pycache__/computer.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/exceptions.cpython-311.pyc b/tests/src/agents/__pycache__/exceptions.cpython-311.pyc deleted file mode 100644 index 4d851c8e1..000000000 Binary files a/tests/src/agents/__pycache__/exceptions.cpython-311.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/exceptions.cpython-313.pyc b/tests/src/agents/__pycache__/exceptions.cpython-313.pyc deleted file mode 100644 index 7ae5d4cf9..000000000 Binary files a/tests/src/agents/__pycache__/exceptions.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/exceptions.cpython-39.pyc b/tests/src/agents/__pycache__/exceptions.cpython-39.pyc deleted file mode 100644 index b82c80ccd..000000000 Binary files a/tests/src/agents/__pycache__/exceptions.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/function_schema.cpython-313.pyc b/tests/src/agents/__pycache__/function_schema.cpython-313.pyc deleted file mode 100644 index 97ee533f3..000000000 Binary files a/tests/src/agents/__pycache__/function_schema.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/function_schema.cpython-39.pyc b/tests/src/agents/__pycache__/function_schema.cpython-39.pyc deleted file mode 100644 index d2fbd3dd7..000000000 Binary files a/tests/src/agents/__pycache__/function_schema.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/guardrail.cpython-311.pyc b/tests/src/agents/__pycache__/guardrail.cpython-311.pyc deleted file mode 100644 index 5a7e4dfeb..000000000 Binary files a/tests/src/agents/__pycache__/guardrail.cpython-311.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/guardrail.cpython-313.pyc b/tests/src/agents/__pycache__/guardrail.cpython-313.pyc deleted file mode 100644 index ac7e9800a..000000000 Binary files a/tests/src/agents/__pycache__/guardrail.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/guardrail.cpython-39.pyc b/tests/src/agents/__pycache__/guardrail.cpython-39.pyc deleted file mode 100644 index 99fcf761b..000000000 Binary files a/tests/src/agents/__pycache__/guardrail.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/guardrail_base.cpython-313.pyc b/tests/src/agents/__pycache__/guardrail_base.cpython-313.pyc deleted file mode 100644 index 525e91e8b..000000000 Binary files a/tests/src/agents/__pycache__/guardrail_base.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/guardrail_base.cpython-39.pyc b/tests/src/agents/__pycache__/guardrail_base.cpython-39.pyc deleted file mode 100644 index 400cd36c8..000000000 Binary files a/tests/src/agents/__pycache__/guardrail_base.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/guardrails.cpython-313.pyc b/tests/src/agents/__pycache__/guardrails.cpython-313.pyc deleted file mode 100644 index bec8e3f80..000000000 Binary files a/tests/src/agents/__pycache__/guardrails.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/handoff.cpython-313.pyc b/tests/src/agents/__pycache__/handoff.cpython-313.pyc deleted file mode 100644 index 5442e4196..000000000 Binary files a/tests/src/agents/__pycache__/handoff.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/handoff.cpython-39.pyc b/tests/src/agents/__pycache__/handoff.cpython-39.pyc deleted file mode 100644 index 753a02eaf..000000000 Binary files a/tests/src/agents/__pycache__/handoff.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/handoffs.cpython-313.pyc b/tests/src/agents/__pycache__/handoffs.cpython-313.pyc deleted file mode 100644 index 47bd08b97..000000000 Binary files a/tests/src/agents/__pycache__/handoffs.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/handoffs.cpython-39.pyc b/tests/src/agents/__pycache__/handoffs.cpython-39.pyc deleted file mode 100644 index a2f2c7577..000000000 Binary files a/tests/src/agents/__pycache__/handoffs.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/items.cpython-311.pyc b/tests/src/agents/__pycache__/items.cpython-311.pyc deleted file mode 100644 index 6b0149fe5..000000000 Binary files a/tests/src/agents/__pycache__/items.cpython-311.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/items.cpython-313.pyc b/tests/src/agents/__pycache__/items.cpython-313.pyc deleted file mode 100644 index fe2d7594b..000000000 Binary files a/tests/src/agents/__pycache__/items.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/items.cpython-39.pyc b/tests/src/agents/__pycache__/items.cpython-39.pyc deleted file mode 100644 index 386003258..000000000 Binary files a/tests/src/agents/__pycache__/items.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/lifecycle.cpython-313.pyc b/tests/src/agents/__pycache__/lifecycle.cpython-313.pyc deleted file mode 100644 index 76fad066a..000000000 Binary files a/tests/src/agents/__pycache__/lifecycle.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/lifecycle.cpython-39.pyc b/tests/src/agents/__pycache__/lifecycle.cpython-39.pyc deleted file mode 100644 index 2f9b1a14c..000000000 Binary files a/tests/src/agents/__pycache__/lifecycle.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/logger.cpython-313.pyc b/tests/src/agents/__pycache__/logger.cpython-313.pyc deleted file mode 100644 index 663224c8c..000000000 Binary files a/tests/src/agents/__pycache__/logger.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/logger.cpython-39.pyc b/tests/src/agents/__pycache__/logger.cpython-39.pyc deleted file mode 100644 index 5642df7d7..000000000 Binary files a/tests/src/agents/__pycache__/logger.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/model_settings.cpython-313.pyc b/tests/src/agents/__pycache__/model_settings.cpython-313.pyc deleted file mode 100644 index 88efd70a7..000000000 Binary files a/tests/src/agents/__pycache__/model_settings.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/model_settings.cpython-39.pyc b/tests/src/agents/__pycache__/model_settings.cpython-39.pyc deleted file mode 100644 index 6c57aaa8a..000000000 Binary files a/tests/src/agents/__pycache__/model_settings.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/output_tool.cpython-313.pyc b/tests/src/agents/__pycache__/output_tool.cpython-313.pyc deleted file mode 100644 index 3569e3351..000000000 Binary files a/tests/src/agents/__pycache__/output_tool.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/output_tool.cpython-39.pyc b/tests/src/agents/__pycache__/output_tool.cpython-39.pyc deleted file mode 100644 index 3bc8d2e53..000000000 Binary files a/tests/src/agents/__pycache__/output_tool.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/result.cpython-313.pyc b/tests/src/agents/__pycache__/result.cpython-313.pyc deleted file mode 100644 index bbe643e18..000000000 Binary files a/tests/src/agents/__pycache__/result.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/result.cpython-39.pyc b/tests/src/agents/__pycache__/result.cpython-39.pyc deleted file mode 100644 index 638fdbb37..000000000 Binary files a/tests/src/agents/__pycache__/result.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/run.cpython-313.pyc b/tests/src/agents/__pycache__/run.cpython-313.pyc deleted file mode 100644 index 9f5f3c1e0..000000000 Binary files a/tests/src/agents/__pycache__/run.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/run.cpython-39.pyc b/tests/src/agents/__pycache__/run.cpython-39.pyc deleted file mode 100644 index d4ed923e1..000000000 Binary files a/tests/src/agents/__pycache__/run.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/run_context.cpython-313.pyc b/tests/src/agents/__pycache__/run_context.cpython-313.pyc deleted file mode 100644 index 4ac6e93c2..000000000 Binary files a/tests/src/agents/__pycache__/run_context.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/run_context.cpython-39.pyc b/tests/src/agents/__pycache__/run_context.cpython-39.pyc deleted file mode 100644 index cad1ca87c..000000000 Binary files a/tests/src/agents/__pycache__/run_context.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/stream_events.cpython-313.pyc b/tests/src/agents/__pycache__/stream_events.cpython-313.pyc deleted file mode 100644 index 4d488fdb8..000000000 Binary files a/tests/src/agents/__pycache__/stream_events.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/stream_events.cpython-39.pyc b/tests/src/agents/__pycache__/stream_events.cpython-39.pyc deleted file mode 100644 index 54f102cbd..000000000 Binary files a/tests/src/agents/__pycache__/stream_events.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/strict_schema.cpython-313.pyc b/tests/src/agents/__pycache__/strict_schema.cpython-313.pyc deleted file mode 100644 index dbc86f245..000000000 Binary files a/tests/src/agents/__pycache__/strict_schema.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/strict_schema.cpython-39.pyc b/tests/src/agents/__pycache__/strict_schema.cpython-39.pyc deleted file mode 100644 index e855ab457..000000000 Binary files a/tests/src/agents/__pycache__/strict_schema.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/tool.cpython-313.pyc b/tests/src/agents/__pycache__/tool.cpython-313.pyc deleted file mode 100644 index c3380a6b5..000000000 Binary files a/tests/src/agents/__pycache__/tool.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/tool.cpython-39.pyc b/tests/src/agents/__pycache__/tool.cpython-39.pyc deleted file mode 100644 index d78bad327..000000000 Binary files a/tests/src/agents/__pycache__/tool.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/tool_converter.cpython-313.pyc b/tests/src/agents/__pycache__/tool_converter.cpython-313.pyc deleted file mode 100644 index e6400c54d..000000000 Binary files a/tests/src/agents/__pycache__/tool_converter.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/tool_converter.cpython-39.pyc b/tests/src/agents/__pycache__/tool_converter.cpython-39.pyc deleted file mode 100644 index 9ee20bd45..000000000 Binary files a/tests/src/agents/__pycache__/tool_converter.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/usage.cpython-313.pyc b/tests/src/agents/__pycache__/usage.cpython-313.pyc deleted file mode 100644 index 16617abff..000000000 Binary files a/tests/src/agents/__pycache__/usage.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/usage.cpython-39.pyc b/tests/src/agents/__pycache__/usage.cpython-39.pyc deleted file mode 100644 index f9d493948..000000000 Binary files a/tests/src/agents/__pycache__/usage.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/version.cpython-313.pyc b/tests/src/agents/__pycache__/version.cpython-313.pyc deleted file mode 100644 index 6a204a7a1..000000000 Binary files a/tests/src/agents/__pycache__/version.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/__pycache__/version.cpython-39.pyc b/tests/src/agents/__pycache__/version.cpython-39.pyc deleted file mode 100644 index 77e7970b8..000000000 Binary files a/tests/src/agents/__pycache__/version.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/extensions/__pycache__/__init__.cpython-313.pyc b/tests/src/agents/extensions/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index bc837fb11..000000000 Binary files a/tests/src/agents/extensions/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/extensions/__pycache__/__init__.cpython-39.pyc b/tests/src/agents/extensions/__pycache__/__init__.cpython-39.pyc deleted file mode 100644 index 5e72c0c89..000000000 Binary files a/tests/src/agents/extensions/__pycache__/__init__.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/extensions/__pycache__/handoff_filters.cpython-313.pyc b/tests/src/agents/extensions/__pycache__/handoff_filters.cpython-313.pyc deleted file mode 100644 index bc28a3cf0..000000000 Binary files a/tests/src/agents/extensions/__pycache__/handoff_filters.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/extensions/__pycache__/handoff_filters.cpython-39.pyc b/tests/src/agents/extensions/__pycache__/handoff_filters.cpython-39.pyc deleted file mode 100644 index 9443e7687..000000000 Binary files a/tests/src/agents/extensions/__pycache__/handoff_filters.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/extensions/__pycache__/handoff_prompt.cpython-313.pyc b/tests/src/agents/extensions/__pycache__/handoff_prompt.cpython-313.pyc deleted file mode 100644 index 1b1154bda..000000000 Binary files a/tests/src/agents/extensions/__pycache__/handoff_prompt.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/models/__pycache__/__init__.cpython-311.pyc b/tests/src/agents/models/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 809c19dff..000000000 Binary files a/tests/src/agents/models/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/tests/src/agents/models/__pycache__/__init__.cpython-313.pyc b/tests/src/agents/models/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index bcd3895dd..000000000 Binary files a/tests/src/agents/models/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/models/__pycache__/__init__.cpython-39.pyc b/tests/src/agents/models/__pycache__/__init__.cpython-39.pyc deleted file mode 100644 index ce59e12b4..000000000 Binary files a/tests/src/agents/models/__pycache__/__init__.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/models/__pycache__/_openai_shared.cpython-311.pyc b/tests/src/agents/models/__pycache__/_openai_shared.cpython-311.pyc deleted file mode 100644 index 31d955795..000000000 Binary files a/tests/src/agents/models/__pycache__/_openai_shared.cpython-311.pyc and /dev/null differ diff --git a/tests/src/agents/models/__pycache__/_openai_shared.cpython-313.pyc b/tests/src/agents/models/__pycache__/_openai_shared.cpython-313.pyc deleted file mode 100644 index ad69a8718..000000000 Binary files a/tests/src/agents/models/__pycache__/_openai_shared.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/models/__pycache__/_openai_shared.cpython-39.pyc b/tests/src/agents/models/__pycache__/_openai_shared.cpython-39.pyc deleted file mode 100644 index fb45fa3dd..000000000 Binary files a/tests/src/agents/models/__pycache__/_openai_shared.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/models/__pycache__/fake_id.cpython-313.pyc b/tests/src/agents/models/__pycache__/fake_id.cpython-313.pyc deleted file mode 100644 index b15d6e475..000000000 Binary files a/tests/src/agents/models/__pycache__/fake_id.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/models/__pycache__/fake_id.cpython-39.pyc b/tests/src/agents/models/__pycache__/fake_id.cpython-39.pyc deleted file mode 100644 index 77f6bef51..000000000 Binary files a/tests/src/agents/models/__pycache__/fake_id.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/models/__pycache__/interface.cpython-313.pyc b/tests/src/agents/models/__pycache__/interface.cpython-313.pyc deleted file mode 100644 index db10238f9..000000000 Binary files a/tests/src/agents/models/__pycache__/interface.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/models/__pycache__/interface.cpython-39.pyc b/tests/src/agents/models/__pycache__/interface.cpython-39.pyc deleted file mode 100644 index fc80baca1..000000000 Binary files a/tests/src/agents/models/__pycache__/interface.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/models/__pycache__/map.cpython-313.pyc b/tests/src/agents/models/__pycache__/map.cpython-313.pyc deleted file mode 100644 index f648281cc..000000000 Binary files a/tests/src/agents/models/__pycache__/map.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/models/__pycache__/map.cpython-39.pyc b/tests/src/agents/models/__pycache__/map.cpython-39.pyc deleted file mode 100644 index 091f73a3c..000000000 Binary files a/tests/src/agents/models/__pycache__/map.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/models/__pycache__/openai_chatcompletions.cpython-313.pyc b/tests/src/agents/models/__pycache__/openai_chatcompletions.cpython-313.pyc deleted file mode 100644 index 88538e8fe..000000000 Binary files a/tests/src/agents/models/__pycache__/openai_chatcompletions.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/models/__pycache__/openai_chatcompletions.cpython-39.pyc b/tests/src/agents/models/__pycache__/openai_chatcompletions.cpython-39.pyc deleted file mode 100644 index 71cfc8f96..000000000 Binary files a/tests/src/agents/models/__pycache__/openai_chatcompletions.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/models/__pycache__/openai_provider.cpython-313.pyc b/tests/src/agents/models/__pycache__/openai_provider.cpython-313.pyc deleted file mode 100644 index f73f6f5e3..000000000 Binary files a/tests/src/agents/models/__pycache__/openai_provider.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/models/__pycache__/openai_provider.cpython-39.pyc b/tests/src/agents/models/__pycache__/openai_provider.cpython-39.pyc deleted file mode 100644 index d52a6bb64..000000000 Binary files a/tests/src/agents/models/__pycache__/openai_provider.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/models/__pycache__/openai_responses.cpython-313.pyc b/tests/src/agents/models/__pycache__/openai_responses.cpython-313.pyc deleted file mode 100644 index e53854728..000000000 Binary files a/tests/src/agents/models/__pycache__/openai_responses.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/models/__pycache__/openai_responses.cpython-39.pyc b/tests/src/agents/models/__pycache__/openai_responses.cpython-39.pyc deleted file mode 100644 index 0865febff..000000000 Binary files a/tests/src/agents/models/__pycache__/openai_responses.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/__init__.cpython-311.pyc b/tests/src/agents/tracing/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 8d78e7663..000000000 Binary files a/tests/src/agents/tracing/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/__init__.cpython-313.pyc b/tests/src/agents/tracing/__pycache__/__init__.cpython-313.pyc deleted file mode 100644 index 6a7836a26..000000000 Binary files a/tests/src/agents/tracing/__pycache__/__init__.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/__init__.cpython-39.pyc b/tests/src/agents/tracing/__pycache__/__init__.cpython-39.pyc deleted file mode 100644 index 14152d861..000000000 Binary files a/tests/src/agents/tracing/__pycache__/__init__.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/_strict_schema.cpython-313.pyc b/tests/src/agents/tracing/__pycache__/_strict_schema.cpython-313.pyc deleted file mode 100644 index 79c5357f5..000000000 Binary files a/tests/src/agents/tracing/__pycache__/_strict_schema.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/create.cpython-311.pyc b/tests/src/agents/tracing/__pycache__/create.cpython-311.pyc deleted file mode 100644 index 62b33cf35..000000000 Binary files a/tests/src/agents/tracing/__pycache__/create.cpython-311.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/create.cpython-313.pyc b/tests/src/agents/tracing/__pycache__/create.cpython-313.pyc deleted file mode 100644 index 9296d5f0e..000000000 Binary files a/tests/src/agents/tracing/__pycache__/create.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/create.cpython-39.pyc b/tests/src/agents/tracing/__pycache__/create.cpython-39.pyc deleted file mode 100644 index 7b5f7bad6..000000000 Binary files a/tests/src/agents/tracing/__pycache__/create.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/logger.cpython-311.pyc b/tests/src/agents/tracing/__pycache__/logger.cpython-311.pyc deleted file mode 100644 index 07d25033a..000000000 Binary files a/tests/src/agents/tracing/__pycache__/logger.cpython-311.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/logger.cpython-313.pyc b/tests/src/agents/tracing/__pycache__/logger.cpython-313.pyc deleted file mode 100644 index 01611fce6..000000000 Binary files a/tests/src/agents/tracing/__pycache__/logger.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/logger.cpython-39.pyc b/tests/src/agents/tracing/__pycache__/logger.cpython-39.pyc deleted file mode 100644 index 25e02e5f9..000000000 Binary files a/tests/src/agents/tracing/__pycache__/logger.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/processor_interface.cpython-311.pyc b/tests/src/agents/tracing/__pycache__/processor_interface.cpython-311.pyc deleted file mode 100644 index 5ea4cfd5d..000000000 Binary files a/tests/src/agents/tracing/__pycache__/processor_interface.cpython-311.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/processor_interface.cpython-313.pyc b/tests/src/agents/tracing/__pycache__/processor_interface.cpython-313.pyc deleted file mode 100644 index a25145efc..000000000 Binary files a/tests/src/agents/tracing/__pycache__/processor_interface.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/processor_interface.cpython-39.pyc b/tests/src/agents/tracing/__pycache__/processor_interface.cpython-39.pyc deleted file mode 100644 index 106573460..000000000 Binary files a/tests/src/agents/tracing/__pycache__/processor_interface.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/processors.cpython-311.pyc b/tests/src/agents/tracing/__pycache__/processors.cpython-311.pyc deleted file mode 100644 index 719f46870..000000000 Binary files a/tests/src/agents/tracing/__pycache__/processors.cpython-311.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/processors.cpython-313.pyc b/tests/src/agents/tracing/__pycache__/processors.cpython-313.pyc deleted file mode 100644 index dd3c5b89c..000000000 Binary files a/tests/src/agents/tracing/__pycache__/processors.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/processors.cpython-39.pyc b/tests/src/agents/tracing/__pycache__/processors.cpython-39.pyc deleted file mode 100644 index 631993a2e..000000000 Binary files a/tests/src/agents/tracing/__pycache__/processors.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/scope.cpython-311.pyc b/tests/src/agents/tracing/__pycache__/scope.cpython-311.pyc deleted file mode 100644 index ca52084c4..000000000 Binary files a/tests/src/agents/tracing/__pycache__/scope.cpython-311.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/scope.cpython-313.pyc b/tests/src/agents/tracing/__pycache__/scope.cpython-313.pyc deleted file mode 100644 index f45326ff9..000000000 Binary files a/tests/src/agents/tracing/__pycache__/scope.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/scope.cpython-39.pyc b/tests/src/agents/tracing/__pycache__/scope.cpython-39.pyc deleted file mode 100644 index 1a7d6c077..000000000 Binary files a/tests/src/agents/tracing/__pycache__/scope.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/setup.cpython-311.pyc b/tests/src/agents/tracing/__pycache__/setup.cpython-311.pyc deleted file mode 100644 index 3aed1e68d..000000000 Binary files a/tests/src/agents/tracing/__pycache__/setup.cpython-311.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/setup.cpython-313.pyc b/tests/src/agents/tracing/__pycache__/setup.cpython-313.pyc deleted file mode 100644 index 3fb2e5d41..000000000 Binary files a/tests/src/agents/tracing/__pycache__/setup.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/setup.cpython-39.pyc b/tests/src/agents/tracing/__pycache__/setup.cpython-39.pyc deleted file mode 100644 index 6021541ba..000000000 Binary files a/tests/src/agents/tracing/__pycache__/setup.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/span_data.cpython-311.pyc b/tests/src/agents/tracing/__pycache__/span_data.cpython-311.pyc deleted file mode 100644 index 0cc7384ba..000000000 Binary files a/tests/src/agents/tracing/__pycache__/span_data.cpython-311.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/span_data.cpython-313.pyc b/tests/src/agents/tracing/__pycache__/span_data.cpython-313.pyc deleted file mode 100644 index 2cae2b719..000000000 Binary files a/tests/src/agents/tracing/__pycache__/span_data.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/span_data.cpython-39.pyc b/tests/src/agents/tracing/__pycache__/span_data.cpython-39.pyc deleted file mode 100644 index d1d71fc3b..000000000 Binary files a/tests/src/agents/tracing/__pycache__/span_data.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/spans.cpython-311.pyc b/tests/src/agents/tracing/__pycache__/spans.cpython-311.pyc deleted file mode 100644 index 156ba2345..000000000 Binary files a/tests/src/agents/tracing/__pycache__/spans.cpython-311.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/spans.cpython-313.pyc b/tests/src/agents/tracing/__pycache__/spans.cpython-313.pyc deleted file mode 100644 index ba21bd244..000000000 Binary files a/tests/src/agents/tracing/__pycache__/spans.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/spans.cpython-39.pyc b/tests/src/agents/tracing/__pycache__/spans.cpython-39.pyc deleted file mode 100644 index 9c538b810..000000000 Binary files a/tests/src/agents/tracing/__pycache__/spans.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/traces.cpython-311.pyc b/tests/src/agents/tracing/__pycache__/traces.cpython-311.pyc deleted file mode 100644 index 3f45b3517..000000000 Binary files a/tests/src/agents/tracing/__pycache__/traces.cpython-311.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/traces.cpython-313.pyc b/tests/src/agents/tracing/__pycache__/traces.cpython-313.pyc deleted file mode 100644 index 8ea5bb759..000000000 Binary files a/tests/src/agents/tracing/__pycache__/traces.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/traces.cpython-39.pyc b/tests/src/agents/tracing/__pycache__/traces.cpython-39.pyc deleted file mode 100644 index 8a3ed1863..000000000 Binary files a/tests/src/agents/tracing/__pycache__/traces.cpython-39.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/util.cpython-311.pyc b/tests/src/agents/tracing/__pycache__/util.cpython-311.pyc deleted file mode 100644 index 70a74e916..000000000 Binary files a/tests/src/agents/tracing/__pycache__/util.cpython-311.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/util.cpython-313.pyc b/tests/src/agents/tracing/__pycache__/util.cpython-313.pyc deleted file mode 100644 index 723c198e1..000000000 Binary files a/tests/src/agents/tracing/__pycache__/util.cpython-313.pyc and /dev/null differ diff --git a/tests/src/agents/tracing/__pycache__/util.cpython-39.pyc b/tests/src/agents/tracing/__pycache__/util.cpython-39.pyc deleted file mode 100644 index d8bcc5376..000000000 Binary files a/tests/src/agents/tracing/__pycache__/util.cpython-39.pyc and /dev/null differ diff --git a/tests/src/openai_agents.egg-info/PKG-INFO b/tests/src/openai_agents.egg-info/PKG-INFO deleted file mode 100644 index ebf2d7c23..000000000 --- a/tests/src/openai_agents.egg-info/PKG-INFO +++ /dev/null @@ -1,217 +0,0 @@ -Metadata-Version: 2.2 -Name: openai-agents -Version: 0.0.1 -Summary: OpenAI Agents SDK -Author-email: OpenAI -Project-URL: Homepage, https://github.com/openai/openai-agents-python -Project-URL: Repository, https://github.com/openai/openai-agents-python -Classifier: Typing :: Typed -Classifier: Intended Audience :: Developers -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.9 -Classifier: Programming Language :: Python :: 3.10 -Classifier: Programming Language :: Python :: 3.11 -Classifier: Programming Language :: Python :: 3.12 -Classifier: Intended Audience :: Developers -Classifier: Intended Audience :: Information Technology -Classifier: Operating System :: OS Independent -Classifier: Operating System :: POSIX -Classifier: Operating System :: MacOS -Classifier: Operating System :: POSIX :: Linux -Classifier: Operating System :: Microsoft :: Windows -Classifier: Topic :: Software Development :: Libraries :: Python Modules -Requires-Python: >=3.9 -Description-Content-Type: text/markdown -Requires-Dist: openai@ {root:parent:uri}/openai-1.30.1-py3-none-any.whl -Requires-Dist: pydantic<3,>=2.10 -Requires-Dist: griffe<2,>=1.5.6 -Requires-Dist: typing-extensions<5,>=4.12.2 -Requires-Dist: requests<3,>=2.0 -Requires-Dist: types-requests<3,>=2.0 - -# OpenAI Agents SDK - -The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows. - -### Core concepts: -1. [**Agents,**](docs/agents.md) which are LLMs configured with instructions, tools, guardrails, and handoffs -2. [**Handoffs,**](docs/handoffs.md) which allow agents to transfer control to other agents for specific tasks -3. [**Guardrails,**](docs/guardrails.md) which makes it easy to watch an agent execution and validate inputs/outputs -4. [**Tracing,**](docs/tracing.md) which automatically captures the entire agentic run, allowing you to view, debug and optimize your workflows - -Explore examples of the SDK in action in the [examples](examples) directory. - -## Using the SDK - -1. Set up python env - -``` -python -m venv env -source env/bin/activate -``` - -2. Install Agents SDK - -``` -pip install git+ssh://git@github.com/openai/agentsdk_prototype.git#subdirectory=agents -``` - -## Development (only needed if you need to edit the SDK/examples) - -0. Ensure you have [`uv`](https://docs.astral.sh/uv/) installed. - -```bash -uv --version -``` - -1. Install dependencies/setup virtual environment - -```bash -uv sync -``` - -2. Install the dependencies - -```bash -uv sync --all-extras --all-packages -``` - -3. Activate the virtual environment - -```bash -source .venv/bin/activate -``` - -## Tests - -Make sure the virtual environment is activated first. - -```bash -pytest -``` - -## Hello world example - -```py -from agents.agent import Agent -from agents.run import Runner -import asyncio - -agent = Agent( - name="Hello world", - instructions="You are a helpful agent." -) - -async def main(): - out = await Runner.run(agent, input="Hola, ¿cómo estás?") - print(out) - - -if __name__ == "__main__": - asyncio.run(main()) - -# The capital of the United States is Washington, D.C. -``` - -## Handoffs example - -```py -from agents.agent import Agent -from agents.run import Runner -import asyncio - -spanish_agent = Agent( - name="spanish_agent", - instructions="You only speak Spanish.", -) - -english_agent = Agent( - name="english_agent", - instructions="You only speak English", -) - -triage_agent = Agent( - name="triage_agent", - instructions="Handoff to the appropriate agent based on the language of the request.", - handoffs=[spanish_agent, english_agent], -) - - -async def main(): - out = await Runner.run(triage_agent, input="Hola, ¿cómo estás?") - print(out) - - -if __name__ == "__main__": - asyncio.run(main()) - -# ¡Hola! Estoy bien, gracias por preguntar. ¿Y tú, cómo estás? -``` - -## Functions example - -```python -from agents.agent import Agent -from agents.run import Runner -import asyncio -from agents.tool import function_tool - - -@function_tool -def get_weather(city: str) -> str: - print(f"Getting weather for {city}") - return f"The weather in {city} is sunny." - - -agent = Agent( - name="Hello world", - instructions="You are a helpful agent.", - tools=[get_weather], -) - - -async def main(): - out = await Runner.run(agent, input="What's the weather in Tokyo?") - print(out.final_output) - - -if __name__ == "__main__": - asyncio.run(main()) -``` - -For more complex systems, we recommend including detailed instructions about handoffs. We have a recommendation in `handoff.RECOMMENDED_PROMPT_PREFIX` that can be used to add these instructions to an agent. - -```py -agent = Agent( - ..., - instructions=f"{handoff.RECOMMENDED_PROMPT_PREFIX}\n\n{instructions}" -) -``` - -## The agent loop - -When you call `Runner.run()`, we run a loop until we get a final output. - -1. We call the LLM, using the model and settings on the agent, and the message history. -2. The LLM returns a response, which may include tool calls. -3. If the response has a final output (see below for the more on this), we return it and end the loop. -4. If the response has a handoff, we set the agent to the new agent and go back to step 1. -5. We process the tool calls (if any) and append the tool responses messsages. Then we go to step 1. - -There is a `max_turns` parameter that you can use to limit the number of times the loop executes. - -### Final output - -There are two ways to get a **final output**: - -1. If you set an `output_type` on the agent, the LLM is given a special tool called `final_output`. If it uses this tool, the output of the tool is the final output. -2. If there's no `output_type`, then we assume the final output is a string. As soon as the LLM produces a message without any tool calls, that is considered the final output. - -As a result, the mental model for the agent loop is: - -1. If the current agent has an `output_type`, the loop runs until the agent uses that tool to return the final output. -2. If the current agent does not have an `output_type`, the loop runs until the current agent produces a message without any tool calls. - -## Common agent patterns - -There are a number of useful patterns in agentic apps. There are a number of examples in [`examples/agent_patterns`](examples/agent_patterns), and we recommend reading them. diff --git a/tests/src/openai_agents.egg-info/SOURCES.txt b/tests/src/openai_agents.egg-info/SOURCES.txt deleted file mode 100644 index 695ad1fc1..000000000 --- a/tests/src/openai_agents.egg-info/SOURCES.txt +++ /dev/null @@ -1,81 +0,0 @@ -README.md -pyproject.toml -src/agents/__init__.py -src/agents/_config.py -src/agents/_debug.py -src/agents/_run_impl.py -src/agents/_utils.py -src/agents/agent.py -src/agents/agent_output.py -src/agents/call_agent_tool.py -src/agents/computer.py -src/agents/exceptions.py -src/agents/function_schema.py -src/agents/guardrail.py -src/agents/handoffs.py -src/agents/items.py -src/agents/lifecycle.py -src/agents/logger.py -src/agents/model_settings.py -src/agents/result.py -src/agents/run.py -src/agents/run_context.py -src/agents/strict_schema.py -src/agents/tool.py -src/agents/usage.py -src/agents/version.py -src/agents/extensions/__init__.py -src/agents/extensions/handoff_filters.py -src/agents/extensions/handoff_prompt.py -src/agents/models/__init__.py -src/agents/models/_openai_shared.py -src/agents/models/fake_id.py -src/agents/models/interface.py -src/agents/models/map.py -src/agents/models/openai_chatcompletions.py -src/agents/models/openai_responses.py -src/agents/tracing/__init__.py -src/agents/tracing/create.py -src/agents/tracing/logger.py -src/agents/tracing/processor_interface.py -src/agents/tracing/processors.py -src/agents/tracing/scope.py -src/agents/tracing/setup.py -src/agents/tracing/span_data.py -src/agents/tracing/spans.py -src/agents/tracing/traces.py -src/agents/tracing/util.py -src/openai_agents.egg-info/PKG-INFO -src/openai_agents.egg-info/SOURCES.txt -src/openai_agents.egg-info/dependency_links.txt -src/openai_agents.egg-info/requires.txt -src/openai_agents.egg-info/top_level.txt -tests/test_agent_config.py -tests/test_agent_hooks.py -tests/test_agent_runner.py -tests/test_agent_runner_streamed.py -tests/test_agent_tracing.py -tests/test_config.py -tests/test_doc_parsing.py -tests/test_function_schema.py -tests/test_function_tool.py -tests/test_function_tool_decorator.py -tests/test_global_hooks.py -tests/test_guardrails.py -tests/test_handoff_tool.py -tests/test_items_helpers.py -tests/test_max_turns.py -tests/test_model_mapper.py -tests/test_openai_chatcompletions_converter.py -tests/test_openai_responses_converter.py -tests/test_output_tool.py -tests/test_responses.py -tests/test_run_config.py -tests/test_run_step_execution.py -tests/test_run_step_processing.py -tests/test_tool_converter.py -tests/test_trace_processor.py -tests/test_tracing.py -tests/test_tracing_errors.py -tests/test_tracing_errors_streamed.py -tests/testing_processor.py \ No newline at end of file diff --git a/tests/src/openai_agents.egg-info/dependency_links.txt b/tests/src/openai_agents.egg-info/dependency_links.txt deleted file mode 100644 index 8b1378917..000000000 --- a/tests/src/openai_agents.egg-info/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/src/openai_agents.egg-info/requires.txt b/tests/src/openai_agents.egg-info/requires.txt deleted file mode 100644 index 3dbad2b85..000000000 --- a/tests/src/openai_agents.egg-info/requires.txt +++ /dev/null @@ -1,6 +0,0 @@ -openai@ {root:parent:uri}/openai-1.30.1-py3-none-any.whl -pydantic<3,>=2.10 -griffe<2,>=1.5.6 -typing-extensions<5,>=4.12.2 -requests<3,>=2.0 -types-requests<3,>=2.0 diff --git a/tests/src/openai_agents.egg-info/top_level.txt b/tests/src/openai_agents.egg-info/top_level.txt deleted file mode 100644 index 4a33ff62f..000000000 --- a/tests/src/openai_agents.egg-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -agents