mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-12-23 19:11:48 +03:00
Merge branch 'main' of https://github.com/xtekky/gpt4free
This commit is contained in:
commit
0dcd949235
@ -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]])
|
@ -6,4 +6,4 @@ certifi
|
|||||||
Providers
|
Providers
|
||||||
browser_cookie3
|
browser_cookie3
|
||||||
websockets
|
websockets
|
||||||
pyexecjs
|
pyexecjs
|
||||||
|
Loading…
Reference in New Issue
Block a user