Skip to content

Commit

Permalink
add notes for to_dist field
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-x-c committed Apr 26, 2024
1 parent e305970 commit 677ba1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sphinx_doc/en/source/tutorial/201-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:

Expand Down

0 comments on commit 677ba1b

Please sign in to comment.