From 48040d8ea5de64c56cf5254765b18eedaabdac5c Mon Sep 17 00:00:00 2001 From: Vadym Barda Date: Thu, 23 Jan 2025 21:59:03 -0500 Subject: [PATCH] ci: run notebooks in 'development' for PRs (#3188) --- .github/workflows/run_notebooks.yml | 2 +- docs/docs/how-tos/react-agent-from-scratch.ipynb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_notebooks.yml b/.github/workflows/run_notebooks.yml index 670c1657b..91084cb13 100644 --- a/.github/workflows/run_notebooks.yml +++ b/.github/workflows/run_notebooks.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - lib-version: ${{ (github.event_name == 'pull_request') && fromJSON('["development"]') || fromJSON('["development", "latest"]') }} + lib-version: ${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'schedule') && fromJSON('["development", "latest"]') || fromJSON('["development"]') }} steps: - uses: actions/checkout@v4 diff --git a/docs/docs/how-tos/react-agent-from-scratch.ipynb b/docs/docs/how-tos/react-agent-from-scratch.ipynb index 71acd8a33..eb5cee77d 100644 --- a/docs/docs/how-tos/react-agent-from-scratch.ipynb +++ b/docs/docs/how-tos/react-agent-from-scratch.ipynb @@ -14,7 +14,7 @@ " - [Messages](https://python.langchain.com/docs/concepts/messages/)\n", " - [LangGraph Glossary](../../concepts/low_level/)\n", "\n", - "Using the prebuilt ReAct agent ([create_react_agent](https://langchain-ai.github.io/langgraph/reference/prebuilt/#langgraph.prebuilt.chat_agent_executor.create_react_agent)) is a great way to get started, but sometimes you might want more control and customization. In those cases, you can create a custom ReAct agent. This guide shows how to implement ReAct agent from scratch using LangGraph.\n", + "Using the prebuilt ReAct agent [create_react_agent][langgraph.prebuilt.chat_agent_executor.create_react_agent] is a great way to get started, but sometimes you might want more control and customization. In those cases, you can create a custom ReAct agent. This guide shows how to implement ReAct agent from scratch using LangGraph.\n", "\n", "## Setup\n", "\n",