community: Add OpenGradient integration (Toolkit) (#30190)

Commandeering https://github.com/langchain-ai/langchain/pull/30135

---------

Co-authored-by: kylexqian <kylexqian@gmail.com>
This commit is contained in:
ccurme
2025-03-09 18:08:07 -04:00
committed by GitHub
parent b209d46eb3
commit 67aff1648b
4 changed files with 490 additions and 1 deletions

View File

@@ -59,7 +59,10 @@ def check_header_order(path: Path) -> None:
if doc_dir not in INFO_BY_DIR:
# Skip if not a directory we care about
return
headers = _get_headers(doc_dir)
if "toolkit" in path.name:
headers = _get_headers("toolkits")
else:
headers = _get_headers(doc_dir)
issue_number = INFO_BY_DIR[doc_dir].get("issue_number", "nonexistent")
print(f"Checking {doc_dir} page {path}")