-
-
Notifications
You must be signed in to change notification settings - Fork 355
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
PraisonAI NameError: name 'l' is not defined #147
Comments
my auto.py code from openai import BaseModel, OpenAI logging.basicConfig(level=os.environ.get('LOGLEVEL', 'INFO').upper(), format='%(asctime)s - %(levelname)s - %(message)s') class TaskDetails(BaseModel): class RoleDetails(BaseModel): class TeamStructure(BaseModel): class AutoGenerator:
No Input data will be provided to the team. |
this is line 10 as it keep flagging up logging.basicConfig(level=os.environ.get('LOGLEVEL', 'INFO').upper(), format='%(asctime)s - %(levelname)s - %(message)s') |
(venv) (base) @DMTarmey ➜ /workspaces/PraisonAI (main) $ python -m praisonai ui
/workspaces/PraisonAI/venv/lib/python3.12/site-packages/pydantic/_internal/_config.py:341: UserWarning: Valid config keys have changed in V2:
warnings.warn(message, UserWarning)
Traceback (most recent call last):
File "", line 189, in _run_module_as_main
File "", line 148, in _get_module_details
File "", line 112, in _get_module_details
File "/workspaces/PraisonAI/praisonai/init.py", line 7, in
from .cli import PraisonAI
File "/workspaces/PraisonAI/praisonai/cli.py", line 10, in
from .auto import AutoGenerator
File "/workspaces/PraisonAI/praisonai/auto.py", line 10, in
l
NameError: name 'l' is not defined
(venv) (base) @DMTarmey ➜ /workspaces/PraisonAI (main) $
This issue seem to be realted to libraries as after very long time i fixed it and then was told to re load rewuirment.txt which i had updated but the system broke again, i have treid everythink i can using serch in vs code and asked chatgpt i tried everythink any thought would be great thakyou Daz
The text was updated successfully, but these errors were encountered: