Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

"verbose": False seems to still log to console #1167

Open
panjurli45 opened this issue May 18, 2024 · 1 comment
Open

"verbose": False seems to still log to console #1167

panjurli45 opened this issue May 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@panjurli45
Copy link

System Info

2.0.42

馃悰 Describe the bug

Agent(connector,
            memory_size=10,
            config={"llm": self.llm, "verbose": False, "open_charts": False, "save_charts": True,
                    "response_parser": StreamlitResponse, 'save_logs': False, "debug": False}
                    )

Below logs still appear in the console with verbose as False

INFO 2024-05-18 10:36:45,968 pandasai.helpers.logger:Prompt ID: 8734daac-f8ab-42c5-b9a7-163b20c0191c
INFO 2024-05-18 10:36:45,969 pandasai.helpers.logger:Executing Pipeline: GenerateChatPipeline
INFO 2024-05-18 10:36:45,980 pandasai.helpers.logger:Executing Step 0: ValidatePipelineInput
INFO 2024-05-18 10:36:45,982 pandasai.helpers.logger:Executing Step 1: CacheLookup
INFO 2024-05-18 10:36:45,985 pandasai.helpers.logger:Executing Step 2: PromptGeneration
INFO 2024-05-18 10:36:46,003 pandasai.helpers.logger:Using prompt: dfs[0]:
@gventuri
Copy link
Collaborator

@panjurli45 good catch.

Additionally:

  • if I run it on the terminal, it doesn't log anything even with Verbose = True
  • if I run it with save_logs = False, it still saves the logs

@gventuri gventuri added the bug Something isn't working label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants