fix: tests

This commit is contained in:
Alex committed 2024-12-20 18:13:37 +00:00
1 parent c2a95b5bec
commit 1f75f0c082
5 files changed
+21 -17

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ class TestSagemakerAPILLM(unittest.TestCase):
with patch.object(self.sagemaker.runtime, 'invoke_endpoint_with_response_stream',
return_value=self.response) as mock_invoke_endpoint:
output = list(self.sagemaker.gen_stream(None, self.messages))
output = list(self.sagemaker.gen_stream(None, self.messages, tools=None))
mock_invoke_endpoint.assert_called_once_with(
EndpointName=self.sagemaker.endpoint,
ContentType='application/json',