Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add azure/o1-2024-12-17 to model_prices_and_context_window.json #8371

Merged
merged 1 commit into from
Feb 8, 2025

Conversation

byrongrogan
Copy link
Contributor

Adding azure/o1-2024-12-17 to model cost map

Add azure/o1-2024-12-17 with parameters identical to the current azure/o1, due to the following message we are seeing:

Failed to calculate request cost: This model isn't mapped yet. model=o1-2024-12-17, custom_llm_provider=azure. Add it here - https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json.

Type

🐛 Bug Fix

Changes

  • Add azure/o1-2024-12-17 to model cost map

[REQUIRED] Testing - Attach a screenshot of any new tests passing locally

If UI changes, send a screenshot/GIF of working UI fixes

Copy link

vercel bot commented Feb 7, 2025

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 Feb 7, 2025 7:43pm

@krrishdholakia
Copy link
Contributor

as a root cause fix, we should also just check if azure/o1 (strip out the date) is in the model cost map

@krrishdholakia krrishdholakia merged commit 5a42be4 into BerriAI:main Feb 8, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants