This commit is contained in:
abc 2023-07-18 00:10:25 +01:00
commit 0dcd949235
2 changed files with 2 additions and 2 deletions

View File

@ -45,4 +45,4 @@ def _create_completion(model: str, messages: list, stream: bool, **kwargs):
yield (data['choices'][0]['delta']['content']) yield (data['choices'][0]['delta']['content'])
params = f'g4f.Providers.{os.path.basename(__file__)[:-3]} supports: ' + \ params = f'g4f.Providers.{os.path.basename(__file__)[:-3]} supports: ' + \
'(%s)' % ', '.join([f"{name}: {get_type_hints(_create_completion)[name].__name__}" for name in _create_completion.__code__.co_varnames[:_create_completion.__code__.co_argcount]]) '(%s)' % ', '.join([f"{name}: {get_type_hints(_create_completion)[name].__name__}" for name in _create_completion.__code__.co_varnames[:_create_completion.__code__.co_argcount]])

View File

@ -6,4 +6,4 @@ certifi
Providers Providers
browser_cookie3 browser_cookie3
websockets websockets
pyexecjs pyexecjs