mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 19:54:13 +00:00
fix sagemaker test
This commit is contained in:
parent
953a67ba4c
commit
3407f20b31
2 changed files with 2 additions and 2 deletions
|
@ -387,7 +387,7 @@ class SagemakerLLM(BaseAWSLLM):
|
|||
original_response=completion_response,
|
||||
additional_args={"complete_input_dict": _data},
|
||||
)
|
||||
print_verbose(f"raw model_response: {response}")
|
||||
print_verbose(f"raw model_response: {completion_response}")
|
||||
## RESPONSE OBJECT
|
||||
try:
|
||||
if isinstance(completion_response, list):
|
||||
|
|
|
@ -84,7 +84,7 @@ async def test_completion_sagemaker(sync_mode):
|
|||
|
||||
|
||||
@pytest.mark.asyncio()
|
||||
@pytest.mark.parametrize("sync_mode", [True])
|
||||
@pytest.mark.parametrize("sync_mode", [False, True])
|
||||
async def test_completion_sagemaker_stream(sync_mode):
|
||||
try:
|
||||
litellm.set_verbose = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue