mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
refactor: Remove unused proceed
variable in check_tokens
method
This commit is contained in:
parent
0af6dc3838
commit
7b78f92feb
1 changed files with 0 additions and 2 deletions
|
@ -1235,8 +1235,6 @@ class Coder:
|
||||||
input_tokens = self.main_model.token_count(messages)
|
input_tokens = self.main_model.token_count(messages)
|
||||||
max_input_tokens = self.main_model.info.get("max_input_tokens") or 0
|
max_input_tokens = self.main_model.info.get("max_input_tokens") or 0
|
||||||
|
|
||||||
proceed = None
|
|
||||||
|
|
||||||
if max_input_tokens and input_tokens >= max_input_tokens:
|
if max_input_tokens and input_tokens >= max_input_tokens:
|
||||||
self.io.tool_error(
|
self.io.tool_error(
|
||||||
f"Your estimated chat context of {input_tokens:,} tokens exceeds the"
|
f"Your estimated chat context of {input_tokens:,} tokens exceeds the"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue