mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
(fix) dict changed size during iteration
This commit is contained in:
parent
32adb4e80d
commit
d3818713ad
1 changed files with 1 additions and 1 deletions
|
@ -1127,7 +1127,7 @@ class Logging:
|
||||||
self.model_call_details["cache_hit"] = cache_hit
|
self.model_call_details["cache_hit"] = cache_hit
|
||||||
## if model in model cost map - log the response cost
|
## if model in model cost map - log the response cost
|
||||||
## else set cost to None
|
## else set cost to None
|
||||||
verbose_logger.debug(f"Model={self.model}; result={result}")
|
verbose_logger.debug(f"Model={self.model};")
|
||||||
if (
|
if (
|
||||||
result is not None
|
result is not None
|
||||||
and (
|
and (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue