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.