Skip to content

Run backend failed in linux #141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
yunxpeng opened this issue Apr 26, 2025 · 2 comments
Open

Run backend failed in linux #141

yunxpeng opened this issue Apr 26, 2025 · 2 comments

Comments

@yunxpeng
Copy link

The FIRECRAWL_API_KEY is already set but it still failed.

root@suna-dev:/home/pyx/suna/backend# python3 api.py
Traceback (most recent call last):
File "/home/pyx/suna/backend/api.py", line 5, in
from agentpress.thread_manager import ThreadManager
File "/home/pyx/suna/backend/agentpress/thread_manager.py", line 15, in
from services.llm import make_llm_api_call
File "/home/pyx/suna/backend/services/llm.py", line 19, in
from utils.logger import logger
File "/home/pyx/suna/backend/utils/logger.py", line 22, in
from utils.config import config, EnvMode
File "/home/pyx/suna/backend/utils/config.py", line 164, in
config = Configuration()
^^^^^^^^^^^^^^^
File "/home/pyx/suna/backend/utils/config.py", line 106, in init
self._validate()
File "/home/pyx/suna/backend/utils/config.py", line 143, in _validate
if not is_optional and getattr(self, field) is None:
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Configuration' object has no attribute 'FIRECRAWL_API_KEY'

Environemts:

Debian 12 Google Cloud

root@suna-dev:/home/pyx/suna/backend# python3
Python 3.11.2 (main, Nov 30 2024, 21:22:50) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

@Puddings22
Copy link

hmmm same for me

@isadorasss
Copy link

suna/backend/.env you should fix 'FFIRECRAWL' to 'FIRECRAWL_API_KEY'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants