fix(model prices & context window) - add claude-3-5-haiku-latest & cl…
…aude-3-5-sonnet-latest to base anthropic & openrouter/anthropic model definitions
Title
Add "claude-3-5-sonnet-latest" & "claude-3-5-haiku-latest" to model pricing & context window config
Relevant issues
Fixes
01:17:33 - LiteLLM:ERROR: token_counter.py:78 - litellm.litellm_core_utils.token_counter.py::get_modified_max_tokens() - Error while checking max token limit: This model isn't mapped yet. model=anthropic/claude-3-5-haiku-latest, custom_llm_provider=anthropic. Add it here - https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json.
model=anthropic/claude-3-5-haiku-latest, base_model=anthropic/claude-3-5-haiku-latest
Type
🐛 Bug Fix
Changes
Added definitions for "claude-3-5-sonnet-latest" & "claude-3-5-haiku-latest", to base anthropic & open router model defintions.
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 | Nov 27, 2024 9:39am |
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
Hammad Saeed seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
Hammad Saeed seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
Hammad Saeed seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.