NewTools
Kye 2 years ago
parent c82f6b0372
commit 0bb991ae83

@ -1,11 +1,14 @@
import os
from swarms import Swarms from swarms import Swarms
# Retrieve your API key from the environment or replace with your actual key # Retrieve your API key from the environment or replace with your actual key
# api_key = "sksdsds" # api_key = "sksdsds"
api_key = os.getenv("OPENAI_API_KEY")
# Initialize Swarms with your API key # Initialize Swarms with your API key
swarm = Swarms() swarm = Swarms(openai_api_key=api_key)
# Define an objective # Define an objective
objective = """ objective = """

Loading…
Cancel
Save