import asyncio from groq import Groq from mysite.utils import set_environment_variables async def completion(message: str, history, c=None, d=None): client = Groq(api_key=os.getenv("api_key")) # ...