summaryrefslogtreecommitdiffstats
path: root/g4f/client.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g4f/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/client.py b/g4f/client.py
index 3e11fac1..595beaf9 100644
--- a/g4f/client.py
+++ b/g4f/client.py
@@ -126,7 +126,7 @@ class Completions():
stop: Union[list[str], str] = None,
api_key: str = None,
**kwargs
- ) -> Union[ChatCompletion, Generator[ChatCompletionChunk]]:
+ ) -> Union[ChatCompletion, Generator[ChatCompletionChunk, None, None]]:
model, provider = get_model_and_provider(
model,
self.provider if provider is None else provider,