mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
fix: Add whitespace around arithmetic operators in format_tokens
function
This commit is contained in:
parent
93fe9007f0
commit
08fe37a684
1 changed files with 2 additions and 2 deletions
|
@ -1506,9 +1506,9 @@ class Coder:
|
|||
if count < 1000:
|
||||
return f"{count}"
|
||||
elif count < 10000:
|
||||
return f"{count/1000:.1f}k"
|
||||
return f"{count / 1000:.1f}k"
|
||||
else:
|
||||
return f"{count//1000}k"
|
||||
return f"{count // 1000}k"
|
||||
|
||||
tokens_report = f"Tokens: {format_tokens(self.message_tokens_sent)} sent"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue