|
@@ -157,6 +157,9 @@ class Tool(Plugin): |
|
|
"morning_news_api_key": kwargs.get("morning_news_api_key", ""), |
|
|
"morning_news_api_key": kwargs.get("morning_news_api_key", ""), |
|
|
# for visual_dl tool |
|
|
# for visual_dl tool |
|
|
"cuda_device": kwargs.get("cuda_device", "cpu"), |
|
|
"cuda_device": kwargs.get("cuda_device", "cpu"), |
|
|
|
|
|
"think_depth": kwargs.get("think_depth", 3), |
|
|
|
|
|
"arxiv_summary": kwargs.get("arxiv_summary", True), |
|
|
|
|
|
"morning_news_use_llm": kwargs.get("morning_news_use_llm", False), |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
def _filter_tool_list(self, tool_list: list): |
|
|
def _filter_tool_list(self, tool_list: list): |
|
|