mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
refactor: Combine deepseek/deepseek-coder into chat AI in model stats
This commit is contained in:
parent
f9c5cb73a2
commit
6e8efe22aa
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ def collect_model_stats(n_lines=1000):
|
||||||
if event["event"] == "message_send":
|
if event["event"] == "message_send":
|
||||||
properties = event["properties"]
|
properties = event["properties"]
|
||||||
main_model = properties.get("main_model")
|
main_model = properties.get("main_model")
|
||||||
|
|
||||||
|
# combine deepseek/deepseek-coder into ...-chat ai!
|
||||||
total_tokens = properties.get("total_tokens", 0)
|
total_tokens = properties.get("total_tokens", 0)
|
||||||
if main_model:
|
if main_model:
|
||||||
model_stats[main_model] += total_tokens
|
model_stats[main_model] += total_tokens
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue