From 9f84382a24817cfdad7e73e32e77a1cdd2b7c983 Mon Sep 17 00:00:00 2001 From: Yuneng Jiang Date: Sat, 19 Sep 2026 17:20:00 -0700 Subject: [PATCH] test(e2e): cite the source and date for the pinned Nova Sonic model id AGENTS.md allows a vendor-owned literal only when its source and date are cited next to it. A live realtime test cannot avoid naming a model, so record how the id was checked, and record that a retired id fails as a hang rather than an error so the next reader does not start by suspecting litellm. --- .../realtime/test_realtime_bedrock_e2e.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/e2e/llm_translation/realtime/test_realtime_bedrock_e2e.py b/tests/e2e/llm_translation/realtime/test_realtime_bedrock_e2e.py index a9836d64a07..656882a4d92 100644 --- a/tests/e2e/llm_translation/realtime/test_realtime_bedrock_e2e.py +++ b/tests/e2e/llm_translation/realtime/test_realtime_bedrock_e2e.py @@ -3,6 +3,15 @@ Customer path: open /v1/realtime, session.update, conversation.item.create, response.create, and receive a completed response. A hang with no response.done is the regression. + +NOVA_SONIC pins a vendor-owned model id, which AWS retires on its own schedule. +Source: `aws bedrock list-foundation-models --region us-east-1`, checked +2026-09-19, where amazon.nova-2-sonic-v1:0 is ACTIVE and its predecessor +amazon.nova-sonic-v1:0 answers GetFoundationModel with "This model version has +reached the end of its life". A retired id does not fail loudly here: Bedrock +ends the bidirectional stream instead of erroring, so the proxy closes the +client socket with 1000 OK and this test reads it as a hang. Re-check the id +against that command before concluding litellm broke. """ from __future__ import annotations