style: ruff format embedding.py

This commit is contained in:
tsushanth 2026-07-17 16:31:44 -07:00
parent a1f341fcba
commit e5635479b4
No known key found for this signature in database

View file

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