mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
fix(sagemaker/completion/handler.py): fix typo
Fixes https://github.com/BerriAI/litellm/issues/8863
This commit is contained in:
parent
fb8492f4ea
commit
b5ef01142f
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue