Unexpected error: API key not set Traceback (most recent call last): File "/GHOSTCREW/ghostcrew/main.py", line 22, in main #5

Closed
opened 2026-02-27 13:58:50 -05:00 by yindo · 2 comments
Owner

Originally created by @bracalente on GitHub (Sep 4, 2025).

Good morning, adding the key, url and model in the app_config.py file I can't run the script, can someone help me or tell me the installation procedure please?

Originally created by @bracalente on GitHub (Sep 4, 2025). Good morning, adding the key, url and model in the app_config.py file I can't run the script, can someone help me or tell me the installation procedure please?
yindo closed this issue 2026-02-27 13:58:50 -05:00
Author
Owner

@GH05TCREW commented on GitHub (Sep 4, 2025):

Hi! Did you edit the app_config.py file directly? For the API key, model, and URL, please set them in a .env file in your project root, and make sure the file is saved in UTF-8 encoding so it’s readable. Let me know if that works.

@GH05TCREW commented on GitHub (Sep 4, 2025): Hi! Did you edit the app_config.py file directly? For the API key, model, and URL, please set them in a .env file in your project root, and make sure the file is saved in UTF-8 encoding so it’s readable. Let me know if that works.
Author
Owner

@bracalente commented on GitHub (Sep 8, 2025):

working now, thank you! have a great day!

@bracalente commented on GitHub (Sep 8, 2025): working now, thank you! have a great day!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: yindo/pentestagent#5