mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 10:14:26 +00:00
Fix linting issues
This commit is contained in:
parent
1706fa33a3
commit
e13a10bbdd
1 changed files with 2 additions and 2 deletions
|
@ -409,7 +409,7 @@ class HttpPassThroughEndpointHelpers:
|
|||
url=url,
|
||||
headers=headers,
|
||||
params=requested_query_params,
|
||||
data=json_str
|
||||
data=json_str.encode()
|
||||
)
|
||||
return response
|
||||
|
||||
|
@ -589,7 +589,7 @@ async def pass_through_request( # noqa: PLR0915
|
|||
req = async_client.build_request(
|
||||
"POST",
|
||||
url,
|
||||
data=json_str,
|
||||
data=json_str.encode(),
|
||||
params=requested_query_params,
|
||||
headers=headers,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue