runtime error
Exit code: 1. Reason: Traceback (most recent call last): File "/home/user/app/run.py", line 9, in <module> model = ChatOpenAI(model="gpt-4o-mini") File "/usr/local/lib/python3.10/site-packages/langchain_core/load/serializable.py", line 130, in __init__ super().__init__(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/pydantic/main.py", line 253, in __init__ validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self) File "/usr/local/lib/python3.10/site-packages/langchain_openai/chat_models/base.py", line 642, in validate_environment self.root_client = openai.OpenAI(**client_params, **sync_specific) # type: ignore[arg-type] File "/usr/local/lib/python3.10/site-packages/openai/_client.py", line 126, in __init__ raise OpenAIError( 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...