runtime error
Exit code: 1. Reason: /usr/local/lib/python3.10/site-packages/smolagents/models.py:1424: FutureWarning: HfApiModel was renamed to InferenceClientModel in version 1.14.0 and will be removed in 1.17.0. warnings.warn( tool.py: 0%| | 0.00/635 [00:00<?, ?B/s][A tool.py: 100%|██████████| 635/635 [00:00<00:00, 5.36MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 104, in <module> agent = CodeAgent( File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 1513, in __init__ super().__init__( File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 289, in __init__ self.memory = AgentMemory(self.system_prompt) File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 303, in system_prompt return self.initialize_system_prompt() File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 1553, in initialize_system_prompt system_prompt = populate_template( File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 105, in populate_template compiled_template = Template(template, undefined=StrictUndefined) File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 1214, in __new__ return env.from_string(source, template_class=cls) File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 1111, in from_string return cls.from_code(self, self.compile(source), gs, None) File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 764, in compile source = self._generate(source, name, filename, defer_init=defer_init) File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 694, in _generate return generate( # type: ignore File "/usr/local/lib/python3.10/site-packages/jinja2/compiler.py", line 112, in generate raise TypeError("Can't compile non template nodes") TypeError: Can't compile non template nodes
Container logs:
Fetching error logs...