ci: only test changed notebooks using 'development' version of the library (#3187)

This commit is contained in:
Vadym Barda
2025-01-23 21:41:47 -05:00
committed by GitHub
parent d794875b32
commit ad51bfdf71
2 changed files with 8 additions and 32 deletions
+1 -3
View File
@@ -16,9 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
lib-version:
- "development"
- "latest"
lib-version: ${{ (github.event_name == 'pull_request') && fromJSON('["development"]') || fromJSON('["development", "latest"]') }}
steps:
- uses: actions/checkout@v4
@@ -6,35 +6,13 @@
"source": [
"# How to create a ReAct agent from scratch\n",
"\n",
"<div class=\"admonition tip\">\n",
" <p class=\"admonition-title\">Prerequisites</p>\n",
" <p>\n",
" This guide assumes familiarity with the following:\n",
" <ul>\n",
" <li>\n",
" <a href=\"https://langchain-ai.github.io/langgraph/concepts/agentic_concepts/#tool-calling-agent\">\n",
" Tool calling agent\n",
" </a>\n",
" </li> \n",
" <li>\n",
" <a href=\"https://python.langchain.com/docs/concepts/chat_models\">\n",
" Chat Models\n",
" </a>\n",
" </li>\n",
" <li>\n",
" <a href=\"https://python.langchain.com/docs/concepts/messages\">\n",
" Messages\n",
" </a>\n",
" </li>\n",
" <li>\n",
" <a href=\"https://langchain-ai.github.io/langgraph/concepts/low_level/\">\n",
" LangGraph Glossary\n",
" </a>\n",
" </li>\n",
" </ul>\n",
" </p>\n",
"</div> \n",
"\n",
"!!! info \"Prerequisites\"\n",
" This guide assumes familiarity with the following:\n",
" \n",
" - [Tool calling agent](../../concepts/agentic_concepts/#tool-calling-agent)\n",
" - [Chat Models](https://python.langchain.com/docs/concepts/chat_models/)\n",
" - [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",
"\n",