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: point the live together_ai suites at a model together still serves (#37746)

yuneng-jiang35416c702d84
diff --git a/tests/llm_translation/test_together_ai.py b/tests/llm_translation/test_together_ai.py
index 4ad0c90230d..387e61656ea 100644
--- a/tests/llm_translation/test_together_ai.py
+++ b/tests/llm_translation/test_together_ai.py
@@ -20,7 +20,7 @@ import pytest
class TestTogetherAI(BaseLLMChatTest):
def get_base_completion_call_args(self) -> dict:
litellm.set_verbose = True
- return {"model": "together_ai/Qwen/Qwen2.5-7B-Instruct-Turbo"}
+ return {"model": "together_ai/openai/gpt-oss-20b"}
def test_tool_call_no_arguments(self, tool_call_no_arguments):
"""Test that tool calls with no arguments is translated correctly. Relevant issue: https://github.com/BerriAI/litellm/issues/6833"""
diff --git a/tests/local_testing/test_completion.py b/tests/local_testing/test_completion.py
index 01fd35cb42d..5b0bff65959 100644
--- a/tests/local_testing/test_completion.py
+++ b/tests/local_testing/test_completion.py
@@ -67,7 +67,7 @@ def test_completion_custom_provider_model_name():
try:
litellm.cache = None
response = completion(
- model="together_ai/Qwen/Qwen2.5-7B-Instruct-Turbo",
+ model="together_ai/openai/gpt-oss-20b",
messages=messages,
logger_fn=logger_fn,
)
@@ -2817,7 +2817,7 @@ def test_customprompt_together_ai():
print(litellm.success_callback)
print(litellm._async_success_callback)
response = completion(
- model="together_ai/Qwen/Qwen2.5-7B-Instruct-Turbo",
+ model="together_ai/openai/gpt-oss-20b",
messages=messages,
roles={
"system": {
@@ -3657,7 +3657,7 @@ def test_completion_together_ai_stream():
messages = [{"content": user_message, "role": "user"}]
try:
response = completion(
- model="together_ai/Qwen/Qwen2.5-7B-Instruct-Turbo",
+ model="together_ai/openai/gpt-oss-20b",
messages=messages,
stream=True,
max_tokens=5,
diff --git a/tests/local_testing/test_text_completion.py b/tests/local_testing/test_text_completion.py
index b22988a468e..63cee71f999 100644
--- a/tests/local_testing/test_text_completion.py
+++ b/tests/local_testing/test_text_completion.py
@@ -4036,7 +4036,7 @@ def test_async_text_completion_together_ai():
async def test_get_response():
try:
response = await litellm.atext_completion(
- model="together_ai/Qwen/Qwen2.5-7B-Instruct-Turbo",
+ model="together_ai/openai/gpt-oss-20b",
prompt="good morning",
max_tokens=10,
)