Skip to content

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]

test(e2e): ask the streamed /v1/messages pin for a reply long enough to span several deltas

Yuneng Jiangd6bc8fe28927
diff --git a/tests/e2e/llm_translation/test_messages_e2e.py b/tests/e2e/llm_translation/test_messages_e2e.py
index e0bedd72eac..a5f36a8cbdd 100644
--- a/tests/e2e/llm_translation/test_messages_e2e.py
+++ b/tests/e2e/llm_translation/test_messages_e2e.py
@@ -169,9 +169,9 @@ class TestAnthropicMessages:
key,
AnthropicMessagesBody(
model=model,
- max_tokens=64,
+ max_tokens=400,
stream=True,
- messages=[ChatMessage(role="user", content="Count from 1 to 20, one number per line.")],
+ messages=[ChatMessage(role="user", content="Count from 1 to 100, one number per line.")],
),
)
require_successful_call(result)