We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1dee185 + c243106 commit 1b1fef9Copy full SHA for 1b1fef9
1 file changed
scrapegraphai/nodes/generate_answer_node.py
@@ -52,6 +52,9 @@ def __init__(
52
super().__init__(node_name, "node", input, output, 2, node_config)
53
self.llm_model = node_config["llm_model"]
54
55
+ if hasattr(self.llm_model, 'request_timeout'):
56
+ self.llm_model.request_timeout = node_config.get("timeout", 30)
57
+
58
if isinstance(node_config["llm_model"], ChatOllama):
59
self.llm_model.format = "json"
60
0 commit comments