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

Adds logging by default, other mods to allow use with litellm #5

Merged
merged 5 commits into from
Feb 5, 2024

Conversation

emeryberger
Copy link
Member

@emeryberger emeryberger commented Feb 4, 2024

Incorporates mods to enable use with litellm and other providers.

Logging is now on by default. Clients downstream will likely want to use this to adjust the logging level so it only reports errors (or warnings).

# Turn off most logging                                                                                     
from llm_utils import logging
logging.getLogger().setLevel(logging.ERROR)

@emeryberger emeryberger changed the title WIP Adds logging by default, other mods to allow use with litellm Feb 5, 2024
@emeryberger emeryberger merged commit d142235 into main Feb 5, 2024
2 checks passed
@emeryberger emeryberger deleted the adding_functionality branch February 5, 2024 18:08
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

Successfully merging this pull request may close these issues.

1 participant