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
def test_text_completion_stream():
Ishaan Jaff355e6118d875
diff --git a/tests/local_testing/test_text_completion.py b/tests/local_testing/test_text_completion.pyindex 25ec7875295..daca0b0eb76 100644--- a/tests/local_testing/test_text_completion.py+++ b/tests/local_testing/test_text_completion.py@@ -3975,7 +3975,7 @@ def test_text_completion_stream():try:for _ in range(2): # check if closed client usedresponse = text_completion(- model="huggingface/mistralai/Mistral-7B-Instruct-v0.3",+ model="huggingface/sarvamai/sarvam-m",prompt="good morning",stream=True,max_tokens=10,