Skip to content

Commit ecbafd5

Browse files
committed
feat(runware): add Runware provider endpoints and update tests
1 parent cc4ea11 commit ecbafd5

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

provider_endpoints_support.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2077,6 +2077,24 @@
20772077
"interactions": true
20782078
}
20792079
},
2080+
"runware": {
2081+
"display_name": "Runware (`runware`)",
2082+
"url": "https://docs.litellm.ai/docs/providers/runware",
2083+
"endpoints": {
2084+
"chat_completions": true,
2085+
"messages": true,
2086+
"responses": true,
2087+
"embeddings": false,
2088+
"image_generations": false,
2089+
"audio_transcriptions": false,
2090+
"audio_speech": false,
2091+
"moderations": false,
2092+
"batches": false,
2093+
"rerank": false,
2094+
"a2a": true,
2095+
"interactions": true
2096+
}
2097+
},
20802098
"runwayml": {
20812099
"display_name": "RunwayML (`runwayml`)",
20822100
"url": "https://docs.litellm.ai/docs/providers/runwayml/videos",

tests/test_litellm/llms/runware/chat/test_runware_chat_transformation.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,10 @@ class TestRunwareCompletion:
219219
@pytest.fixture(autouse=True)
220220
def _disable_aiohttp(self):
221221
# respx mocks the httpx transport, so the aiohttp transport must be off.
222+
original = getattr(litellm, "disable_aiohttp_transport", False)
222223
litellm.disable_aiohttp_transport = True
224+
yield
225+
litellm.disable_aiohttp_transport = original
223226

224227
@pytest.mark.respx()
225228
def test_completion_mock(self, respx_mock):

0 commit comments

Comments
 (0)