mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-13 14:50:00 +00:00
fix(docs): temporary workaround until the underlying dependency issues in the AI21 package ecosystem are resolved. (#32248)
This commit is contained in:
parent
c1028171af
commit
5ecbb5f277
2
.github/scripts/prep_api_docs_build.py
vendored
2
.github/scripts/prep_api_docs_build.py
vendored
@ -73,6 +73,7 @@ def main():
|
|||||||
for p in package_yaml["packages"]
|
for p in package_yaml["packages"]
|
||||||
if (p["repo"].startswith("langchain-ai/") or p.get("include_in_api_ref"))
|
if (p["repo"].startswith("langchain-ai/") or p.get("include_in_api_ref"))
|
||||||
and p["repo"] != "langchain-ai/langchain"
|
and p["repo"] != "langchain-ai/langchain"
|
||||||
|
and p["name"] != "langchain-ai21" # Skip AI21 due to dependency conflicts
|
||||||
])
|
])
|
||||||
|
|
||||||
# Move libraries to their new locations
|
# Move libraries to their new locations
|
||||||
@ -82,6 +83,7 @@ def main():
|
|||||||
if not p.get("disabled", False)
|
if not p.get("disabled", False)
|
||||||
and (p["repo"].startswith("langchain-ai/") or p.get("include_in_api_ref"))
|
and (p["repo"].startswith("langchain-ai/") or p.get("include_in_api_ref"))
|
||||||
and p["repo"] != "langchain-ai/langchain"
|
and p["repo"] != "langchain-ai/langchain"
|
||||||
|
and p["name"] != "langchain-ai21" # Skip AI21 due to dependency conflicts
|
||||||
])
|
])
|
||||||
|
|
||||||
# Delete ones without a pyproject.toml
|
# Delete ones without a pyproject.toml
|
||||||
|
Loading…
Reference in New Issue
Block a user