From 2b13fe5b6c9f7f10077d01bb0ca57838b29e7e73 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Wed, 26 Feb 2025 23:55:19 -0800 Subject: [PATCH] fix(sagemaker/completion/handler.py): fix typo Fixes https://github.com/BerriAI/litellm/issues/8863 --- litellm/llms/sagemaker/completion/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/sagemaker/completion/handler.py b/litellm/llms/sagemaker/completion/handler.py index 0a403dc484a..ae40dd26d9a 100644 --- a/litellm/llms/sagemaker/completion/handler.py +++ b/litellm/llms/sagemaker/completion/handler.py @@ -511,7 +511,7 @@ class SagemakerLLM(BaseAWSLLM): # Add model_id as InferenceComponentName header # boto3 doc: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html prepared_request.headers.update( - {"X-Amzn-SageMaker-Inference-Componen": model_id} + {"X-Amzn-SageMaker-Inference-Component": model_id} ) # make async httpx post request here try: