mirror of
https://github.com/VinciGit00/Scrapegraph-ai.git
synced 2026-06-28 21:01:55 +08:00
fix: fetch_node
This commit is contained in:
parent
59aa2510e1
commit
9e46b468c1
@ -253,7 +253,7 @@ class FetchNode(BaseNode):
|
||||
parsed_content = cleanup_html(response, source)
|
||||
|
||||
if isinstance(self.llm_model, (ChatOpenAI, AzureChatOpenAI)) \
|
||||
and not self.script_creator) or (self.force and not self.script_creator):
|
||||
and not self.script_creator or (self.force and not self.script_creator):
|
||||
parsed_content = convert_to_md(source, parsed_content)
|
||||
|
||||
compressed_document = [Document(page_content=parsed_content)]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user