(fix) remove extra statement

This commit is contained in:
ishaan-jaff 2024-02-07 19:24:27 -08:00
parent 8425a8ba22
commit 8197b3de0a

View file

@ -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,