mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-14 04:09:09 +00:00
feat(runware): add Runware provider endpoints and update tests
This commit is contained in:
parent
cc4ea11729
commit
ecbafd5221
2 changed files with 21 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue