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

add a step to install the proxy extra #7944

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dinmukhamedm
Copy link
Contributor

Title

add a step to install the proxy extra

Relevant issues

N/A

When following the example in this doc without the proxy extra installed, I get the following error

15:54:27 - LiteLLM:ERROR: litellm_logging.py:2583 - [Non-Blocking Error] Error initializing custom logger: Missing dependency No module named 'backoff'. Run `pip install 'litellm[proxy]'`
Traceback (most recent call last):
  File "/Users/din/laminar/sandbox/lite/.venv/lib/python3.12/site-packages/litellm/proxy/proxy_server.py", line 55, in <module>
    import backoff
ModuleNotFoundError: No module named 'backoff'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/din/laminar/sandbox/lite/.venv/lib/python3.12/site-packages/litellm/litellm_core_utils/litellm_logging.py", line 2467, in _init_custom_logger_compatible_class
    **_get_custom_logger_settings_from_proxy_server(
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/din/laminar/sandbox/lite/.venv/lib/python3.12/site-packages/litellm/litellm_core_utils/litellm_logging.py", line 2726, in _get_custom_logger_settings_from_proxy_server
    from litellm.proxy.proxy_server import callback_settings
  File "/Users/din/laminar/sandbox/lite/.venv/lib/python3.12/site-packages/litellm/proxy/proxy_server.py", line 61, in <module>
    raise ImportError(f"Missing dependency {e}. Run `pip install 'litellm[proxy]'`")

Type

📖 Documentation

Changes

[REQUIRED] Testing - Attach a screenshot of any new tests passing locally

If UI changes, send a screenshot/GIF of working UI fixes

Screenshot 2025-01-23 at 18 35 41

Copy link

vercel bot commented Jan 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 23, 2025 3:06pm

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