mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14:59 +00:00
copy
This commit is contained in:
parent
fcc499e401
commit
73c89e8c00
3 changed files with 37 additions and 39 deletions
|
@ -20,10 +20,9 @@ def collect_model_stats(n_lines=1000):
|
|||
main_model = properties.get("main_model")
|
||||
|
||||
total_tokens = properties.get("total_tokens", 0)
|
||||
if main_model == "deepseek/deepseek-coder":
|
||||
main_model = "deepseek/deepseek-chat"
|
||||
if main_model:
|
||||
# Normalize deepseek model names
|
||||
if "deepseek" in main_model.lower():
|
||||
main_model = "deepseek-chat"
|
||||
model_stats[main_model] += total_tokens
|
||||
except json.JSONDecodeError:
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue