fix(sagemaker/completion/handler.py): fix typo
All checks were successful
Read Version from pyproject.toml / read-version (push) Successful in 12s

Fixes https://github.com/BerriAI/litellm/issues/8863
This commit is contained in:
Krrish Dholakia 2025-02-26 23:55:19 -08:00
parent fe5ab0d9ad
commit 2b13fe5b6c

View file

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