mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
style: Format code with linter and fix whitespace
This commit is contained in:
parent
e10fe50c6f
commit
2c5c2b2f67
1 changed files with 8 additions and 8 deletions
|
@ -621,10 +621,10 @@ class Model(ModelSettings):
|
||||||
|
|
||||||
value = value.strip().upper()
|
value = value.strip().upper()
|
||||||
|
|
||||||
if value.endswith('K'):
|
if value.endswith("K"):
|
||||||
multiplier = 1024
|
multiplier = 1024
|
||||||
value = value[:-1]
|
value = value[:-1]
|
||||||
elif value.endswith('M'):
|
elif value.endswith("M"):
|
||||||
multiplier = 1024 * 1024
|
multiplier = 1024 * 1024
|
||||||
value = value[:-1]
|
value = value[:-1]
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue