mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
test ai21
This commit is contained in:
parent
af0d2d1f3b
commit
0970475a3b
1 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue