From 677ba1bf002386d8950fc20ae7202279603d0257 Mon Sep 17 00:00:00 2001 From: "panxuchen.pxc" Date: Fri, 26 Apr 2024 18:17:58 +0800 Subject: [PATCH] add notes for to_dist field --- docs/sphinx_doc/en/source/tutorial/201-agent.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sphinx_doc/en/source/tutorial/201-agent.md b/docs/sphinx_doc/en/source/tutorial/201-agent.md index 45a70699d..dbe2f3e77 100644 --- a/docs/sphinx_doc/en/source/tutorial/201-agent.md +++ b/docs/sphinx_doc/en/source/tutorial/201-agent.md @@ -16,7 +16,7 @@ Each AgentBase derivative is composed of several key characteristics: * `sys_prompt` & `engine`: The system prompt acts as predefined instructions that guide the agent in its interactions; and the `engine` is used to dynamically generate a suitable prompt. For more details about them, we defer to [Prompt Engine](206-prompt). -* `to_dist`: Used to create a distributed version of the agent, to support efficient collaboration among multiple agents. Note that `to_dist` a reserved field and will be automatically added to the initialization function of any subclass of `AgentBase`. For more details about `to_dist`, please refer to [Distribution](208-distribute). +* `to_dist`: Used to create a distributed version of the agent, to support efficient collaboration among multiple agents. Note that `to_dist` is a reserved field and will be automatically added to the initialization function of any subclass of `AgentBase`. For more details about `to_dist`, please refer to [Distribution](208-distribute). In addition to these attributes, `AgentBase` endows agents with pivotal methods such as `observe` and `reply`: