diff --git a/docs/swarms/models/groq.md b/docs/swarms/models/groq.md index 3e2710e03..a8be0fcaa 100644 --- a/docs/swarms/models/groq.md +++ b/docs/swarms/models/groq.md @@ -34,11 +34,11 @@ This documentation provides instructions on how to obtain your Groq API key and ## Full Example ```python import os -from swarms import Agent, SequentialWorkflow from swarm_models import OpenAIChat +from dotenv import load_dotenv + +load_dotenv() -# model = Anthropic(anthropic_api_key=os.getenv("ANTHROPIC_API_KEY")) -company = "TGSC" # Get the OpenAI API key from the environment variable api_key = os.getenv("GROQ_API_KEY")