mirror of
https://github.com/VinciGit00/Scrapegraph-ai.git
synced 2026-07-01 21:00:48 +08:00
fix: fetch_node condition
This commit is contained in:
parent
c717bb6d8e
commit
3f45c17022
@ -257,7 +257,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