mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
Update handler.py to use prepared_request.body
This commit is contained in:
parent
ce9b6f49bb
commit
a92e99e946
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ class SagemakerLLM(BaseAWSLLM):
|
||||||
sync_response = sync_handler.post(
|
sync_response = sync_handler.post(
|
||||||
url=prepared_request.url,
|
url=prepared_request.url,
|
||||||
headers=prepared_request.headers, # type: ignore
|
headers=prepared_request.headers, # type: ignore
|
||||||
json=data,
|
data=prepared_request.body,
|
||||||
stream=stream,
|
stream=stream,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue