diff --git a/libs/community/langchain_community/llms/gpt4all.py b/libs/community/langchain_community/llms/gpt4all.py index 83dace226bb..8b347ceb5c3 100644 --- a/libs/community/langchain_community/llms/gpt4all.py +++ b/libs/community/langchain_community/llms/gpt4all.py @@ -111,6 +111,7 @@ class GPT4All(LLM): "n_batch", "repeat_penalty", "repeat_last_n", + "streaming", } def _default_params(self) -> Dict[str, Any]: @@ -123,6 +124,7 @@ class GPT4All(LLM): "n_batch": self.n_batch, "repeat_penalty": self.repeat_penalty, "repeat_last_n": self.repeat_last_n, + "streaming": self.streaming, } @root_validator()