mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
(fix) remove extra statement
This commit is contained in:
parent
8425a8ba22
commit
8197b3de0a
1 changed files with 0 additions and 1 deletions
|
@ -495,7 +495,6 @@ class RedisSemanticCache(BaseCache):
|
|||
)
|
||||
else:
|
||||
# convert to embedding
|
||||
user_api_key = kwargs["litellm_params"]["metadata"].get("user_api_key", "")
|
||||
embedding_response = await litellm.aembedding(
|
||||
model=self.embedding_model,
|
||||
input=prompt,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue