dspy icon indicating copy to clipboard operation
dspy copied to clipboard

litellm.py : disable telemetry

Open bluewin4 opened this issue 5 months ago • 2 comments

Uses the "LITELLM_LOCAL_MODEL_COST_MAP" variable to turn off an API call when liteLLM is imported. Set 'litellm.telemetry = False' as well.

https://docs.litellm.ai/docs/completion/token_usage#9-register_model https://github.com/BerriAI/litellm/blob/main/litellm/init.py

bluewin4 avatar Sep 24 '24 22:09 bluewin4