mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
fix sagemaker test
This commit is contained in:
parent
df4ea8fba6
commit
0d374fb7c0
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
Reference in a new issue