The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test ai21
Ishaan Jaff0970475a3bfb
diff --git a/litellm/tests/test_completion.py b/litellm/tests/test_completion.pyindex 8fdf722f06b..da6e33a96e6 100644--- a/litellm/tests/test_completion.py+++ b/litellm/tests/test_completion.py@@ -4474,3 +4474,13 @@ async def test_dynamic_azure_params(stream, sync_mode):except Exception as e:traceback.print_stack()raise e+++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