The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(sagemaker/completion/handler.py): fix typo
Krrish Dholakia2b13fe5b6c9f
diff --git a/litellm/llms/sagemaker/completion/handler.py b/litellm/llms/sagemaker/completion/handler.pyindex 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.htmlprepared_request.headers.update(- {"X-Amzn-SageMaker-Inference-Componen": model_id}+ {"X-Amzn-SageMaker-Inference-Component": model_id})# make async httpx post request heretry: