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

GitHub Actionbc6545ab4727
diff --git a/docs/mintlify/docs.json b/docs/mintlify/docs.json
index 07bde3232..af0ac098d 100644
--- a/docs/mintlify/docs.json
+++ b/docs/mintlify/docs.json
@@ -585,7 +585,8 @@
"reference/camel.benchmarks.gaia",
"reference/camel.benchmarks.nexus",
"reference/camel.benchmarks.ragbench",
- "reference/camel.benchmarks.mock_website.app"
+ "reference/camel.benchmarks.mock_website.app",
+ "reference/camel.benchmarks.mock_website.mock_web"
]
},
{
diff --git a/docs/mintlify/reference/camel.agents.chat_agent.mdx b/docs/mintlify/reference/camel.agents.chat_agent.mdx
index 36e4defaf..3260062d0 100644
--- a/docs/mintlify/reference/camel.agents.chat_agent.mdx
+++ b/docs/mintlify/reference/camel.agents.chat_agent.mdx
@@ -20,7 +20,7 @@ Class for managing conversations of CAMEL Chat Agents.
- **tools** (Optional[List[Union[FunctionTool, Callable]]], optional): List of available :obj:`FunctionTool` or :obj:`Callable`. (default: :obj:`None`) external_tools (Optional[List[Union[FunctionTool, Callable, Dict[str, Any]]]], optional): List of external tools (:obj:`FunctionTool` or :obj:`Callable` or :obj:`Dict[str, Any]`) bind to one chat agent. When these tools are called, the agent will directly return the request instead of processing it. (default: :obj:`None`)
- **response_terminators** (List[ResponseTerminator], optional): List of :obj:`ResponseTerminator` bind to one chat agent. (default: :obj:`None`)
- **scheduling_strategy** (str): name of function that defines how to select the next model in ModelManager. (default: :str:`round_robin`)
-- **single_iteration** (bool): Whether to let the agent perform only one model calling at each step. (default: :obj:`False`)
+- **max_iteration** (Optional[int], optional): Maximum number of model calling iterations allowed per step. If `None` (default), there's no explicit limit. If `1`, it performs a single model call. If `N > 1`, it allows up to N model calls. (default: :obj:`None`)
- **agent_id** (str, optional): The ID of the agent. If not provided, a random UUID will be generated. (default: :obj:`None`)
- **stop_event** (Optional[threading.Event], optional): Event to signal termination of the agent's operation. When set, the agent will terminate its execution. (default: :obj:`None`)
@@ -41,7 +41,7 @@ def __init__(
external_tools: Optional[List[Union[FunctionTool, Callable, Dict[str, Any]]]] = None,
response_terminators: Optional[List[ResponseTerminator]] = None,
scheduling_strategy: str = 'round_robin',
- single_iteration: bool = False,
+ max_iteration: Optional[int] = None,
agent_id: Optional[str] = None,
stop_event: Optional[threading.Event] = None
):
diff --git a/docs/mintlify/reference/camel.benchmarks.mock_website.mock_web.mdx b/docs/mintlify/reference/camel.benchmarks.mock_website.mock_web.mdx
new file mode 100644
index 000000000..cc5370dcb
--- /dev/null
+++ b/docs/mintlify/reference/camel.benchmarks.mock_website.mock_web.mdx
@@ -0,0 +1,41 @@
+<a id="camel.benchmarks.mock_website.mock_web"></a>
+
+<a id="camel.benchmarks.mock_website.mock_web.setup_dispatcher_logging"></a>
+
+## setup_dispatcher_logging
+
+```python
+def setup_dispatcher_logging():
+```
+
+<a id="camel.benchmarks.mock_website.mock_web.download_website_assets"></a>
+
+## download_website_assets
+
+```python
+def download_website_assets(project_name: str):
+```
+
+<a id="camel.benchmarks.mock_website.mock_web.enqueue_output"></a>
+
+## enqueue_output
+
+```python
+def enqueue_output(stream, queue):
+```
+
+<a id="camel.benchmarks.mock_website.mock_web.run_project"></a>
+
+## run_project
+
+```python
+def run_project(project_name: str, port: int):
+```
+
+<a id="camel.benchmarks.mock_website.mock_web.main"></a>
+
+## main
+
+```python
+def main():
+```
diff --git a/docs/mintlify/reference/camel.benchmarks.mock_website.shopping_mall.app.mdx b/docs/mintlify/reference/camel.benchmarks.mock_website.shopping_mall.app.mdx
new file mode 100644
index 000000000..21ec4e05f
--- /dev/null
+++ b/docs/mintlify/reference/camel.benchmarks.mock_website.shopping_mall.app.mdx
@@ -0,0 +1,51 @@
+<a id="camel.benchmarks.mock_website.shopping_mall.app"></a>
+
+<a id="camel.benchmarks.mock_website.shopping_mall.app.load_products"></a>
+
+## load_products
+
+```python
+def load_products(file_path: str = 'products.json'):
+```
+
+<a id="camel.benchmarks.mock_website.shopping_mall.app.setup_logging"></a>
+
+## setup_logging
+
+```python
+def setup_logging(application):
+```
+
+<a id="camel.benchmarks.mock_website.shopping_mall.app.check_task_completion"></a>
+
+## check_task_completion
+
+```python
+def check_task_completion(current_cart_raw, ground_truth_spec):
+```
+
+<a id="camel.benchmarks.mock_website.shopping_mall.app._trigger_task_completion_check"></a>
+
+## _trigger_task_completion_check
+
+```python
+def _trigger_task_completion_check():
+```
+
+Checks for task completion if in task mode and not already signaled.
+
+<a id="camel.benchmarks.mock_website.shopping_mall.app.create_app"></a>
+
+## create_app
+
+```python
+def create_app():
+```
+
+<a id="camel.benchmarks.mock_website.shopping_mall.app.main"></a>
+
+## main
+
+```python
+def main():
+```