diff --git a/examples/notebooks/multi_agent_quickstart.ipynb b/examples/notebooks/multi_agent_quickstart.ipynb index fc5896b..d09ebc3 100644 --- a/examples/notebooks/multi_agent_quickstart.ipynb +++ b/examples/notebooks/multi_agent_quickstart.ipynb @@ -144,6 +144,13 @@ "UnionResponse = create_model('UnionResponse', __base__=BaseAgentIO, response=(Union[searx_agent.input_schema, calc_agent.input_schema], ...))" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Notice how instead of defining the response schema as a class, we use create_model() to define the schema. This is because we want to use the TOOL.input_schema to dynamically get the input schema of the agent, which is not possible with a class definition." + ] + }, { "cell_type": "markdown", "metadata": {},