From 8e0eceefee3e581e17b6931bcb868074f3f295a1 Mon Sep 17 00:00:00 2001 From: Kye Gomez <98760976+kyegomez@users.noreply.github.com> Date: Tue, 17 Sep 2024 11:45:10 -0400 Subject: [PATCH] Delete examples/agents/o1_preview 2.py --- examples/agents/o1_preview 2.py | 41 --------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 examples/agents/o1_preview 2.py diff --git a/examples/agents/o1_preview 2.py b/examples/agents/o1_preview 2.py deleted file mode 100644 index 67d84d35..00000000 --- a/examples/agents/o1_preview 2.py +++ /dev/null @@ -1,41 +0,0 @@ -import os -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( - openai_api_key=api_key, - model_name="o1-preview", - temperature=0.1, - max_tokens=100, -) - -# Initialize the agent -agent = Agent( - agent_name="Financial-Analysis-Agent_sas_chicken_eej", - system_prompt=FINANCIAL_AGENT_SYS_PROMPT, - llm=model, - max_loops=2, - autosave=True, - dashboard=False, - verbose=True, - dynamic_temperature_enabled=True, - saved_state_path="finance_agent.json", - user_name="swarms_corp", - retry_attempts=1, - context_length=200000, - return_step_meta=False, - # output_type="json", -) - - -out = agent.run( - "How can I establish a ROTH IRA to buy stocks and get a tax break? What are the criteria" -) -print(out)