mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-15 09:12:18 +00:00
test(e2e): move audio and realtime tests off OpenAI model ids with shutdown dates
This commit is contained in:
parent
d18efdfe13
commit
01e1919489
7 changed files with 8 additions and 8 deletions
|
|
@ -40,7 +40,7 @@ at call time. The provider table below is the source of truth; edit `PROVIDERS`
|
|||
| provider | model alias | upstream model |
|
||||
|----------|-------------|----------------|
|
||||
| openai | `openai-realtime` | `openai/gpt-realtime-2` |
|
||||
| azure | `azure-realtime` | `azure/gpt-realtime-2` (GA protocol) |
|
||||
| azure | `azure-realtime` | `azure/gpt-realtime-1.5` (GA protocol) |
|
||||
| gemini | `gemini-realtime` | `gemini/gemini-3.1-flash-live-preview` |
|
||||
| vertex_ai | `vertex-realtime` | `vertex_ai/gemini-live-2.5-flash-native-audio` |
|
||||
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ PROVIDERS = (
|
|||
"azure",
|
||||
"azure-realtime",
|
||||
LiteLLMParamsBody(
|
||||
model="azure/gpt-realtime",
|
||||
model="azure/gpt-realtime-1.5",
|
||||
api_key="os.environ/AZURE_API_KEY",
|
||||
api_version="2025-08-28",
|
||||
realtime_protocol="GA",
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ from websockets.exceptions import ConnectionClosedError
|
|||
|
||||
pytestmark = pytest.mark.e2e
|
||||
|
||||
AZURE_REALTIME_MODEL: Final = "azure/gpt-realtime"
|
||||
AZURE_REALTIME_MODEL: Final = "azure/gpt-realtime-1.5"
|
||||
|
||||
TEXT_PARAMS: Final = tuple(
|
||||
pytest.param(
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ from sdk_clients import SdkClients, response_header
|
|||
|
||||
pytestmark = pytest.mark.e2e
|
||||
|
||||
OPENAI_TTS_MODEL: Final = "openai/gpt-4o-mini-tts"
|
||||
OPENAI_TTS_MODEL: Final = "openai/tts-1-1106"
|
||||
AWS_POLLY_MODEL: Final = "aws_polly/generative"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ WEATHER_WAV = (
|
|||
Path(__file__).resolve().parent / "realtime" / "fixtures" / "weather_question_24k.wav"
|
||||
)
|
||||
|
||||
OPENAI_TRANSCRIBE_MODEL: Final = "openai/gpt-4o-mini-transcribe"
|
||||
OPENAI_TRANSCRIBE_MODEL: Final = "openai/gpt-transcribe"
|
||||
OPENAI_WHISPER_MODEL: Final = "openai/whisper-1"
|
||||
MISSING_MODEL_PHRASES: Final = ("model=none", "invalid model", "model is required")
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ from pydantic import BaseModel
|
|||
|
||||
pytestmark = pytest.mark.e2e
|
||||
|
||||
REALTIME_BACKEND = "openai/gpt-realtime"
|
||||
REALTIME_BACKEND = "openai/gpt-realtime-2.1"
|
||||
|
||||
|
||||
class RealtimeSession(BaseModel):
|
||||
|
|
|
|||
|
|
@ -72,8 +72,8 @@ BOUNDED_OUTPUT_CHARS: Final = 1024
|
|||
PLACEHOLDER_INPUT: Final = "default-message-value"
|
||||
COMPLETION_BACKEND: Final = "openai/gpt-3.5-turbo-instruct"
|
||||
IMAGE_BACKEND: Final = "openai/gpt-image-1-mini"
|
||||
SPEECH_BACKEND: Final = "openai/gpt-4o-mini-tts"
|
||||
TRANSCRIPTION_BACKEND: Final = "openai/gpt-4o-mini-transcribe"
|
||||
SPEECH_BACKEND: Final = "openai/tts-1-1106"
|
||||
TRANSCRIPTION_BACKEND: Final = "openai/gpt-transcribe"
|
||||
MODERATION_BACKEND: Final = "openai/omni-moderation-latest"
|
||||
MISTRAL_OCR_BACKEND: Final = "mistral/mistral-ocr-latest"
|
||||
RERANK_BACKEND: Final = "cohere/rerank-v4.0-fast"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue