From 16c3d55fa1f50ab9c8f7bc0e8c834268d1a23d92 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 1 Oct 2024 14:49:48 -0400 Subject: [PATCH] [CLEANUP] --- docs/swarms/install/multi_agent_template.md | 6 --- "tests/profiling_agent 2.py\\" | 47 --------------------- 2 files changed, 53 deletions(-) delete mode 100644 docs/swarms/install/multi_agent_template.md delete mode 100644 "tests/profiling_agent 2.py\\" diff --git a/docs/swarms/install/multi_agent_template.md b/docs/swarms/install/multi_agent_template.md deleted file mode 100644 index 4063ef9e..00000000 --- a/docs/swarms/install/multi_agent_template.md +++ /dev/null @@ -1,6 +0,0 @@ -# Getting Started with Multi-Agent Collaboration Using the Multi-Agent Github Template - - -The Multi-Agent Github Template, a radically simple, reliable, and high-performance framework, is designed to empower developers and prompt engineers to harness the full potential of multi-agent collaboration. [LINK](https://medium.com/@kyeg/getting-started-with-multi-agent-collaboration-using-the-multi-agent-github-template-0f0a6cba0dc0) - -[GITHUB](https://github.com/kyegomez/Multi-Agent-Template-App) \ No newline at end of file diff --git "a/tests/profiling_agent 2.py\\" "b/tests/profiling_agent 2.py\\" deleted file mode 100644 index 8f1b0220..00000000 --- "a/tests/profiling_agent 2.py\\" +++ /dev/null @@ -1,47 +0,0 @@ -import time - -start_time = time.time() - -import os -import uuid -from swarms import Agent -from swarm_models import OpenAIChat -from swarms.prompts.finance_agent_sys_prompt import ( - FINANCIAL_AGENT_SYS_PROMPT, -) - - -# Get the OpenAI API key from the environment variable -api_key = os.getenv("OPENAI_API_KEY") - -# Create an instance of the OpenAIChat class -model = OpenAIChat( - api_key=api_key, model_name="gpt-4o-mini", temperature=0.1 -) - - -agent = Agent( - agent_name=f"{uuid.uuid4().hex}", - system_prompt=FINANCIAL_AGENT_SYS_PROMPT, - llm=model, - max_loops=1, - autosave=True, - dashboard=False, - verbose=True, - dynamic_temperature_enabled=True, - saved_state_path=f"{uuid.uuid4().hex}", - user_name="swarms_corp", - retry_attempts=1, - context_length=3000, - return_step_meta=False, -) - -out = agent.run( - "How can I establish a ROTH IRA to buy stocks and get a tax break? What are the criteria" -) -print(out) - -end_time = time.time() - -print(f"Execution time: {end_time - start_time} seconds") -# Execution time: 9.922541856765747 seconds for the whole script