From 2c99a1c0454be05527e23ade960b427faab9c670 Mon Sep 17 00:00:00 2001 From: Kye Gomez Date: Mon, 16 Jun 2025 15:34:54 -0700 Subject: [PATCH] fix docs --- docs/swarms_cloud/agent_api.md | 2 ++ .../conversation_structure/conversation_example_supabase.py | 0 2 files changed, 2 insertions(+) rename conversation_example_supabase.py => examples/misc/conversation_structure/conversation_example_supabase.py (100%) diff --git a/docs/swarms_cloud/agent_api.md b/docs/swarms_cloud/agent_api.md index e0163985..21dd5dd2 100644 --- a/docs/swarms_cloud/agent_api.md +++ b/docs/swarms_cloud/agent_api.md @@ -47,6 +47,7 @@ The `AgentSpec` class defines the configuration for an individual agent. | `role` | string | "worker" | The agent's role within a swarm, influencing its behavior and interactions | | `max_loops` | integer | 1 | Maximum number of times the agent can repeat its task for iterative processing | | `tools_dictionary` | array | None | Dictionary of tools the agent can use to complete its task | +| `mcp_url` | string | None | URL for the MCP server that the agent can connect to | ### Agent Completion @@ -56,6 +57,7 @@ The `AgentCompletion` class combines an agent configuration with a specific task |-----------|------|-------------| | `agent_config` | AgentSpec | Configuration of the agent to be completed | | `task` | string | The task to be completed by the agent | +| `history` | Optional[Union[Dict[Any, Any], List[Dict[str, str]]]] | The history of the agent's previous tasks and responses. Can be either a dictionary or a list of message objects. | ### Single Agent Endpoint diff --git a/conversation_example_supabase.py b/examples/misc/conversation_structure/conversation_example_supabase.py similarity index 100% rename from conversation_example_supabase.py rename to examples/misc/conversation_structure/conversation_example_supabase.py