What's Changed
https://docs.litellm.ai/docs/simple_proxy
* [Feat] Proxy - Access Key metadata in callbacks by ishaan-jaff in https://github.com/BerriAI/litellm/pull/1484
- Access Proxy Key metadata in callbacks
- Access Endpoint URL in calbacks - you can see if /chat/completions, /embeddings, /image/generation etc is called
- Support for Langfuse Tags, We log request metadata as langfuse tags
PS. no keys leaked - these are keys to my local proxy
<img width="529" alt="Screenshot 2024-01-17 at 6 10 10 PM" src="https://github.com/BerriAI/litellm/assets/29436595/991744d2-2d83-49a0-bf31-c76d9d7bdaf4">
Support for model access groups
Use this if you have keys with access to specific models, and you want to give all them access to a new model.
You can now assign keys access to model groups, and add new models to that group via the config.yaml - https://docs.litellm.ai/docs/proxy/users#grant-access-to-new-model
bash
curl --location 'http://localhost:8000/key/generate' \
-H 'Authorization: Bearer <your-master-key>' \
-H 'Content-Type: application/json' \
-d '{"models": ["beta-models"], 👈 Model Access Group
"max_budget": 0,}'
Langfuse Tags logged:
<img width="949" alt="Screenshot 2024-01-17 at 6 11 36 PM" src="https://github.com/BerriAI/litellm/assets/29436595/a28af993-7414-405a-b5f3-63562caecd40">
* feat(proxy_server.py): support model access groups by krrishdholakia in https://github.com/BerriAI/litellm/pull/1483
**Full Changelog**: https://github.com/BerriAI/litellm/compare/v1.17.18...v1.18.0
What's Changed
* [Feat] Proxy - Access Key metadata in callbacks by ishaan-jaff in https://github.com/BerriAI/litellm/pull/1484
* feat(proxy_server.py): support model access groups by krrishdholakia in https://github.com/BerriAI/litellm/pull/1483
**Full Changelog**: https://github.com/BerriAI/litellm/compare/v1.17.18...v1.18.0