langchain: add deepseek provider to init chat model (#29449)

This commit is contained in:
Erick Friis
2025-01-27 23:13:59 -08:00
committed by GitHub
parent dced0ed3fd
commit ecdc881328
5 changed files with 29 additions and 6 deletions

View File

@@ -217,7 +217,8 @@ jobs:
# Replace all dashes in the package name with underscores,
# since that's how Python imports packages with dashes in the name.
IMPORT_NAME="$(echo "$PKG_NAME" | sed s/-/_/g)"
# also remove _official suffix
IMPORT_NAME="$(echo "$PKG_NAME" | sed s/-/_/g | sed s/_official//g)"
poetry run python -c "import $IMPORT_NAME; print(dir($IMPORT_NAME))"