mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(caching.py): only add unique kwargs for transcription_only_kwargs in caching
This commit is contained in:
parent
fa45c569fd
commit
9b7c8880c0
1 changed files with 0 additions and 4 deletions
|
@ -897,12 +897,8 @@ class Cache:
|
||||||
"encoding_format",
|
"encoding_format",
|
||||||
] # embedding kwargs = model, input, user, encoding_format. Model, user are checked in completion_kwargs
|
] # embedding kwargs = model, input, user, encoding_format. Model, user are checked in completion_kwargs
|
||||||
transcription_only_kwargs = [
|
transcription_only_kwargs = [
|
||||||
"model",
|
|
||||||
"file",
|
"file",
|
||||||
"language",
|
"language",
|
||||||
"prompt",
|
|
||||||
"response_format",
|
|
||||||
"temperature",
|
|
||||||
]
|
]
|
||||||
# combined_kwargs - NEEDS to be ordered across get_cache_key(). Do not use a set()
|
# combined_kwargs - NEEDS to be ordered across get_cache_key(). Do not use a set()
|
||||||
combined_kwargs = (
|
combined_kwargs = (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue