Closed krrishdholakia closed 3 months ago
The latest updates on your projects. Learn more about Vercel for Git โ๏ธ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
litellm | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Jun 17, 2024 7:42pm |
Title
VertexAI/Gemini: Calculate cost based on context window
Relevant issues
Builds on https://github.com/BerriAI/litellm/issues/4229
Type
๐ New Feature ๐งน Refactoring
Changes
[REQUIRED] Testing - Attach a screenshot of any new tests passing locall
If UI changes, send a screenshot/GIF of working UI fixes
test_gemini_completion_cost
in test_completion_cost.py, covers both providerscc: @gzamboni