mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-10 06:45:28 -05:00
Compare commits
1 Commits
fix/execut
...
claude/iss
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ef69b19a2 |
@@ -55,6 +55,10 @@ class FirecrawlCrawlBlock(Block):
|
|||||||
change_tracking: dict[str, Any] = SchemaField(
|
change_tracking: dict[str, Any] = SchemaField(
|
||||||
description="The change tracking of the crawl"
|
description="The change tracking of the crawl"
|
||||||
)
|
)
|
||||||
|
error: str = SchemaField(
|
||||||
|
description="Error message if the crawl failed",
|
||||||
|
default="",
|
||||||
|
)
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(
|
super().__init__(
|
||||||
|
|||||||
@@ -39,6 +39,10 @@ class FirecrawlExtractBlock(Block):
|
|||||||
|
|
||||||
class Output(BlockSchema):
|
class Output(BlockSchema):
|
||||||
data: dict[str, Any] = SchemaField(description="The result of the crawl")
|
data: dict[str, Any] = SchemaField(description="The result of the crawl")
|
||||||
|
error: str = SchemaField(
|
||||||
|
description="Error message if the extraction failed",
|
||||||
|
default="",
|
||||||
|
)
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(
|
super().__init__(
|
||||||
|
|||||||
@@ -26,6 +26,10 @@ class FirecrawlMapWebsiteBlock(Block):
|
|||||||
results: list[dict[str, Any]] = SchemaField(
|
results: list[dict[str, Any]] = SchemaField(
|
||||||
description="List of search results with url, title, and description"
|
description="List of search results with url, title, and description"
|
||||||
)
|
)
|
||||||
|
error: str = SchemaField(
|
||||||
|
description="Error message if the map failed",
|
||||||
|
default="",
|
||||||
|
)
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(
|
super().__init__(
|
||||||
|
|||||||
@@ -54,6 +54,10 @@ class FirecrawlScrapeBlock(Block):
|
|||||||
change_tracking: dict[str, Any] = SchemaField(
|
change_tracking: dict[str, Any] = SchemaField(
|
||||||
description="The change tracking of the crawl"
|
description="The change tracking of the crawl"
|
||||||
)
|
)
|
||||||
|
error: str = SchemaField(
|
||||||
|
description="Error message if the scrape failed",
|
||||||
|
default="",
|
||||||
|
)
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(
|
super().__init__(
|
||||||
|
|||||||
@@ -38,6 +38,10 @@ class FirecrawlSearchBlock(Block):
|
|||||||
class Output(BlockSchema):
|
class Output(BlockSchema):
|
||||||
data: dict[str, Any] = SchemaField(description="The result of the search")
|
data: dict[str, Any] = SchemaField(description="The result of the search")
|
||||||
site: dict[str, Any] = SchemaField(description="The site of the search")
|
site: dict[str, Any] = SchemaField(description="The site of the search")
|
||||||
|
error: str = SchemaField(
|
||||||
|
description="Error message if the search failed",
|
||||||
|
default="",
|
||||||
|
)
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(
|
super().__init__(
|
||||||
|
|||||||
Reference in New Issue
Block a user