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

[Feature]: Disable LitLLM Print Message #6273

Open
openhands-agent opened this issue Jan 14, 2025 · 2 comments · May be fixed by #6274
Open

[Feature]: Disable LitLLM Print Message #6273

openhands-agent opened this issue Jan 14, 2025 · 2 comments · May be fixed by #6274
Labels
enhancement New feature or request fix-me Attempt to fix this issue with OpenHands

Comments

@openhands-agent
Copy link
Contributor

What problem or use case are you trying to solve?
The user wants to prevent LitLLM print messages from cluttering the console by disabling verbose output during the startup of OpenHands.

Describe the UX of the solution the user wants
The solution should disable verbose debug information from LitLLM by setting litellm.suppress_debug_info = True and litellm.set_verbose = False within logger.py, optionally enabling if DEBUG is set.

User's thoughts on the technical implementation?
This can be easily implemented by modifying the startup script to include those settings.

Describe the alternatives considered
<N/A>

Additional context
Based on the Slack thread, these changes are requested for a cleaner startup sequence without excess logging.

Issue Created By: Xingyao Wang on Slack

Link to Slack Thread: https://openhands-ai.slack.com/archives/C06U8UTKSAD/p1736862846135269?thread_ts=1736862846.135269&cid=C06U8UTKSAD

@xingyaoww xingyaoww added the fix-me Attempt to fix this issue with OpenHands label Jan 14, 2025
@openhands-agent
Copy link
Contributor Author

OpenHands started fixing the issue! You can monitor the progress here.

@openhands-agent
Copy link
Contributor Author

A potential fix has been generated and a draft PR #6274 has been created. Please review the changes.

@mamoodi mamoodi added the enhancement New feature or request label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fix-me Attempt to fix this issue with OpenHands
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants