mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +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:
|
else:
|
||||||
# convert to embedding
|
# convert to embedding
|
||||||
user_api_key = kwargs["litellm_params"]["metadata"].get("user_api_key", "")
|
|
||||||
embedding_response = await litellm.aembedding(
|
embedding_response = await litellm.aembedding(
|
||||||
model=self.embedding_model,
|
model=self.embedding_model,
|
||||||
input=prompt,
|
input=prompt,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue