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

suppress LiteLLM logging during import #834

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

jmartin-tech
Copy link
Collaborator

Fix #825

This limits LiteLLM logging to suppress messages about enterprise features not supported in this project.

This limits LiteLLM logging to suppress messages about `enterprise` features
not supported in this project.

Signed-off-by: Jeffrey Martin <[email protected]>
Copy link
Owner

@leondz leondz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only downside here is that we won't get a CLI alert that LiteLLM is being imported when not wanted. But that's explicitly and clearly a separate issue, from this one.

@jmartin-tech jmartin-tech merged commit 8a7554a into leondz:main Aug 15, 2024
8 checks passed
@jmartin-tech jmartin-tech deleted the fix/litellm-import-silence branch August 15, 2024 14:41
@github-actions github-actions bot locked and limited conversation to collaborators Aug 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LiteLLM exception dumped out when running for the first time
2 participants