docs: add a how-to for streaming from final node (#832)

This commit is contained in:
Vadym Barda
2024-06-27 10:07:20 -04:00
committed by GitHub
parent b0ed8fdd3b
commit a783abc684
8 changed files with 314 additions and 10 deletions
+1 -7
View File
@@ -64,13 +64,7 @@ jobs:
echo "Changed files: ${CHANGED_FILES}"
if [ -n "${CHANGED_FILES}" ]; then
echo "Running link check on changed notebook files..."
poetry run pytest -v --check-links-ignore "https://(api|web)\.smith\.langchain\.com/.*" --check-links-ignore "https://x.com/.*" --check-links ${CHANGED_FILES}
PYTEST_EXIT_CODE=$?
echo "pytest exit code: ${PYTEST_EXIT_CODE}"
if [ "${PYTEST_EXIT_CODE}" -ne 0 ] && [ "${PYTEST_EXIT_CODE}" -ne 5 ]; then
echo "pytest failed with exit code ${PYTEST_EXIT_CODE}"
exit ${PYTEST_EXIT_CODE}
fi
poetry run pytest -v --check-links-ignore "https://(api|web)\.smith\.langchain\.com/.*" --check-links-ignore "https://x.com/.*" --check-links ${CHANGED_FILES} || ([ $? = 5 ] && exit 0 || exit $?)
else
echo "No notebook files changed."
fi