diff --git a/en/.doctrees/environment.pickle b/en/.doctrees/environment.pickle index 9113a8512..d0db588de 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 f0abe4c20..79c3183cc 100644 Binary files a/en/.doctrees/index.doctree and b/en/.doctrees/index.doctree differ diff --git a/en/_modules/agentscope/agents/react_agent.html b/en/_modules/agentscope/agents/react_agent.html index 4429edc18..dbf98c18a 100644 --- a/en/_modules/agentscope/agents/react_agent.html +++ b/en/_modules/agentscope/agents/react_agent.html @@ -251,7 +251,7 @@

Source code for agentscope.agents.react_agent

"""The reply method of the agent.""" self.memory.add(x) - for _ in range(10): + for _ in range(self.max_iters): # Step 1: Reasoning: decide what function to call function_call = self._reasoning() diff --git a/zh_CN/.doctrees/environment.pickle b/zh_CN/.doctrees/environment.pickle index 52bf9f955..b093efed3 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 0d5078796..22287e880 100644 Binary files a/zh_CN/.doctrees/index.doctree and b/zh_CN/.doctrees/index.doctree differ diff --git a/zh_CN/_modules/agentscope/agents/react_agent.html b/zh_CN/_modules/agentscope/agents/react_agent.html index 943941ae3..b884e2918 100644 --- a/zh_CN/_modules/agentscope/agents/react_agent.html +++ b/zh_CN/_modules/agentscope/agents/react_agent.html @@ -254,7 +254,7 @@

agentscope.agents.react_agent 源代码

         """The reply method of the agent."""
         self.memory.add(x)
 
-        for _ in range(10):
+        for _ in range(self.max_iters):
             # Step 1: Reasoning: decide what function to call
             function_call = self._reasoning()