Use create_react_agent (#441)

This commit is contained in:
William FH
2024-05-13 14:32:26 -07:00
committed by GitHub
parent 1100360ea6
commit 2c32a38c42
7 changed files with 157 additions and 115 deletions
+8 -2
View File
@@ -49,5 +49,11 @@ jobs:
- name: Check links in notebooks
env:
LANGCHAIN_API_KEY: test
shell: bash
run: poetry run pytest -o python_files=non_python_only --check-links --ignore="*.py" -k .ipynb --check-links-ignore "https://(api|web)\.smith\.langchain\.com/.*" --check-links-ignore "https://x.com/.*" --check-links-ignore "*.dcbadge.vercel.app*"./examples
shell: bash
run: |
if [ "${{ github.event_name }}" != "schedule" ]; then
CHANGED_FILES=$(git diff --name-only ${{ github.event.before }} ${{ github.event.after }} | grep '\.ipynb$')
poetry run pytest -o python_files=non_python_only --check-links $CHANGED_FILES --check-links-ignore "https://(api|web)\.smith\.langchain\.com/.*" --check-links-ignore "https://x.com/.*"
else
poetry run pytest -o python_files=non_python_only --check-links --ignore="*.py" -k .ipynb --check-links-ignore "https://(api|web)\.smith\.langchain\.com/.*" --check-links-ignore "https://x.com/.*" ./examples