mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
Merge pull request #5189 from ArtyomZemlyak/patch-1
Fix not sended json_data_for_triton
This commit is contained in:
commit
c8f4cd373d
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