litellm — Easy Playground
Unified API to call 100+ LLM providers (OpenAI, Anthropic, etc.)
Getting started with litellmRun locally
Install
pip install litellmPython CodeRun locally
Expected Output
# Expected output shown below # (Run locally with: litellm)
litellm is a third-party package. Unified API to call 100+ LLM providers (OpenAI, Anthropic, etc.). Install with: pip install litellm
Challenge
Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?