mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
sssh
This commit is contained in:
parent
4c2c0ac871
commit
2dd7d2e0b6
1 changed files with 0 additions and 1 deletions
|
@ -1479,7 +1479,6 @@ class Coder:
|
|||
cache_write_tokens = 0
|
||||
|
||||
if completion and hasattr(completion, "usage") and completion.usage is not None:
|
||||
dump(completion.usage)
|
||||
prompt_tokens = completion.usage.prompt_tokens
|
||||
completion_tokens = completion.usage.completion_tokens
|
||||
cache_hit_tokens = getattr(completion.usage, "prompt_cache_hit_tokens", 0) or getattr(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue