(fix) remove extra statement
This commit is contained in:
parent
8425a8ba22
commit
8197b3de0a
@ -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…
Reference in New Issue
Block a user