mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-17 12:17:35 +00:00
(fix) remove extra statement
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user