When importing litellm, it appears to modify Python's sys.path, which can cause unexpected module import behavior in certain environments. The issue stems from litellm's proxy_cli functionality, which ...
The way that the python environment is set up for scripts/entrypoints (by modifying sys.path with site.addsitedir) is not inherited with multiprocessing (when spawn is used) Basically, because the ...