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 fix test_hf_chat_template

Ishaan Jaff5c2bc796b19a
diff --git a/tests/llm_translation/test_prompt_factory.py b/tests/llm_translation/test_prompt_factory.py
index f994acc3301..1a3c5376139 100644
--- a/tests/llm_translation/test_prompt_factory.py
+++ b/tests/llm_translation/test_prompt_factory.py
@@ -795,9 +795,7 @@ def test_hf_chat_template():
print(chat_template)
assert (
chat_template.rstrip()
- == """You are a helpful assistant.
-What is the weather in Copenhagen?
-"""
+ == "You are a helpful assistant. What is the weather in Copenhagen?"
)