mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
use default_factory for SearchEnhancedQA.collect_links_action
This commit is contained in:
parent
a801a5cc32
commit
f524bbceb8
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ class SearchEnhancedQA(Action):
|
|||
desc: str = "Integrating search engine results to anwser the question."
|
||||
|
||||
collect_links_action: CollectLinks = Field(
|
||||
default=CollectLinks(), description="Action to collect relevant links from a search engine."
|
||||
default_factory=CollectLinks, description="Action to collect relevant links from a search engine."
|
||||
)
|
||||
web_browse_and_summarize_action: WebBrowseAndSummarize = Field(
|
||||
default=None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue