We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3758973 commit 6bb287eCopy full SHA for 6bb287e
src/coverup/llm.py
@@ -53,7 +53,7 @@ def token_rate_limit_for_model(model_name: str) -> T.Tuple[int, int] | None:
53
if (model_limits := MODEL_RATE_LIMITS.get(model_name)):
54
limit = model_limits.get('token')
55
56
- if not "anthropic" in model_name:
+ if "anthropic" not in model_name:
57
try:
58
import tiktoken
59
tiktoken.encoding_for_model(model_name)
0 commit comments