- model_name: gpt-5
litellm_params:
model: gpt-5
# Add your OpenAI API key if you have one
- model_name: claude-sonnet
litellm_params:
model: claude-sonnet-4-20250514
# Add your Anthropic API key if you have one
EOF
# Start the proxy
litellm --config config.yaml
✅ Verification: Visit http://localhost:4000 to see the litellm interface.
# Test local model
response = litellm.completion(
model="ollama/llama3.2:3b",
messages=[{"role": "user", "content": "Explain serverless vs containers in 2 sentences"}],
api_base="http://localhost:11434"
)
print("Local model response:", response.choices[0].message.content)
EOF
# Run the test
python test.py
✅ Verification: You should get a reasonable 2-sentence explanation about serverless vs containers.
5
Document Your First AI Collaboration
For Thursday's class, try this exercise:
Ask your local model: "What's the best database for my project?"
Note the generic response you get
Ask: "I need a database for unpredictable traffic, AWS free tier, fast key-value lookups for a URL shortener. Compare DynamoDB vs RDS Aurora Serverless with cost and performance trade-offs."
Compare the quality of responses
Write 2-3 sentences about what you learned
✅ Verification: Bring your documented comparison to Thursday's class.
🆘 Need Help?
TA Office Hours: Dedicated AI setup support sessions
Common Issues: Check pinned messages in Discord for solutions
Alternative: If local setup fails, you can use web interfaces temporarily, but document what didn't work
Remember: The goal is professional AI collaboration skills, not perfect technical setup. If you're struggling, document the problems - that's valuable learning too!