The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community[patch]: Enable streaming for GPT4all (#16392)
Tom Jorquera1445ac95e828
diff --git a/libs/community/langchain_community/llms/gpt4all.py b/libs/community/langchain_community/llms/gpt4all.pyindex 83dace226b..8b347ceb5c 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()