(fix) remove extra statement
This commit is contained in:
parent
8a328b4c6d
commit
e8e6fc6123
@ -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