Update handler.py to use prepared_request.body

This commit is contained in:
Andrew Smith 2025-03-18 10:23:32 +11:00 committed by GitHub
parent e369cca2bc
commit ddfbb6b7b8

View file

@ -213,7 +213,7 @@ class SagemakerLLM(BaseAWSLLM):
sync_response = sync_handler.post(
url=prepared_request.url,
headers=prepared_request.headers, # type: ignore
json=data,
data=prepared_request.body,
stream=stream,
)