diff --git a/en/.doctrees/agentscope.agents.agent.doctree b/en/.doctrees/agentscope.agents.agent.doctree
index 0dd883ec0..3d428e068 100644
Binary files a/en/.doctrees/agentscope.agents.agent.doctree and b/en/.doctrees/agentscope.agents.agent.doctree differ
diff --git a/en/.doctrees/agentscope.agents.dialog_agent.doctree b/en/.doctrees/agentscope.agents.dialog_agent.doctree
index 30a04a754..10519d5cd 100644
Binary files a/en/.doctrees/agentscope.agents.dialog_agent.doctree and b/en/.doctrees/agentscope.agents.dialog_agent.doctree differ
diff --git a/en/.doctrees/agentscope.agents.dict_dialog_agent.doctree b/en/.doctrees/agentscope.agents.dict_dialog_agent.doctree
index 3b3e2bccc..4a5b8c63c 100644
Binary files a/en/.doctrees/agentscope.agents.dict_dialog_agent.doctree and b/en/.doctrees/agentscope.agents.dict_dialog_agent.doctree differ
diff --git a/en/.doctrees/agentscope.agents.doctree b/en/.doctrees/agentscope.agents.doctree
index 22eef1a5f..879a76c71 100644
Binary files a/en/.doctrees/agentscope.agents.doctree and b/en/.doctrees/agentscope.agents.doctree differ
diff --git a/en/.doctrees/agentscope.agents.rag_agent.doctree b/en/.doctrees/agentscope.agents.rag_agent.doctree
index b590b2be8..16973dba9 100644
Binary files a/en/.doctrees/agentscope.agents.rag_agent.doctree and b/en/.doctrees/agentscope.agents.rag_agent.doctree differ
diff --git a/en/.doctrees/agentscope.agents.react_agent.doctree b/en/.doctrees/agentscope.agents.react_agent.doctree
index de8176955..ebdb79cef 100644
Binary files a/en/.doctrees/agentscope.agents.react_agent.doctree and b/en/.doctrees/agentscope.agents.react_agent.doctree differ
diff --git a/en/.doctrees/agentscope.agents.rpc_agent.doctree b/en/.doctrees/agentscope.agents.rpc_agent.doctree
index 3133bf9ed..55652e181 100644
Binary files a/en/.doctrees/agentscope.agents.rpc_agent.doctree and b/en/.doctrees/agentscope.agents.rpc_agent.doctree differ
diff --git a/en/.doctrees/agentscope.agents.user_agent.doctree b/en/.doctrees/agentscope.agents.user_agent.doctree
index 0d1a9ff05..d9c81b35b 100644
Binary files a/en/.doctrees/agentscope.agents.user_agent.doctree and b/en/.doctrees/agentscope.agents.user_agent.doctree differ
diff --git a/en/.doctrees/agentscope.doctree b/en/.doctrees/agentscope.doctree
index eec773ab7..f2ec623c9 100644
Binary files a/en/.doctrees/agentscope.doctree and b/en/.doctrees/agentscope.doctree differ
diff --git a/en/.doctrees/agentscope.message.doctree b/en/.doctrees/agentscope.message.doctree
index b5a3240a8..a97c5b1b2 100644
Binary files a/en/.doctrees/agentscope.message.doctree and b/en/.doctrees/agentscope.message.doctree differ
diff --git a/en/.doctrees/agentscope.message.placeholder.doctree b/en/.doctrees/agentscope.message.placeholder.doctree
index c0f1fba90..8770c93a6 100644
Binary files a/en/.doctrees/agentscope.message.placeholder.doctree and b/en/.doctrees/agentscope.message.placeholder.doctree differ
diff --git a/en/.doctrees/agentscope.msghub.doctree b/en/.doctrees/agentscope.msghub.doctree
index a9141076b..13fe4a69b 100644
Binary files a/en/.doctrees/agentscope.msghub.doctree and b/en/.doctrees/agentscope.msghub.doctree differ
diff --git a/en/.doctrees/environment.pickle b/en/.doctrees/environment.pickle
index 3514ef6fc..f01853f97 100644
Binary files a/en/.doctrees/environment.pickle and b/en/.doctrees/environment.pickle differ
diff --git a/en/.doctrees/index.doctree b/en/.doctrees/index.doctree
index 6df45e9cc..b18f2fc19 100644
Binary files a/en/.doctrees/index.doctree and b/en/.doctrees/index.doctree differ
diff --git a/en/agentscope.agents.agent.html b/en/agentscope.agents.agent.html
index f231dd4d0..895031e2a 100644
--- a/en/agentscope.agents.agent.html
+++ b/en/agentscope.agents.agent.html
@@ -237,7 +237,7 @@
-
-reply(x: Msg | Sequence[Msg] | None = None) → Msg[source]
+reply(x: Sequence[Msg] | Msg | None = None) → Msg[source]
Define the actions taken by this agent.
- Parameters:
diff --git a/en/agentscope.agents.dialog_agent.html b/en/agentscope.agents.dialog_agent.html
index d15fde0c0..272bc418d 100644
--- a/en/agentscope.agents.dialog_agent.html
+++ b/en/agentscope.agents.dialog_agent.html
@@ -150,7 +150,7 @@
-
-reply(x: Msg | Sequence[Msg] | None = None) → Msg[source]
+reply(x: Sequence[Msg] | Msg | None = None) → Msg[source]
Reply function of the agent. Processes the input data,
generates a prompt using the current dialogue memory and system
prompt, and invokes the language model to produce a response. The
diff --git a/en/agentscope.agents.dict_dialog_agent.html b/en/agentscope.agents.dict_dialog_agent.html
index 7d24f087f..0fbd63b91 100644
--- a/en/agentscope.agents.dict_dialog_agent.html
+++ b/en/agentscope.agents.dict_dialog_agent.html
@@ -165,7 +165,7 @@
-
-reply(x: Msg | Sequence[Msg] | None = None) → Msg[source]
+reply(x: Sequence[Msg] | Msg | None = None) → Msg[source]
Reply function of the agent.
Processes the input data, generates a prompt using the current
dialogue memory and system prompt, and invokes the language
diff --git a/en/agentscope.agents.html b/en/agentscope.agents.html
index dee235ea0..7b9d6383e 100644
--- a/en/agentscope.agents.html
+++ b/en/agentscope.agents.html
@@ -299,7 +299,7 @@
Submodules[source]
Define the actions taken by this agent.
- Parameters:
@@ -489,7 +489,7 @@ Submodules[source]
Reply function of the agent. Processes the input data,
generates a prompt using the current dialogue memory and system
prompt, and invokes the language model to produce a response. The
@@ -551,7 +551,7 @@
Submodules[source]
Reply function of the agent.
Processes the input data, generates a prompt using the current
dialogue memory and system prompt, and invokes the language
@@ -606,7 +606,7 @@
Submodules[source]
Processes the input provided by the user and stores it in memory,
potentially formatting it with additional provided details.
The method prompts the user for input, then optionally prompts for
@@ -691,7 +691,7 @@
Submodules[source]
The reply method of the agent.
@@ -782,7 +782,7 @@ Submodules[source]
Reply function of the RAG agent.
Processes the input data,
1) use the input data to retrieve with RAG function;
diff --git a/en/agentscope.agents.rag_agent.html b/en/agentscope.agents.rag_agent.html
index df74c2673..67c519d97 100644
--- a/en/agentscope.agents.rag_agent.html
+++ b/en/agentscope.agents.rag_agent.html
@@ -170,7 +170,7 @@
-
-reply(x: Msg | Sequence[Msg] | None = None) → Msg[source]
+reply(x: Sequence[Msg] | Msg | None = None) → Msg[source]
Reply function of the RAG agent.
Processes the input data,
1) use the input data to retrieve with RAG function;
diff --git a/en/agentscope.agents.react_agent.html b/en/agentscope.agents.react_agent.html
index cadb928eb..009e4752f 100644
--- a/en/agentscope.agents.react_agent.html
+++ b/en/agentscope.agents.react_agent.html
@@ -168,7 +168,7 @@
-
-reply(x: Msg | Sequence[Msg] | None = None) → Msg[source]
+reply(x: Sequence[Msg] | Msg | None = None) → Msg[source]
The reply method of the agent.
diff --git a/en/agentscope.agents.rpc_agent.html b/en/agentscope.agents.rpc_agent.html
index 5ef5f5d6f..4031246d0 100644
--- a/en/agentscope.agents.rpc_agent.html
+++ b/en/agentscope.agents.rpc_agent.html
@@ -158,7 +158,7 @@
-
-reply(x: Msg | Sequence[Msg] | None = None) → Msg[source]
+reply(x: Sequence[Msg] | Msg | None = None) → Msg[source]
Define the actions taken by this agent.
- Parameters:
diff --git a/en/agentscope.agents.user_agent.html b/en/agentscope.agents.user_agent.html
index 8e1642c1c..6217184cc 100644
--- a/en/agentscope.agents.user_agent.html
+++ b/en/agentscope.agents.user_agent.html
@@ -153,7 +153,7 @@
-
-reply(x: Msg | Sequence[Msg] | None = None, required_keys: list[str] | str | None = None, timeout: int | None = None) → Msg[source]
+reply(x: Sequence[Msg] | Msg | None = None, required_keys: list[str] | str | None = None, timeout: int | None = None) → Msg[source]
Processes the input provided by the user and stores it in memory,
potentially formatting it with additional provided details.
The method prompts the user for input, then optionally prompts for
diff --git a/en/agentscope.html b/en/agentscope.html
index 9283c56a2..cbec86d28 100644
--- a/en/agentscope.html
+++ b/en/agentscope.html
@@ -1282,7 +1282,7 @@
Submodules[source]
msghub is used to share messages among a group of agents.
- Parameters:
diff --git a/en/agentscope.message.html b/en/agentscope.message.html
index 6321e98df..85a9a9233 100644
--- a/en/agentscope.message.html
+++ b/en/agentscope.message.html
@@ -314,12 +314,12 @@ Submodules[source]
Bases: Msg
A placeholder for the return message of RpcAgent.
-
-__init__(host: str | None = None, port: int | None = None, task_id: int | None = None, client: RpcAgentClient | None = None, x: Msg | Sequence[Msg] | None = None) → None[source]
+__init__(host: str | None = None, port: int | None = None, task_id: int | None = None, client: RpcAgentClient | None = None, x: Sequence[Msg] | Msg | None = None) → None[source]
A placeholder message, records the address of the real message.
- Parameters:
diff --git a/en/agentscope.message.placeholder.html b/en/agentscope.message.placeholder.html
index e1fe6ff3e..6c41a7a39 100644
--- a/en/agentscope.message.placeholder.html
+++ b/en/agentscope.message.placeholder.html
@@ -126,12 +126,12 @@
The placeholder message for RpcAgent.
-
-class agentscope.message.placeholder.PlaceholderMessage(host: str | None = None, port: int | None = None, task_id: int | None = None, client: RpcAgentClient | None = None, x: Msg | Sequence[Msg] | None = None)[source]
+class agentscope.message.placeholder.PlaceholderMessage(host: str | None = None, port: int | None = None, task_id: int | None = None, client: RpcAgentClient | None = None, x: Sequence[Msg] | Msg | None = None)[source]
Bases: Msg
A placeholder for the return message of RpcAgent.
-
-__init__(host: str | None = None, port: int | None = None, task_id: int | None = None, client: RpcAgentClient | None = None, x: Msg | Sequence[Msg] | None = None) → None[source]
+__init__(host: str | None = None, port: int | None = None, task_id: int | None = None, client: RpcAgentClient | None = None, x: Sequence[Msg] | Msg | None = None) → None[source]
A placeholder message, records the address of the real message.
- Parameters:
diff --git a/en/agentscope.msghub.html b/en/agentscope.msghub.html
index 821fd864e..849e10e69 100644
--- a/en/agentscope.msghub.html
+++ b/en/agentscope.msghub.html
@@ -126,12 +126,12 @@
MsgHub is designed to share messages among a group of agents.
-
-class agentscope.msghub.MsgHubManager(participants: Sequence[AgentBase], announcement: Msg | Sequence[Msg] | None = None)[source]
+class agentscope.msghub.MsgHubManager(participants: Sequence[AgentBase], announcement: Sequence[Msg] | Msg | None = None)[source]
Bases: object
MsgHub manager class for sharing dialog among a group of agents.
-
-__init__(participants: Sequence[AgentBase], announcement: Msg | Sequence[Msg] | None = None) → None[source]
+__init__(participants: Sequence[AgentBase], announcement: Sequence[Msg] | Msg | None = None) → None[source]
Initialize a msghub manager from the given arguments.
- Parameters:
@@ -173,7 +173,7 @@
-
-agentscope.msghub.msghub(participants: Sequence[AgentBase], announcement: Msg | Sequence[Msg] | None = None) → MsgHubManager[source]
+agentscope.msghub.msghub(participants: Sequence[AgentBase], announcement: Sequence[Msg] | Msg | None = None) → MsgHubManager[source]
msghub is used to share messages among a group of agents.
- Parameters:
diff --git a/zh_CN/.doctrees/agentscope.agents.agent.doctree b/zh_CN/.doctrees/agentscope.agents.agent.doctree
index 951f2539f..16ceff0a6 100644
Binary files a/zh_CN/.doctrees/agentscope.agents.agent.doctree and b/zh_CN/.doctrees/agentscope.agents.agent.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.agents.dialog_agent.doctree b/zh_CN/.doctrees/agentscope.agents.dialog_agent.doctree
index b772248e3..fffd6e3e3 100644
Binary files a/zh_CN/.doctrees/agentscope.agents.dialog_agent.doctree and b/zh_CN/.doctrees/agentscope.agents.dialog_agent.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.agents.dict_dialog_agent.doctree b/zh_CN/.doctrees/agentscope.agents.dict_dialog_agent.doctree
index a531be7c1..7b9e62cd5 100644
Binary files a/zh_CN/.doctrees/agentscope.agents.dict_dialog_agent.doctree and b/zh_CN/.doctrees/agentscope.agents.dict_dialog_agent.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.agents.doctree b/zh_CN/.doctrees/agentscope.agents.doctree
index 76c1e6a63..ea363b897 100644
Binary files a/zh_CN/.doctrees/agentscope.agents.doctree and b/zh_CN/.doctrees/agentscope.agents.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.agents.rag_agent.doctree b/zh_CN/.doctrees/agentscope.agents.rag_agent.doctree
index a95d5831d..5e9d6ffda 100644
Binary files a/zh_CN/.doctrees/agentscope.agents.rag_agent.doctree and b/zh_CN/.doctrees/agentscope.agents.rag_agent.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.agents.react_agent.doctree b/zh_CN/.doctrees/agentscope.agents.react_agent.doctree
index a5f910400..803698f70 100644
Binary files a/zh_CN/.doctrees/agentscope.agents.react_agent.doctree and b/zh_CN/.doctrees/agentscope.agents.react_agent.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.agents.rpc_agent.doctree b/zh_CN/.doctrees/agentscope.agents.rpc_agent.doctree
index 6809fbbbc..e6a2386c7 100644
Binary files a/zh_CN/.doctrees/agentscope.agents.rpc_agent.doctree and b/zh_CN/.doctrees/agentscope.agents.rpc_agent.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.agents.user_agent.doctree b/zh_CN/.doctrees/agentscope.agents.user_agent.doctree
index 5f051c875..ab3836418 100644
Binary files a/zh_CN/.doctrees/agentscope.agents.user_agent.doctree and b/zh_CN/.doctrees/agentscope.agents.user_agent.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.doctree b/zh_CN/.doctrees/agentscope.doctree
index 7133a1db1..fddba7b1d 100644
Binary files a/zh_CN/.doctrees/agentscope.doctree and b/zh_CN/.doctrees/agentscope.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.message.doctree b/zh_CN/.doctrees/agentscope.message.doctree
index 0c98226a3..2bd414985 100644
Binary files a/zh_CN/.doctrees/agentscope.message.doctree and b/zh_CN/.doctrees/agentscope.message.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.message.placeholder.doctree b/zh_CN/.doctrees/agentscope.message.placeholder.doctree
index bf16c67c0..69c2f05a9 100644
Binary files a/zh_CN/.doctrees/agentscope.message.placeholder.doctree and b/zh_CN/.doctrees/agentscope.message.placeholder.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.msghub.doctree b/zh_CN/.doctrees/agentscope.msghub.doctree
index 4c5aa9e9a..95050d0a2 100644
Binary files a/zh_CN/.doctrees/agentscope.msghub.doctree and b/zh_CN/.doctrees/agentscope.msghub.doctree differ
diff --git a/zh_CN/.doctrees/environment.pickle b/zh_CN/.doctrees/environment.pickle
index cc098926f..5654cc36d 100644
Binary files a/zh_CN/.doctrees/environment.pickle and b/zh_CN/.doctrees/environment.pickle differ
diff --git a/zh_CN/.doctrees/index.doctree b/zh_CN/.doctrees/index.doctree
index 597595068..a9487aefb 100644
Binary files a/zh_CN/.doctrees/index.doctree and b/zh_CN/.doctrees/index.doctree differ
diff --git a/zh_CN/agentscope.agents.agent.html b/zh_CN/agentscope.agents.agent.html
index 35cc30799..8591b540f 100644
--- a/zh_CN/agentscope.agents.agent.html
+++ b/zh_CN/agentscope.agents.agent.html
@@ -254,7 +254,7 @@
-
-reply(x: Msg | Sequence[Msg] | None = None) → Msg[源代码]
+reply(x: Sequence[Msg] | Msg | None = None) → Msg[源代码]
Define the actions taken by this agent.
- 参数:
diff --git a/zh_CN/agentscope.agents.dialog_agent.html b/zh_CN/agentscope.agents.dialog_agent.html
index 2d284806d..dbe198064 100644
--- a/zh_CN/agentscope.agents.dialog_agent.html
+++ b/zh_CN/agentscope.agents.dialog_agent.html
@@ -166,7 +166,7 @@
-
-reply(x: Msg | Sequence[Msg] | None = None) → Msg[源代码]
+reply(x: Sequence[Msg] | Msg | None = None) → Msg[源代码]
Reply function of the agent. Processes the input data,
generates a prompt using the current dialogue memory and system
prompt, and invokes the language model to produce a response. The
diff --git a/zh_CN/agentscope.agents.dict_dialog_agent.html b/zh_CN/agentscope.agents.dict_dialog_agent.html
index c7b0c398f..8ad83505f 100644
--- a/zh_CN/agentscope.agents.dict_dialog_agent.html
+++ b/zh_CN/agentscope.agents.dict_dialog_agent.html
@@ -181,7 +181,7 @@
-
-reply(x: Msg | Sequence[Msg] | None = None) → Msg[源代码]
+reply(x: Sequence[Msg] | Msg | None = None) → Msg[源代码]
Reply function of the agent.
Processes the input data, generates a prompt using the current
dialogue memory and system prompt, and invokes the language
diff --git a/zh_CN/agentscope.agents.html b/zh_CN/agentscope.agents.html
index 83bbf72f0..2e839555d 100644
--- a/zh_CN/agentscope.agents.html
+++ b/zh_CN/agentscope.agents.html
@@ -362,7 +362,7 @@
Submodules[源代码]
Define the actions taken by this agent.
- 参数:
@@ -552,7 +552,7 @@ Submodules[源代码]
Reply function of the agent. Processes the input data,
generates a prompt using the current dialogue memory and system
prompt, and invokes the language model to produce a response. The
@@ -614,7 +614,7 @@
Submodules[源代码]
Reply function of the agent.
Processes the input data, generates a prompt using the current
dialogue memory and system prompt, and invokes the language
@@ -669,7 +669,7 @@
Submodules[源代码]
Processes the input provided by the user and stores it in memory,
potentially formatting it with additional provided details.
The method prompts the user for input, then optionally prompts for
@@ -754,7 +754,7 @@
Submodules[源代码]
The reply method of the agent.
@@ -845,7 +845,7 @@ Submodules[源代码]
Reply function of the RAG agent.
Processes the input data,
1) use the input data to retrieve with RAG function;
diff --git a/zh_CN/agentscope.agents.rag_agent.html b/zh_CN/agentscope.agents.rag_agent.html
index dc681208f..acb35ed5a 100644
--- a/zh_CN/agentscope.agents.rag_agent.html
+++ b/zh_CN/agentscope.agents.rag_agent.html
@@ -186,7 +186,7 @@
-
-reply(x: Msg | Sequence[Msg] | None = None) → Msg[源代码]
+reply(x: Sequence[Msg] | Msg | None = None) → Msg[源代码]
Reply function of the RAG agent.
Processes the input data,
1) use the input data to retrieve with RAG function;
diff --git a/zh_CN/agentscope.agents.react_agent.html b/zh_CN/agentscope.agents.react_agent.html
index 8868aaec8..d03500d42 100644
--- a/zh_CN/agentscope.agents.react_agent.html
+++ b/zh_CN/agentscope.agents.react_agent.html
@@ -184,7 +184,7 @@
-
-reply(x: Msg | Sequence[Msg] | None = None) → Msg[源代码]
+reply(x: Sequence[Msg] | Msg | None = None) → Msg[源代码]
The reply method of the agent.
diff --git a/zh_CN/agentscope.agents.rpc_agent.html b/zh_CN/agentscope.agents.rpc_agent.html
index 62b52b48d..6e44cb862 100644
--- a/zh_CN/agentscope.agents.rpc_agent.html
+++ b/zh_CN/agentscope.agents.rpc_agent.html
@@ -174,7 +174,7 @@
-
-reply(x: Msg | Sequence[Msg] | None = None) → Msg[源代码]
+reply(x: Sequence[Msg] | Msg | None = None) → Msg[源代码]
Define the actions taken by this agent.
- 参数:
diff --git a/zh_CN/agentscope.agents.user_agent.html b/zh_CN/agentscope.agents.user_agent.html
index 59261dcce..1ec41729b 100644
--- a/zh_CN/agentscope.agents.user_agent.html
+++ b/zh_CN/agentscope.agents.user_agent.html
@@ -169,7 +169,7 @@
-
-reply(x: Msg | Sequence[Msg] | None = None, required_keys: list[str] | str | None = None, timeout: int | None = None) → Msg[源代码]
+reply(x: Sequence[Msg] | Msg | None = None, required_keys: list[str] | str | None = None, timeout: int | None = None) → Msg[源代码]
Processes the input provided by the user and stores it in memory,
potentially formatting it with additional provided details.
The method prompts the user for input, then optionally prompts for
diff --git a/zh_CN/agentscope.html b/zh_CN/agentscope.html
index 17c906a51..134221d58 100644
--- a/zh_CN/agentscope.html
+++ b/zh_CN/agentscope.html
@@ -1316,7 +1316,7 @@
Submodules[源代码]
msghub is used to share messages among a group of agents.
- 参数:
diff --git a/zh_CN/agentscope.message.html b/zh_CN/agentscope.message.html
index 158c830be..a36a454c1 100644
--- a/zh_CN/agentscope.message.html
+++ b/zh_CN/agentscope.message.html
@@ -351,12 +351,12 @@ Submodules[源代码]
基类:Msg
A placeholder for the return message of RpcAgent.
-
-__init__(host: str | None = None, port: int | None = None, task_id: int | None = None, client: RpcAgentClient | None = None, x: Msg | Sequence[Msg] | None = None) → None[源代码]
+__init__(host: str | None = None, port: int | None = None, task_id: int | None = None, client: RpcAgentClient | None = None, x: Sequence[Msg] | Msg | None = None) → None[源代码]
A placeholder message, records the address of the real message.
- 参数:
diff --git a/zh_CN/agentscope.message.placeholder.html b/zh_CN/agentscope.message.placeholder.html
index d831ba2ef..b0f6ab87b 100644
--- a/zh_CN/agentscope.message.placeholder.html
+++ b/zh_CN/agentscope.message.placeholder.html
@@ -136,12 +136,12 @@
The placeholder message for RpcAgent.
-
-class agentscope.message.placeholder.PlaceholderMessage(host: str | None = None, port: int | None = None, task_id: int | None = None, client: RpcAgentClient | None = None, x: Msg | Sequence[Msg] | None = None)[源代码]
+class agentscope.message.placeholder.PlaceholderMessage(host: str | None = None, port: int | None = None, task_id: int | None = None, client: RpcAgentClient | None = None, x: Sequence[Msg] | Msg | None = None)[源代码]
基类:Msg
A placeholder for the return message of RpcAgent.
-
-__init__(host: str | None = None, port: int | None = None, task_id: int | None = None, client: RpcAgentClient | None = None, x: Msg | Sequence[Msg] | None = None) → None[源代码]
+__init__(host: str | None = None, port: int | None = None, task_id: int | None = None, client: RpcAgentClient | None = None, x: Sequence[Msg] | Msg | None = None) → None[源代码]
A placeholder message, records the address of the real message.
- 参数:
diff --git a/zh_CN/agentscope.msghub.html b/zh_CN/agentscope.msghub.html
index 46f6c5075..2d6a2ce1b 100644
--- a/zh_CN/agentscope.msghub.html
+++ b/zh_CN/agentscope.msghub.html
@@ -140,12 +140,12 @@
MsgHub is designed to share messages among a group of agents.
-
-class agentscope.msghub.MsgHubManager(participants: Sequence[AgentBase], announcement: Msg | Sequence[Msg] | None = None)[源代码]
+class agentscope.msghub.MsgHubManager(participants: Sequence[AgentBase], announcement: Sequence[Msg] | Msg | None = None)[源代码]
基类:object
MsgHub manager class for sharing dialog among a group of agents.
-
-__init__(participants: Sequence[AgentBase], announcement: Msg | Sequence[Msg] | None = None) → None[源代码]
+__init__(participants: Sequence[AgentBase], announcement: Sequence[Msg] | Msg | None = None) → None[源代码]
Initialize a msghub manager from the given arguments.
- 参数:
@@ -187,7 +187,7 @@
-
-agentscope.msghub.msghub(participants: Sequence[AgentBase], announcement: Msg | Sequence[Msg] | None = None) → MsgHubManager[源代码]
+agentscope.msghub.msghub(participants: Sequence[AgentBase], announcement: Sequence[Msg] | Msg | None = None) → MsgHubManager[源代码]
msghub is used to share messages among a group of agents.
- 参数: