Merge pull request #2378 from BerriAI/litellm_fix_dict_changed_size_during_iteration

[FIX]  🐛 embedding - "Dictionary changed size during iteration" Debug Log
This commit is contained in:
Ishaan Jaff
2024-03-06 17:58:51 -08:00
committed by GitHub
+1 -1
View File
@@ -1127,7 +1127,7 @@ class Logging:
self.model_call_details["cache_hit"] = cache_hit
## if model in model cost map - log the response cost
## else set cost to None
verbose_logger.debug(f"Model={self.model}; result={result}")
verbose_logger.debug(f"Model={self.model};")
if (
result is not None
and (