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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set debug_mode in runtime when using Assiatant? #1091

Open
KevinZhang19870314 opened this issue Aug 13, 2024 · 1 comment
Open

How to set debug_mode in runtime when using Assiatant? #1091

KevinZhang19870314 opened this issue Aug 13, 2024 · 1 comment

Comments

@KevinZhang19870314
Copy link

How to set debug_mode in runtime when using Assiatant? Below is my code to set the debug_mode, I can set the debug_mode=True, but when I set it back to debug_mode=False, it still print out the debug log info. How to fix it?

# new Assistant instance xxx

debug=True

assistant.set_log_level(debug)
assistant.debug_mode = debug
assistant.show_tool_calls = debug

# xxxx
KevinZhang19870314 pushed a commit to KevinZhang19870314/phidata that referenced this issue Aug 13, 2024
@KevinZhang19870314
Copy link
Author

I made a pr for this issue, please help to review it.

ashpreetbedi added a commit that referenced this issue Oct 3, 2024
feat: allow set debug_mode in runtime #1091
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

1 participant