From 2f23d1a30d61f2d6c622f696e258800de0ffde4d Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Thu, 31 Jul 2025 22:57:32 -0400 Subject: [PATCH] chore(docs): fix js build (#5793) Fix js build --- docs/Makefile | 3 +++ docs/docs/how-tos/multi_agent.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/Makefile b/docs/Makefile index b43ca0b3c..11b473f10 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -18,6 +18,9 @@ build-prebuilt: build-docs: build-prebuilt TARGET_LANGUAGE=python uv run python -m mkdocs build --clean -f mkdocs.yml --strict +build-docs-js: build-prebuilt + TARGET_LANGUAGE=js uv run python -m mkdocs build --clean -f mkdocs.yml --strict + llms-text: uv run python -m _scripts.generate_llms_text docs/llms-full.txt diff --git a/docs/docs/how-tos/multi_agent.md b/docs/docs/how-tos/multi_agent.md index bc29502cc..e7296f9fd 100644 --- a/docs/docs/how-tos/multi_agent.md +++ b/docs/docs/how-tos/multi_agent.md @@ -57,7 +57,7 @@ def create_handoff_tool(*, agent_name: str, description: str | None = None): return handoff_tool ``` -1. Access the [state](../concepts/low_level.md#state) of the agent that is calling the handoff tool using the @[InjectedState][InjectedState] annotation. +1. Access the [state](../concepts/low_level.md#state) of the agent that is calling the handoff tool using the @[InjectedState] annotation. 2. The `Command` primitive allows specifying a state update and a node transition as a single operation, making it useful for implementing handoffs. 3. Name of the agent or node to hand off to. 4. Take the agent's messages and **add** them to the parent's **state** as part of the handoff. The next agent will see the parent state.