Litellm

Latest version: v1.52.14

Safety actively analyzes 682416 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 72 of 93

1.28.7

Not secure
What's Changed
* (feat) show monthly predicted spend by ishaan-jaff in https://github.com/BerriAI/litellm/pull/2282
* feat(proxy_server.py): add new team_member delete endpoint by krrishdholakia in https://github.com/BerriAI/litellm/pull/2277

![litellm_predict_key_spend](https://github.com/BerriAI/litellm/assets/29436595/45509799-3dde-4abe-a92d-32d092d1f573)



**Full Changelog**: https://github.com/BerriAI/litellm/compare/v1.28.6...v1.28.7

1.28.6

Not secure
🚨 Notice: Bedrock, Sagemaker, s3, Dynamo Services were not tested on this release. AWS disabled our accounts without any prior notice and we are trying to regain access. **If you work at Amazon, please help us. Reach us on [discord](https://discord.com/invite/wuPM9dRgDw)**

What's Changed
* Add Perplexity Sonar models to model_prices_and_context_window.json by toniengelhardt in https://github.com/BerriAI/litellm/pull/2273
* [FEAT] predict daily spend by ishaan-jaff in https://github.com/BerriAI/litellm/pull/2276
* [FEAT] Admin UI - View Predicted Spend for a Key by ishaan-jaff in https://github.com/BerriAI/litellm/pull/2278


**Full Changelog**: https://github.com/BerriAI/litellm/compare/v1.28.3...v1.28.6

1.28.4

Not secure
What's Changed
* (feat) show Per Key Usage / Spend by ishaan-jaff in https://github.com/BerriAI/litellm/pull/2269
* [FEAT] LiteLLM View Daily Spend for a key by ishaan-jaff in https://github.com/BerriAI/litellm/pull/2271
* feat(proxy/utils.py): enable end_user + team id tracking in spend logs by krrishdholakia in https://github.com/BerriAI/litellm/pull/2267
<img width="1690" alt="Screenshot 2024-02-29 at 8 07 19 PM" src="https://github.com/BerriAI/litellm/assets/17561003/6b13bba9-c4b9-425f-8af8-9ea0e2e3682f">


**Full Changelog**: https://github.com/BerriAI/litellm/compare/v1.28.2...v1.28.4

1.28.3

Not secure
What's Changed
* (feat) show Per Key Usage / Spend by ishaan-jaff in https://github.com/BerriAI/litellm/pull/2269
* [FEAT] LiteLLM View Daily Spend for a key by ishaan-jaff in https://github.com/BerriAI/litellm/pull/2271
* feat(proxy/utils.py): enable end_user + team id tracking in spend logs by krrishdholakia in https://github.com/BerriAI/litellm/pull/2267

Proxy: View Daily Spend Reports per Key
![spend_litellm](https://github.com/BerriAI/litellm/assets/29436595/76ea15fc-ad75-4536-8979-d4765468ba2f)



**Full Changelog**: https://github.com/BerriAI/litellm/compare/v1.28.2...v1.28.3

1.28.2

Not secure
What's Changed
* [UI] View top models by spend by krrishdholakia in https://github.com/BerriAI/litellm/pull/2257
* [FEAT] Use Base64 images with vertex_ai/gemini-pro-vision by ishaan-jaff in https://github.com/BerriAI/litellm/pull/2263
* [FEAT] add groq api pricing, models by ishaan-jaff in https://github.com/BerriAI/litellm/pull/2268
* fix: change actual github action for a call to discord RESTful API by DanielChico in https://github.com/BerriAI/litellm/pull/2262


Feature - Pass Base64 encoded images to `vertex_ai/gemini-pro-vision`
Docs: https://docs.litellm.ai/docs/providers/vertex#gemini-pro-vision

python
import litellm

def encode_image(image_path):
import base64

with open(image_path, "rb") as image_file:
return base64.b64encode(image_file.read()).decode("utf-8")

image_path = "cached_logo.jpg"
Getting the base64 string
base64_image = encode_image(image_path)
response = litellm.completion(
model="vertex_ai/gemini-pro-vision",
messages=[
{
"role": "user",
"content": [
{"type": "text", "text": "Whats in this image?"},
{
"type": "image_url",
"image_url": {
"url": "data:image/jpeg;base64," + base64_image
},
},
],
}
],
)
print(response)

New Contributors
* DanielChico made their first contribution in https://github.com/BerriAI/litellm/pull/2262

**Full Changelog**: https://github.com/BerriAI/litellm/compare/v1.28.1...v1.28.2

1.28.1

Not secure
What's Changed
* (feat) add user_api_key_alias in litellm_params metadata by lucebert in https://github.com/BerriAI/litellm/pull/2217
* [FEAT] mistral azure - use with env vars + added pricing by ishaan-jaff in https://github.com/BerriAI/litellm/pull/2247
* build(ui): fix admin viewer issue by krrishdholakia in https://github.com/BerriAI/litellm/pull/2249
* [FEAT] proxy add pagination on /user/info endpoint (Admin UI does not load all users) by ishaan-jaff in https://github.com/BerriAI/litellm/pull/2255

New Contributors
* lucebert made their first contribution in https://github.com/BerriAI/litellm/pull/2217

**Full Changelog**: https://github.com/BerriAI/litellm/compare/v1.28.0...v1.28.1

Page 72 of 93

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.