mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
style: ruff format embedding.py
This commit is contained in:
parent
a1f341fcba
commit
e5635479b4
1 changed files with 1 additions and 3 deletions
|
|
@ -402,9 +402,7 @@ class BedrockEmbedding(BaseAWSLLM):
|
|||
inference_params = {
|
||||
k: v for k, v in inference_params.items() if k.lower() not in self.aws_authentication_params
|
||||
}
|
||||
inference_params.pop(
|
||||
"user", None
|
||||
) # make sure user is not passed in for bedrock call
|
||||
inference_params.pop("user", None) # make sure user is not passed in for bedrock call
|
||||
# `cache_control_injection_points` is a chat-completion-only param
|
||||
# consumed by `AnthropicCacheControlHook`. Bedrock embedding APIs
|
||||
# reject it (`extraneous key [cache_control_injection_points] is not
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue