mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
fix: don't hard-code the tier names
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
8a31571bc1
commit
f835f846e6
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ def _is_azure_claude_model(model: str) -> bool:
|
|||
import re
|
||||
|
||||
_CLAUDE_PATTERN = re.compile(
|
||||
r"^claude-(?:opus|sonnet|haiku)-\d+-\d+(?:-\d{8})?$", re.IGNORECASE
|
||||
r"^claude-[a-z]+-\d+-\d+(?:-\d{8})?$", re.IGNORECASE
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue