From b2bc99a314e903071d8d136019547e40fdfe59f2 Mon Sep 17 00:00:00 2001 From: miguel Date: Mon, 18 Aug 2025 16:37:52 -0700 Subject: [PATCH] Fix openai-litellm dependency incompatibility --- .changeset/feathered-singing-duck.md | 5 +++++ pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/feathered-singing-duck.md diff --git a/.changeset/feathered-singing-duck.md b/.changeset/feathered-singing-duck.md new file mode 100644 index 00000000..dd3331c3 --- /dev/null +++ b/.changeset/feathered-singing-duck.md @@ -0,0 +1,5 @@ +--- +"stagehand": patch +--- + +Fix openai-litellm dependency bug diff --git a/pyproject.toml b/pyproject.toml index 2844514c..fbc5ab1a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ dependencies = [ "requests>=2.31.0", "browserbase>=1.4.0", "rich>=13.7.0", - "openai>=1.83.0", + "openai>=1.83.0,<1.99.6", "anthropic>=0.51.0", "litellm>=1.72.0", "nest-asyncio>=1.6.0",