From 3e1e50561920d617fb5612990adbce309c4e3910 Mon Sep 17 00:00:00 2001 From: hlohaus <983577+hlohaus@users.noreply.github.com> Date: Sat, 25 Jan 2025 12:02:37 +0100 Subject: Add lock file for nodriver, add finally stop browser to all calls --- g4f/client/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'g4f/client') diff --git a/g4f/client/__init__.py b/g4f/client/__init__.py index 7fd5dc9a..c5afb4f1 100644 --- a/g4f/client/__init__.py +++ b/g4f/client/__init__.py @@ -534,8 +534,8 @@ class AsyncCompletions: self.provider if provider is None else provider, stream, ignore_working, - ignore_stream,, - has_images="images" in kwargs + ignore_stream, + has_images="images" in kwargs, ) stop = [stop] if isinstance(stop, str) else stop if ignore_stream: -- cgit v1.2.3