From 5ecbb5f2772a216c1d6604793fa50348c85d1c52 Mon Sep 17 00:00:00 2001 From: Mason Daugherty Date: Fri, 25 Jul 2025 15:12:44 -0400 Subject: [PATCH] fix(docs): temporary workaround until the underlying dependency issues in the AI21 package ecosystem are resolved. (#32248) --- .github/scripts/prep_api_docs_build.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/scripts/prep_api_docs_build.py b/.github/scripts/prep_api_docs_build.py index 529ae02dfc1..83c342e019d 100644 --- a/.github/scripts/prep_api_docs_build.py +++ b/.github/scripts/prep_api_docs_build.py @@ -73,6 +73,7 @@ def main(): for p in package_yaml["packages"] if (p["repo"].startswith("langchain-ai/") or p.get("include_in_api_ref")) and p["repo"] != "langchain-ai/langchain" + and p["name"] != "langchain-ai21" # Skip AI21 due to dependency conflicts ]) # Move libraries to their new locations @@ -82,6 +83,7 @@ def main(): if not p.get("disabled", False) and (p["repo"].startswith("langchain-ai/") or p.get("include_in_api_ref")) and p["repo"] != "langchain-ai/langchain" + and p["name"] != "langchain-ai21" # Skip AI21 due to dependency conflicts ]) # Delete ones without a pyproject.toml