test ai21

This commit is contained in:
Ishaan Jaff
2024-09-02 11:47:48 -07:00
parent af0d2d1f3b
commit 0970475a3b
+10
View File
@@ -4474,3 +4474,13 @@ async def test_dynamic_azure_params(stream, sync_mode):
except Exception as e:
traceback.print_stack()
raise e
@pytest.mark.asyncio()
async def test_completion_ai21():
litellm.set_verbose = True
response = await litellm.acompletion(
model="ai21_chat/jamba-1.5-large",
messages=[{"role": "user", "content": "hi my name is ishaan"}],
)
pass