mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-18 04:28:19 +00:00
fix(caching.py): only add unique kwargs for transcription_only_kwargs in caching
This commit is contained in:
@@ -897,12 +897,8 @@ class Cache:
|
||||
"encoding_format",
|
||||
] # embedding kwargs = model, input, user, encoding_format. Model, user are checked in completion_kwargs
|
||||
transcription_only_kwargs = [
|
||||
"model",
|
||||
"file",
|
||||
"language",
|
||||
"prompt",
|
||||
"response_format",
|
||||
"temperature",
|
||||
]
|
||||
# combined_kwargs - NEEDS to be ordered across get_cache_key(). Do not use a set()
|
||||
combined_kwargs = (
|
||||
|
||||
Reference in New Issue
Block a user