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(model prices & context window) - add claude-3-5-haiku-latest & cl… #6935

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hsaeed3
Copy link

@hsaeed3 hsaeed3 commented Nov 27, 2024

…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.

…aude-3-5-sonnet-latest to base anthropic & openrouter/anthropic model definitions
Copy link

vercel bot commented Nov 27, 2024

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

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.

1 participant