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

[Bug]: Multiple places in the codebase instruct to use litellm.set_verbose, but this then gives warning it is deprecated #7527

Open
robtaylor opened this issue Jan 3, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@robtaylor
Copy link

What happened?

setting litellm.set_verbose=True gives this warning:

- LiteLLM:WARNING: utils.py:316 - `litellm.set_verbose` is deprecated. Please set `os.environ['LITELLM_LOG'] = 'DEBUG'` for debug logs.

I originally set litellm.set_verbose=True because of this message:

Give Feedback / Get Help: https://github.com/BerriAI/litellm/issues/new
LiteLLM.Info: If you need to debug this error, use `litellm.set_verbose=True'.

searching the codebase, it appears there are 8 instances of asking the user to use litellm.set_verbose, and it's still used in a number of the testcases

Relevant log output

No response

Are you a ML Ops Team?

No

What LiteLLM version are you on ?

v1.56.8

Twitter / LinkedIn details

No response

@robtaylor robtaylor added the bug Something isn't working label Jan 3, 2025
@robtaylor robtaylor changed the title [Bug]: Multiple places in the codebase instruct to use litellm.set_verbose, but this then gives warning it is depreceted [Bug]: Multiple places in the codebase instruct to use litellm.set_verbose, but this then gives warning it is deprecated Jan 4, 2025
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

1 participant