runtime error
Exit code: 1. Reason: Traceback (most recent call last): File "/app/app.py", line 11, in <module> llm = ChatOpenAI(model="gpt-4o-mini", temperature=0) File "/usr/local/lib/python3.13/site-packages/langchain_core/load/serializable.py", line 118, in __init__ super().__init__(*args, **kwargs) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/pydantic/main.py", line 250, in __init__ validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self) File "/usr/local/lib/python3.13/site-packages/langchain_openai/chat_models/base.py", line 1071, in validate_environment self.root_async_client = openai.AsyncOpenAI( ~~~~~~~~~~~~~~~~~~^ **client_params, ^^^^^^^^^^^^^^^^ **async_specific, # type: ignore[arg-type] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/site-packages/openai/_client.py", line 496, in __init__ raise OpenAIError( "The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable" ) openai.OpenAIError: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable
Container logs:
Fetching error logs...