feat(runware): add Runware provider endpoints and update tests

This commit is contained in:
teith 2026-06-25 22:16:43 +04:00
parent cc4ea11729
commit ecbafd5221
2 changed files with 21 additions and 0 deletions

View file

@ -2077,6 +2077,24 @@
"interactions": true
}
},
"runware": {
"display_name": "Runware (`runware`)",
"url": "https://docs.litellm.ai/docs/providers/runware",
"endpoints": {
"chat_completions": true,
"messages": true,
"responses": true,
"embeddings": false,
"image_generations": false,
"audio_transcriptions": false,
"audio_speech": false,
"moderations": false,
"batches": false,
"rerank": false,
"a2a": true,
"interactions": true
}
},
"runwayml": {
"display_name": "RunwayML (`runwayml`)",
"url": "https://docs.litellm.ai/docs/providers/runwayml/videos",

View file

@ -219,7 +219,10 @@ class TestRunwareCompletion:
@pytest.fixture(autouse=True)
def _disable_aiohttp(self):
# respx mocks the httpx transport, so the aiohttp transport must be off.
original = getattr(litellm, "disable_aiohttp_transport", False)
litellm.disable_aiohttp_transport = True
yield
litellm.disable_aiohttp_transport = original
@pytest.mark.respx()
def test_completion_mock(self, respx_mock):