mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-14 02:22:54 +00:00
Merge pull request #5189 from ArtyomZemlyak/patch-1
Fix not sended json_data_for_triton
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user