mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
Fix not sended json_data_for_triton
This commit is contained in:
parent
66d77f177f
commit
5290490106
1 changed files with 2 additions and 2 deletions
|
|
@ -240,10 +240,10 @@ class TritonChatCompletion(BaseLLM):
|
|||
handler = HTTPHandler()
|
||||
if stream:
|
||||
return self._handle_stream(
|
||||
handler, api_base, data_for_triton, model, logging_obj
|
||||
handler, api_base, json_data_for_triton, model, logging_obj
|
||||
)
|
||||
else:
|
||||
response = handler.post(url=api_base, data=data_for_triton, headers=headers)
|
||||
response = handler.post(url=api_base, data=json_data_for_triton, headers=headers)
|
||||
return self._handle_response(
|
||||
response, model_response, logging_obj, type_of_model=type_of_model
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue