dspy
dspy copied to clipboard
litellm.py : disable telemetry
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