What's Changed
- [Test] Proxy - Unit Test proxy key gen by @ishaan-jaff in #1478
Testing + fixes for: https://docs.litellm.ai/docs/proxy/virtual_keys
- Generate a Key, and use it to make a call
- Make a call with invalid key, expect it to fail
- Make a call to a key with invalid model - expect to fail
- Make a call to a key with valid model - expect to pass
- Make a call with key over budget, expect to fail
- Make a streaming chat/completions call with key over budget, expect to fail
- Make a call with an key that never expires, expect to pass
- Make a call with an expired key, expect to fail
Full Changelog: v1.17.16...v1.17.17