diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index 052b15e3e..cd413eecf 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -22,24 +22,24 @@ concurrency: cancel-in-progress: false jobs: - # get-changed-files: - # runs-on: ubuntu-latest - # outputs: - # changed-files: ${{ steps.changed-files.outputs.all }} - # steps: - # - uses: actions/checkout@v4 - # - name: Get changed files - # id: changed-files - # uses: Ana06/get-changed-files@v2.3.0 - # with: - # filter: "docs/docs/**" + get-changed-files: + runs-on: ubuntu-latest + outputs: + changed-files: ${{ steps.changed-files.outputs.all }} + steps: + - uses: actions/checkout@v4 + - name: Get changed files + id: changed-files + uses: Ana06/get-changed-files@v2.3.0 + with: + filter: "docs/docs/**" - # run-changed-notebooks: - # needs: get-changed-files - # uses: ./.github/workflows/run_notebooks.yml - # secrets: inherit - # with: - # changed-files: ${{ needs.get-changed-files.outputs.changed-files }} + run-changed-notebooks: + needs: get-changed-files + uses: ./.github/workflows/run_notebooks.yml + secrets: inherit + with: + changed-files: ${{ needs.get-changed-files.outputs.changed-files }} deploy: # needs: run-changed-notebooks diff --git a/.github/workflows/run_notebooks.yml b/.github/workflows/run_notebooks.yml index 4451ddc2e..bcf562e8f 100644 --- a/.github/workflows/run_notebooks.yml +++ b/.github/workflows/run_notebooks.yml @@ -65,7 +65,7 @@ jobs: echo "Running all notebooks" ./docs/_scripts/execute_notebooks.sh else - CHANGED_FILES=$(echo '${{ inputs.changed-files }}' | tr ' ' '\n' | grep '\.ipynb$') + CHANGED_FILES=$(echo '${{ inputs.changed-files }}' | tr ' ' '\n' | grep '\.ipynb$' || true) if [ -n "$CHANGED_FILES" ]; then echo "Running changed notebooks: $CHANGED_FILES" ./docs/_scripts/execute_notebooks.sh $CHANGED_FILES diff --git a/docs/docs/how-tos/pass-run-time-values-to-tools.ipynb b/docs/docs/how-tos/pass-run-time-values-to-tools.ipynb index dca18b771..206c9c5fd 100644 --- a/docs/docs/how-tos/pass-run-time-values-to-tools.ipynb +++ b/docs/docs/how-tos/pass-run-time-values-to-tools.ipynb @@ -317,7 +317,6 @@ "outputs": [], "source": [ "from langchain_openai import ChatOpenAI\n", - "\n", "from langgraph.prebuilt import ToolNode\n", "\n", "model = ChatOpenAI(model=\"gpt-4o\", temperature=0)\n", diff --git a/docs/docs/index.md b/docs/docs/index.md index 823cabba7..072f2aada 100644 --- a/docs/docs/index.md +++ b/docs/docs/index.md @@ -1,5 +1,4 @@ --- - hide_comments: true hide: - navigation diff --git a/libs/checkpoint-postgres/poetry.lock b/libs/checkpoint-postgres/poetry.lock index 473bd4233..740ba9190 100644 --- a/libs/checkpoint-postgres/poetry.lock +++ b/libs/checkpoint-postgres/poetry.lock @@ -324,7 +324,7 @@ typing-extensions = ">=4.7" [[package]] name = "langgraph-checkpoint" -version = "1.0.11" +version = "2.0.0" description = "Library with base interfaces for LangGraph checkpoint savers." optional = false python-versions = "^3.9.0,<4.0" @@ -1105,4 +1105,4 @@ watchmedo = ["PyYAML (>=3.10)"] [metadata] lock-version = "2.0" python-versions = "^3.9.0,<4.0" -content-hash = "4b174f142964238b985de1a2209680bc83e9a310e6797be14dc26f61fe1352e2" +content-hash = "8f763cd1727287f8c8b5ad2b4d8df00fb446e68d0cd4e88c278e4007969b83fd" diff --git a/libs/checkpoint-postgres/pyproject.toml b/libs/checkpoint-postgres/pyproject.toml index e48585900..d98c154a7 100644 --- a/libs/checkpoint-postgres/pyproject.toml +++ b/libs/checkpoint-postgres/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "langgraph-checkpoint-postgres" -version = "1.0.11" +version = "2.0.0" description = "Library with a Postgres implementation of LangGraph checkpoint saver." authors = [] license = "MIT" @@ -10,7 +10,7 @@ packages = [{ include = "langgraph" }] [tool.poetry.dependencies] python = "^3.9.0,<4.0" -langgraph-checkpoint = "^1.0.11" +langgraph-checkpoint = "^2.0.0" orjson = ">=3.10.1" psycopg = "^3.0.0" psycopg-pool = "^3.0.0" diff --git a/libs/checkpoint-sqlite/poetry.lock b/libs/checkpoint-sqlite/poetry.lock index 25bbed0be..e6e0aac17 100644 --- a/libs/checkpoint-sqlite/poetry.lock +++ b/libs/checkpoint-sqlite/poetry.lock @@ -332,7 +332,7 @@ typing-extensions = ">=4.7" [[package]] name = "langgraph-checkpoint" -version = "1.0.11" +version = "2.0.0" description = "Library with base interfaces for LangGraph checkpoint savers." optional = false python-versions = "^3.9.0,<4.0" @@ -1001,4 +1001,4 @@ watchmedo = ["PyYAML (>=3.10)"] [metadata] lock-version = "2.0" python-versions = "^3.9.0" -content-hash = "b38677f65f382dfb391bc663c876a6ced7772c9a894ab4502e36c97fd663575a" +content-hash = "e0091cc2deab4de99a6bc4eb262b0040b771a9659dd3638ac1c4a225a1f11dc2" diff --git a/libs/checkpoint-sqlite/pyproject.toml b/libs/checkpoint-sqlite/pyproject.toml index 4ee12924d..19cbf643e 100644 --- a/libs/checkpoint-sqlite/pyproject.toml +++ b/libs/checkpoint-sqlite/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "langgraph-checkpoint-sqlite" -version = "1.0.4" +version = "2.0.0" description = "Library with a SQLite implementation of LangGraph checkpoint saver." authors = [] license = "MIT" @@ -10,7 +10,7 @@ packages = [{ include = "langgraph" }] [tool.poetry.dependencies] python = "^3.9.0" -langgraph-checkpoint = "^1.0.11" +langgraph-checkpoint = "^2.0.0" aiosqlite = "^0.20.0" [tool.poetry.group.dev.dependencies] diff --git a/libs/langgraph/poetry.lock b/libs/langgraph/poetry.lock index 3bac5e901..b32d88589 100644 --- a/libs/langgraph/poetry.lock +++ b/libs/langgraph/poetry.lock @@ -1238,7 +1238,7 @@ typing-extensions = ">=4.7" [[package]] name = "langgraph-checkpoint" -version = "1.0.14" +version = "2.0.0" description = "Library with base interfaces for LangGraph checkpoint savers." optional = false python-versions = "^3.9.0,<4.0" @@ -1255,7 +1255,7 @@ url = "../checkpoint" [[package]] name = "langgraph-checkpoint-postgres" -version = "1.0.9" +version = "2.0.0" description = "Library with a Postgres implementation of LangGraph checkpoint saver." optional = false python-versions = "^3.9.0,<4.0" @@ -1263,7 +1263,7 @@ files = [] develop = true [package.dependencies] -langgraph-checkpoint = "^1.0.11" +langgraph-checkpoint = "^2.0.0" orjson = ">=3.10.1" psycopg = "^3.0.0" psycopg-pool = "^3.0.0" @@ -1274,7 +1274,7 @@ url = "../checkpoint-postgres" [[package]] name = "langgraph-checkpoint-sqlite" -version = "1.0.4" +version = "2.0.0" description = "Library with a SQLite implementation of LangGraph checkpoint saver." optional = false python-versions = "^3.9.0" @@ -1283,7 +1283,7 @@ develop = true [package.dependencies] aiosqlite = "^0.20.0" -langgraph-checkpoint = "^1.0.11" +langgraph-checkpoint = "^2.0.0" [package.source] type = "directory" @@ -3216,4 +3216,4 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", [metadata] lock-version = "2.0" python-versions = ">=3.9.0,<4.0" -content-hash = "f31194d9fa8e2eb80b125c437f20baa4ef6d6c5a61e1ad2675a57e73801cdf25" +content-hash = "734cf2b68846e513403f580fb7eeb00f9c26cd46919d9b9529e43d97e7c43216" diff --git a/libs/langgraph/pyproject.toml b/libs/langgraph/pyproject.toml index 0f2300e53..59949c2e3 100644 --- a/libs/langgraph/pyproject.toml +++ b/libs/langgraph/pyproject.toml @@ -10,7 +10,7 @@ repository = "https://www.github.com/langchain-ai/langgraph" [tool.poetry.dependencies] python = ">=3.9.0,<4.0" langchain-core = ">=0.2.39,<0.4" -langgraph-checkpoint = "^1.0.14" +langgraph-checkpoint = "^2.0.0" [tool.poetry.group.dev.dependencies] pytest = "^8.3.2"