fix: remove unused max_tokens variable in get_repo_map_tokens

This commit is contained in:
Paul Gauthier (aider) 2025-01-10 14:38:22 -08:00
parent d48008e13d
commit 41018d05a8

View file

@ -1183,7 +1183,7 @@ class Model(ModelSettings):
if max_inp_tokens:
map_tokens = max_inp_tokens / 8
map_tokens = min(map_tokens, 4096)
max_tokens = max(map_tokens, 1024)
map_tokens = max(map_tokens, 1024)
return map_tokens