summaryrefslogtreecommitdiffstats
path: root/g4f/client/client.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g4f/client/client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/g4f/client/client.py b/g4f/client/client.py
index bc0bae6f..1b090981 100644
--- a/g4f/client/client.py
+++ b/g4f/client/client.py
@@ -96,6 +96,7 @@ class Completions():
ignore_working,
ignore_stream,
)
+
stop = [stop] if isinstance(stop, str) else stop
response = provider.create_completion(
model, messages,