From c423a3a6e173c7ed5de83c1c4df593a814bf4bd0 Mon Sep 17 00:00:00 2001 From: Nick Bobrowski <39348559+bonk1t@users.noreply.github.com> Date: Mon, 9 Dec 2024 01:32:46 +0000 Subject: [PATCH] Import fix; Revert Pydantic version --- agency_swarm/util/streaming/agency_event_handler.py | 2 +- pyproject.toml | 2 +- requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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