mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-13 01:04:54 +00:00
test ai21
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user