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 [skip ci]

camel-docs-botaaf749b33144
diff --git a/docs/mintlify/reference/camel.toolkits.terminal_toolkit.terminal_toolkit.mdx b/docs/mintlify/reference/camel.toolkits.terminal_toolkit.terminal_toolkit.mdx
index 2b18a1473..b989fd8ef 100644
--- a/docs/mintlify/reference/camel.toolkits.terminal_toolkit.terminal_toolkit.mdx
+++ b/docs/mintlify/reference/camel.toolkits.terminal_toolkit.terminal_toolkit.mdx
@@ -82,15 +82,15 @@ def _setup_initial_environment(self):
Set up an initial environment with Python 3.10.
-<a id="camel.toolkits.terminal_toolkit.terminal_toolkit.TerminalToolkit._adapt_command_for_environment"></a>
+<a id="camel.toolkits.terminal_toolkit.terminal_toolkit.TerminalToolkit._get_venv_path"></a>
-### _adapt_command_for_environment
+### _get_venv_path
```python
-def _adapt_command_for_environment(self, command: str):
+def _get_venv_path(self):
```
-Adapt command to use virtual environment if available.
+Get the virtual environment path if available.
<a id="camel.toolkits.terminal_toolkit.terminal_toolkit.TerminalToolkit._write_to_log"></a>
@@ -137,7 +137,6 @@ def _collect_output_until_idle(
self,
id: str,
idle_duration: float = 0.5,
- check_interval: float = 0.1,
max_wait: float = 5.0
):
```
@@ -149,7 +148,6 @@ is reached.
- **id** (str): The session ID.
- **idle_duration** (float): How long the stream must be empty to be considered idle.(default: 0.5)
-- **check_interval** (float): The time to sleep between checks. (default: 0.1)
- **max_wait** (float): The maximum total time to wait for the process to go idle. (default: 5.0)
**Returns:**
diff --git a/docs/mintlify/reference/camel.toolkits.terminal_toolkit.utils.mdx b/docs/mintlify/reference/camel.toolkits.terminal_toolkit.utils.mdx
index 9ea7c3084..c0844939b 100644
--- a/docs/mintlify/reference/camel.toolkits.terminal_toolkit.utils.mdx
+++ b/docs/mintlify/reference/camel.toolkits.terminal_toolkit.utils.mdx
@@ -108,7 +108,21 @@ Set up initial environment using standard venv.
def clone_current_environment(env_path: str, working_dir: str, update_callback = None):
```
-Create a new Python virtual environment, optionally using uv.
+Clone the current Python environment to a new virtual environment.
+
+This function creates a new virtual environment with the same Python
+version as the current environment and installs all packages from
+the current environment.
+
+**Parameters:**
+
+- **env_path**: Path where the new environment will be created.
+- **working_dir**: Working directory for subprocess commands.
+- **update_callback**: Optional callback for status updates.
+
+**Returns:**
+
+ True if the environment was created successfully, False otherwise.
<a id="camel.toolkits.terminal_toolkit.utils.check_nodejs_availability"></a>