From 6ef282de3a3245acbfecd08ae48dba85ff91d031 Mon Sep 17 00:00:00 2001 From: H Lohaus Date: Tue, 12 Mar 2024 02:06:06 +0100 Subject: Remove all not working provider (#1679) Fix many providers Add selenium-wire to requierments --- g4f/client.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'g4f/client.py') diff --git a/g4f/client.py b/g4f/client.py index c4319872..d7ceb009 100644 --- a/g4f/client.py +++ b/g4f/client.py @@ -133,12 +133,18 @@ class Completions(): max_tokens: int = None, stop: Union[list[str], str] = None, api_key: str = None, + ignored : list[str] = None, + ignore_working: bool = False, + ignore_stream: bool = False, **kwargs ) -> Union[ChatCompletion, Iterator[ChatCompletionChunk]]: model, provider = get_model_and_provider( model, self.provider if provider is None else provider, stream, + ignored, + ignore_working, + ignore_stream, **kwargs ) stop = [stop] if isinstance(stop, str) else stop -- cgit v1.2.3