From a107d3f2ff0cd9ed61fb6a62aa0252d8f976e62e Mon Sep 17 00:00:00 2001 From: abc <98614666+xtekky@users.noreply.github.com> Date: Fri, 12 Apr 2024 17:06:54 +0100 Subject: update default gpt-3.5-turbo models by default, only OpenAI was enabled, more models enable for more flexibility. new provider `Koala` added, to watch out as it could be unstable. --- g4f/client/client.py | 1 + 1 file changed, 1 insertion(+) (limited to 'g4f/client') 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, -- cgit v1.2.3