mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
feat: Sort model token usage by count descending
This commit is contained in:
parent
f953d17889
commit
868e7a278f
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ print("-" * 60)
|
|||
print(f"{'Model Name':<40} {'Total Tokens':>15}")
|
||||
print("-" * 60)
|
||||
|
||||
for model, tokens in sorted(model_stats.items()):
|
||||
for model, tokens in sorted(model_stats.items(), key=lambda x: x[1], reverse=True):
|
||||
print(f"{model:<40} {tokens:>15,}")
|
||||
|
||||
print("-" * 60)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue