runtime error
Exit code: 1. Reason: Traceback (most recent call last): File "/usr/local/lib/python3.13/site-packages/smolagents/models.py", line 1070, in create_client import openai ModuleNotFoundError: No module named 'openai' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/app.py", line 49, in <module> model = OpenAIServerModel( model_id="gpt-4o", ...<2 lines>... max_tokens=2048, ) File "/usr/local/lib/python3.13/site-packages/smolagents/models.py", line 1061, in __init__ super().__init__( ~~~~~~~~~~~~~~~~^ model_id=model_id, ^^^^^^^^^^^^^^^^^^ ...<2 lines>... **kwargs, ^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/site-packages/smolagents/models.py", line 809, in __init__ self.client = self.create_client() ~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/smolagents/models.py", line 1072, in create_client raise ModuleNotFoundError( "Please install 'openai' extra to use OpenAIServerModel: `pip install 'smolagents[openai]'`" ) from e ModuleNotFoundError: Please install 'openai' extra to use OpenAIServerModel: `pip install 'smolagents[openai]'`
Container logs:
Fetching error logs...