mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-02-22 16:38:27 +08:00
feat(tool.py): add new configuration options for think_depth, arxiv_summary, and morning_news_use_llm
This commit is contained in:
@@ -157,6 +157,9 @@ class Tool(Plugin):
|
||||
"morning_news_api_key": kwargs.get("morning_news_api_key", ""),
|
||||
# for visual_dl tool
|
||||
"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):
|
||||
|
||||
@@ -25,4 +25,4 @@ wechatpy
|
||||
# chatgpt-tool-hub plugin
|
||||
|
||||
--extra-index-url https://pypi.python.org/simple
|
||||
chatgpt_tool_hub>=0.4.1
|
||||
chatgpt_tool_hub==0.4.3
|
||||
Reference in New Issue
Block a user