runtime error
Exit code: 1. Reason: main - LangChain Core 버전: 0.3.43 2025-03-08 07:56:10,859 - __main__ - INFO - etf_recommand.py:1132 - main - LangChain Community 버전: 0.3.19 2025-03-08 07:56:11,028 - __main__ - INFO - etf_recommand.py:1142 - main - LangChain OpenAI 버전: 0.3.8 2025-03-08 07:56:11,028 - __main__ - INFO - etf_recommand.py:1149 - main - LangGraph 버전: 버전 정보를 확인할 수 없음 2025-03-08 07:56:11,028 - __main__ - INFO - etf_recommand.py:1151 - main - ================================ 2025-03-08 07:56:11,054 - __main__ - ERROR - etf_recommand.py:1192 - main - 애플리케이션 실행 중 오류 발생: 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 2025-03-08 07:56:11,054 - __main__ - ERROR - etf_recommand.py:1193 - main - 상세 오류 정보: Traceback (most recent call last): File "/home/user/app/etf_recommand.py", line 1154, in main etf_system = ETFRecommendationSystem() File "/home/user/app/etf_recommand.py", line 61, in __init__ self.llm = ChatOpenAI(model="gpt-4o-mini") File "/usr/local/lib/python3.10/site-packages/langchain_core/load/serializable.py", line 125, in __init__ super().__init__(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/pydantic/main.py", line 214, 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 600, 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 110, 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 오류 발생: 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...