runtime error
Exit code: 1. Reason: b/python3.10/site-packages (from groq) (4.12.2) Requirement already satisfied: anyio<5,>=3.5.0 in /usr/local/lib/python3.10/site-packages (from groq) (4.6.0) Requirement already satisfied: httpx<1,>=0.23.0 in /usr/local/lib/python3.10/site-packages (from groq) (0.27.2) Requirement already satisfied: sniffio in /usr/local/lib/python3.10/site-packages (from groq) (1.3.1) Collecting distro<2,>=1.7.0 Downloading distro-1.9.0-py3-none-any.whl (20 kB) Requirement already satisfied: pydantic<3,>=1.9.0 in /usr/local/lib/python3.10/site-packages (from groq) (2.9.2) Requirement already satisfied: exceptiongroup>=1.0.2 in /usr/local/lib/python3.10/site-packages (from anyio<5,>=3.5.0->groq) (1.2.2) Requirement already satisfied: idna>=2.8 in /usr/local/lib/python3.10/site-packages (from anyio<5,>=3.5.0->groq) (3.10) Requirement already satisfied: certifi in /usr/local/lib/python3.10/site-packages (from httpx<1,>=0.23.0->groq) (2024.8.30) Requirement already satisfied: httpcore==1.* in /usr/local/lib/python3.10/site-packages (from httpx<1,>=0.23.0->groq) (1.0.5) Requirement already satisfied: h11<0.15,>=0.13 in /usr/local/lib/python3.10/site-packages (from httpcore==1.*->httpx<1,>=0.23.0->groq) (0.14.0) Requirement already satisfied: pydantic-core==2.23.4 in /usr/local/lib/python3.10/site-packages (from pydantic<3,>=1.9.0->groq) (2.23.4) Requirement already satisfied: annotated-types>=0.6.0 in /usr/local/lib/python3.10/site-packages (from pydantic<3,>=1.9.0->groq) (0.7.0) Installing collected packages: distro, groq Successfully installed distro-1.9.0 groq-0.11.0 [notice] A new release of pip available: 22.3.1 -> 24.2 [notice] To update, run: pip install --upgrade pip Traceback (most recent call last): File "/home/user/app/app.py", line 12, in <module> client = Groq() File "/usr/local/lib/python3.10/site-packages/groq/_client.py", line 89, in __init__ raise GroqError( groq.GroqError: The api_key client option must be set either by passing api_key to the client or by setting the GROQ_API_KEY environment variable
Container logs:
Fetching error logs...