Skip to content

Commit 6bb287e

Browse files
emerybergerCopilot
andauthored
Update src/coverup/llm.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3758973 commit 6bb287e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coverup/llm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def token_rate_limit_for_model(model_name: str) -> T.Tuple[int, int] | None:
5353
if (model_limits := MODEL_RATE_LIMITS.get(model_name)):
5454
limit = model_limits.get('token')
5555

56-
if not "anthropic" in model_name:
56+
if "anthropic" not in model_name:
5757
try:
5858
import tiktoken
5959
tiktoken.encoding_for_model(model_name)

0 commit comments

Comments
 (0)