diff options
Diffstat (limited to 'g4f/gui/server/provider.py')
-rw-r--r-- | g4f/gui/server/provider.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/g4f/gui/server/provider.py b/g4f/gui/server/provider.py index 286f881b..230b5f5f 100644 --- a/g4f/gui/server/provider.py +++ b/g4f/gui/server/provider.py @@ -1,6 +1,8 @@ import g4f +from g4f import BaseProvider -def get_provider(provider: str) -> g4f.Provider.BaseProvider: + +def get_provider(provider: str) -> BaseProvider | None: if isinstance(provider, str): print(provider) |