mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
fix: remove unused max_tokens variable in get_repo_map_tokens
This commit is contained in:
parent
d48008e13d
commit
41018d05a8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue