diff --git a/.github/scripts/prep_api_docs_build.py b/.github/scripts/prep_api_docs_build.py index 0ddd7ac053de5..175f7b6c9a766 100644 --- a/.github/scripts/prep_api_docs_build.py +++ b/.github/scripts/prep_api_docs_build.py @@ -11,9 +11,7 @@ def load_packages_yaml() -> Dict[str, Any]: """Load and parse the packages.yml file.""" with open("langchain/libs/packages.yml", "r") as f: - all_packages = yaml.safe_load(f) - - return {k: v for k, v in all_packages.items() if k["repo"]} + return yaml.safe_load(f) def get_target_dir(package_name: str) -> Path: