diff --git a/agency_swarm/util/streaming/agency_event_handler.py b/agency_swarm/util/streaming/agency_event_handler.py index 730dac29..eb50de17 100644 --- a/agency_swarm/util/streaming/agency_event_handler.py +++ b/agency_swarm/util/streaming/agency_event_handler.py @@ -1,8 +1,8 @@ from abc import ABC -from typing import override from openai.lib.streaming import AssistantEventHandler from openai.types.beta.threads.runs.run_step import RunStep +from typing_extensions import override from agency_swarm.util.oai import get_tracker diff --git a/pyproject.toml b/pyproject.toml index 685c57e4..b64f17e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ dependencies = [ "jsonref==1.1.0", "langfuse==2.55.0", "openai>=1.55.3,<2.0.0", - "pydantic==2.9.2", + "pydantic==2.8.2", "python-dotenv==1.0.1", "rich==13.7.1", "termcolor==2.4.0", diff --git a/requirements.txt b/requirements.txt index f7320087..03730741 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ docstring_parser==0.16 jsonref==1.1.0 langfuse==2.55.0 openai>=1.55.3,<2.0.0 -pydantic==2.9.2 +pydantic==2.8.2 python-dotenv==1.0.1 rich==13.7.1 termcolor==2.4.0