runtime error
Exit code: 1. Reason: Initializing DuckDuckGo search tool... Error initializing DuckDuckGo search tool: https://lite.duckduckgo.com/lite/ 202 Ratelimit Falling back to Google search tool... Error initializing Google search tool: Missing SerpAPI key. Make sure you have 'SERPAPI_API_KEY' in your env variables. WARNING: No working search tool available. Agent functionality will be limited. tool.py: 0%| | 0.00/635 [00:00<?, ?B/s][A tool.py: 100%|██████████| 635/635 [00:00<00:00, 4.58MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 417, in <module> agent = CodeAgent( File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 1186, in __init__ super().__init__( File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 232, in __init__ tool_and_managed_agent_names = [tool.name for tool in tools] File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 232, in <listcomp> tool_and_managed_agent_names = [tool.name for tool in tools] AttributeError: 'function' object has no attribute 'name'
Container logs:
Fetching error logs...