diff options
Diffstat (limited to 'g4f/client')
-rw-r--r-- | g4f/client/service.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g4f/client/service.py b/g4f/client/service.py index d25c923d..dd6bf4b6 100644 --- a/g4f/client/service.py +++ b/g4f/client/service.py @@ -111,5 +111,6 @@ def get_last_provider(as_dict: bool = False) -> Union[ProviderType, dict[str, st "name": last.__name__, "url": last.url, "model": debug.last_model, + "label": last.label if hasattr(last, "label") else None } return last
\ No newline at end of file |