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-bot1ebe2fa6b6ec
diff --git a/docs/mintlify/reference/camel.toolkits.hybrid_browser_toolkit.hybrid_browser_toolkit.mdx b/docs/mintlify/reference/camel.toolkits.hybrid_browser_toolkit.hybrid_browser_toolkit.mdx
index cfc1b602d..481c56b9c 100644
--- a/docs/mintlify/reference/camel.toolkits.hybrid_browser_toolkit.hybrid_browser_toolkit.mdx
+++ b/docs/mintlify/reference/camel.toolkits.hybrid_browser_toolkit.hybrid_browser_toolkit.mdx
@@ -21,7 +21,6 @@ This wrapper allows users to choose between:
- **headless** (bool): Whether to run browser in headless mode. Defaults to True.
- **user_data_dir** (Optional[str]): Directory for user data persistence. Defaults to None.
- **stealth** (bool): Whether to enable stealth mode. Defaults to False.
-- **web_agent_model** (Optional[BaseModelBackend]): Model for web agent operations. Defaults to None.
- **cache_dir** (str): Directory for caching. Defaults to "tmp/". (default: `"tmp/"`)
- **enabled_tools** (Optional[List[str]]): List of enabled tools. Defaults to None.
- **browser_log_to_file** (bool): Whether to log browser actions to file. Defaults to False.
@@ -57,7 +56,6 @@ Create a HybridBrowserToolkit instance with the specified mode.
- **headless** (bool): Whether to run browser in headless mode. Defaults to True.
- **user_data_dir** (Optional[str]): Directory for user data persistence. Defaults to None.
- **stealth** (bool): Whether to enable stealth mode. Defaults to False.
-- **web_agent_model** (Optional[BaseModelBackend]): Model for web agent operations. Defaults to None.
- **cache_dir** (str): Directory for caching. Defaults to "tmp/". (default: `"tmp/"`)
- **enabled_tools** (Optional[List[str]]): List of enabled tools. Defaults to None.
- **browser_log_to_file** (bool): Whether to log browser actions to file. Defaults to False.
diff --git a/docs/mintlify/reference/camel.toolkits.hybrid_browser_toolkit.hybrid_browser_toolkit_ts.mdx b/docs/mintlify/reference/camel.toolkits.hybrid_browser_toolkit.hybrid_browser_toolkit_ts.mdx
index 230812f62..4c481931b 100644
--- a/docs/mintlify/reference/camel.toolkits.hybrid_browser_toolkit.hybrid_browser_toolkit_ts.mdx
+++ b/docs/mintlify/reference/camel.toolkits.hybrid_browser_toolkit.hybrid_browser_toolkit_ts.mdx
@@ -1,5 +1,15 @@
<a id="camel.toolkits.hybrid_browser_toolkit.hybrid_browser_toolkit_ts"></a>
+<a id="camel.toolkits.hybrid_browser_toolkit.hybrid_browser_toolkit_ts.SheetCell"></a>
+
+## SheetCell
+
+```python
+class SheetCell(TypedDict):
+```
+
+Type definition for a sheet cell input.
+
<a id="camel.toolkits.hybrid_browser_toolkit.hybrid_browser_toolkit_ts.HybridBrowserToolkit"></a>
## HybridBrowserToolkit
@@ -29,7 +39,6 @@ Initialize the HybridBrowserToolkit.
- **headless** (bool): Whether to run browser in headless mode. Defaults to True.
- **user_data_dir** (Optional[str]): Directory for user data persistence. Defaults to None.
- **stealth** (bool): Whether to enable stealth mode. Defaults to False.
-- **web_agent_model** (Optional[BaseModelBackend]): Model for web agent operations. Defaults to None.
- **cache_dir** (str): Directory for caching. Defaults to "tmp/". (default: `"tmp/"`)
- **enabled_tools** (Optional[List[str]]): List of enabled tools. Defaults to None.
- **browser_log_to_file** (bool): Whether to log browser actions to file. Defaults to False.
@@ -59,35 +68,37 @@ def __del__(self):
Cleanup browser resources on garbage collection.
-<a id="camel.toolkits.hybrid_browser_toolkit.hybrid_browser_toolkit_ts.HybridBrowserToolkit.web_agent_model"></a>
+<a id="camel.toolkits.hybrid_browser_toolkit.hybrid_browser_toolkit_ts.HybridBrowserToolkit.cache_dir"></a>
-### web_agent_model
+### cache_dir
```python
-def web_agent_model(self):
+def cache_dir(self):
```
-Get the web agent model.
+Get the cache directory.
-<a id="camel.toolkits.hybrid_browser_toolkit.hybrid_browser_toolkit_ts.HybridBrowserToolkit.web_agent_model"></a>
+<a id="camel.toolkits.hybrid_browser_toolkit.hybrid_browser_toolkit_ts.HybridBrowserToolkit._trim_sheet_content"></a>
-### web_agent_model
+### _trim_sheet_content
```python
-def web_agent_model(self, value: Optional[BaseModelBackend]):
+def _trim_sheet_content(self, content: str):
```
-Set the web agent model.
+Trim sheet content and add row/column labels.
-<a id="camel.toolkits.hybrid_browser_toolkit.hybrid_browser_toolkit_ts.HybridBrowserToolkit.cache_dir"></a>
+Remove all empty rows and columns, then add:
+- Column headers: A, B, C, D...
+- Row numbers: 0, 1, 2, 3...
-### cache_dir
+**Parameters:**
-```python
-def cache_dir(self):
-```
+- **content** (str): Raw sheet content with tabs and newlines.
-Get the cache directory.
+**Returns:**
+
+ str: Trimmed content with row/column labels.
<a id="camel.toolkits.hybrid_browser_toolkit.hybrid_browser_toolkit_ts.HybridBrowserToolkit.clone_for_new_session"></a>
diff --git a/docs/mintlify/reference/camel.toolkits.hybrid_browser_toolkit.ws_wrapper.mdx b/docs/mintlify/reference/camel.toolkits.hybrid_browser_toolkit.ws_wrapper.mdx
index a5edd05d8..ff5c060f7 100644
--- a/docs/mintlify/reference/camel.toolkits.hybrid_browser_toolkit.ws_wrapper.mdx
+++ b/docs/mintlify/reference/camel.toolkits.hybrid_browser_toolkit.ws_wrapper.mdx
@@ -18,6 +18,23 @@ def action_logger(func):
Decorator to add logging to action methods.
+Skips logging if already inside a high-level action to avoid
+logging internal calls.
+
+<a id="camel.toolkits.hybrid_browser_toolkit.ws_wrapper.high_level_action"></a>
+
+## high_level_action
+
+```python
+def high_level_action(func):
+```
+
+Decorator for high-level actions that should suppress low-level logging.
+
+When a function is decorated with this, all low-level action_logger
+decorated functions called within it will skip logging. This decorator
+itself will log the high-level action.
+
<a id="camel.toolkits.hybrid_browser_toolkit.ws_wrapper.WebSocketBrowserWrapper"></a>
## WebSocketBrowserWrapper