mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
style(bedrock): apply ruff format
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
7a42dccbc7
commit
ac63216edc
1 changed files with 1 additions and 2 deletions
|
|
@ -1785,8 +1785,7 @@ class AmazonConverseConfig(BaseConfig):
|
|||
if not cache_details:
|
||||
return None
|
||||
tokens_by_ttl: Final = {
|
||||
ttl: sum(detail["inputTokens"] for detail in cache_details if detail["ttl"] == ttl)
|
||||
for ttl in ("5m", "1h")
|
||||
ttl: sum(detail["inputTokens"] for detail in cache_details if detail["ttl"] == ttl) for ttl in ("5m", "1h")
|
||||
}
|
||||
if sum(tokens_by_ttl.values()) != cache_creation_input_tokens:
|
||||
return None
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue