mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-15 14:51:19 -08:00
Add streaming and system messages support in Airforce
This commit is contained in:
parent
a591c5d409
commit
315a2f2595
7 changed files with 140 additions and 139 deletions
|
|
@ -26,4 +26,9 @@ class TestProviderHasModel(unittest.IsolatedAsyncioTestCase):
|
|||
except (MissingRequirementsError, MissingAuthError):
|
||||
return
|
||||
if self.cache[provider.__name__]:
|
||||
self.assertIn(model, self.cache[provider.__name__], provider.__name__)
|
||||
self.assertIn(model, self.cache[provider.__name__], provider.__name__)
|
||||
|
||||
async def test_all_providers_working(self):
|
||||
for model, providers in __models__.values():
|
||||
for provider in providers:
|
||||
self.assertTrue(provider.working, f"{provider.__name__} in {model.name}")
|
||||
Loading…
Add table
Add a link
Reference in a new issue