Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

Auto-update documentation after merge

camel-docs-bot8b56728be9fd
diff --git a/docs/mintlify/reference/camel.toolkits.terminal_toolkit.mdx b/docs/mintlify/reference/camel.toolkits.terminal_toolkit.mdx
index 7e4fe9c44..0ba14427f 100644
--- a/docs/mintlify/reference/camel.toolkits.terminal_toolkit.mdx
+++ b/docs/mintlify/reference/camel.toolkits.terminal_toolkit.mdx
@@ -315,6 +315,31 @@ Terminate a running process in a specified shell session.
str: Status message indicating whether the process was terminated.
+<a id="camel.toolkits.terminal_toolkit.TerminalToolkit.ask_user_for_help"></a>
+
+### ask_user_for_help
+
+```python
+def ask_user_for_help(self, id: str):
+```
+
+Pauses agent execution to ask a human for help in the terminal.
+
+This function should be called when an agent is stuck or needs
+assistance with a task that requires manual intervention (e.g.,
+solving a CAPTCHA or complex debugging). The human will take over the
+specified terminal session to execute commands and then return control
+to the agent.
+
+**Parameters:**
+
+- **id** (str): Identifier of the shell session for the human to interact with. If the session does not yet exist, it will be created automatically.
+
+**Returns:**
+
+ str: A status message indicating that the human has finished,
+including the number of commands executed.
+
<a id="camel.toolkits.terminal_toolkit.TerminalToolkit.__del__"></a>
### __del__