mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
test(vertex): isolate Lyria fallback from the remote catalog
This commit is contained in:
parent
82edb9e901
commit
fd24cce2c3
1 changed files with 1 additions and 0 deletions
|
|
@ -158,6 +158,7 @@ def test_audio_predict_response_supports_bytes_base64_encoded(
|
|||
def test_lyria_predict_cost_falls_back_to_bundled_map_when_runtime_metadata_is_incomplete(
|
||||
monkeypatch: pytest.MonkeyPatch,
|
||||
missing_fields: tuple[str, ...] | None,
|
||||
local_model_cost_map: None,
|
||||
) -> None:
|
||||
if missing_fields is None:
|
||||
monkeypatch.delitem(litellm.model_cost, "vertex_ai/lyria-002")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue