goldfishh / chatgpt-tool-hub

An open-source chatgpt tool ecosystem where you can combine tools with chatgpt and use natural language to do anything.
MIT License
1.19k stars 157 forks source link

为什么news用不了 #55

Open KFC-vme-50 opened 1 year ago

KFC-vme-50 commented 1 year ago

image image 这是log ''' 已加载工具列表: terminal, wikipedia, wolfram-alpha, url-get, meteo-weather, python), receiver=@c95520fffe8bxxxxxxxxxxx [INFO][2023-05-15 19:24:27][init.py:29] - [visual_dl] init failed, error_info: ModuleNotFoundError("No module named 'torch'") [WARNING][2023-05-15 19:24:27][tool.py:171] - [tool] filter invalid tool: 'news' [WARNING][2023-05-15 19:24:27][tool.py:171] - [tool] filter invalid tool: 'morning-news' [INFO][2023-05-15 19:24:27][init.py:29] - [visual_dl] init failed, error_info: ModuleNotFoundError("No module named 'torch'") [WARNING][2023-05-15 19:24:27][victorinox.py:41] - refresh the config of tools [WARNING][2023-05-15 19:24:27][chatgpt.py:171] - proxy no find, directly request to chatgpt instead [INFO][2023-05-15 19:24:27][victorinox.py:86] - use_tools=['terminal', 'wikipedia', 'wolfram-alpha', 'url-get', 'meteo-weather', 'python'], params: {'debug': False, 'openai_api_key': 'sk-', 'open_ai_api_base': 'https://chatgp/v1', 'proxy': '', 'request_timeout': 120, 'model_name': 'gpt-3.5-turbo', 'no_default': False, 'top_k_results': 3, 'news_api_key': 'd650dxxxxxxxx069e0a', 'bing_subscription_key': '', 'google_api_key': '', 'google_cse_id': '', 'searx_search_host': '', 'wolfram_alpha_appid': '8EWxxxxxxxTXA', 'morning_news_api_key': 'N0VxxxxxxxxxxL0U', 'cuda_device': 'cpu', 'think_depth': 3, 'arxiv_summary': True, 'morning_news_use_llm': False} [INFO][2023-05-15 19:24:27][wechat_channel.py:184] - [WX] sendMsg=Reply(type=TEXT, content=[bot] 重置工具成功), receiver=@c95520fffxxxxxxxxxxx [INFO][2023-05-15 19:24:33][wechat_channel.py:187] - [WX] sendMsg=Reply(type=INFO, content=[INFO] 这是一个能让chatgpt联网,搜索,数字运算的插件,将赋予强大且丰富的扩展能力。 使用说明: $tool 命令: 根据给出的{命令}使用一些可用工具尽力为你得到结果。 $tool reset: 重置工具。

已加载工具列表: terminal, wikipedia, wolfram-alpha, url-get, meteo-weather, python), receiver=@c95520fffe8b2xxxxxxxxxxxxxxxxx '''

goldfishh commented 1 year ago

日志无法判断,只能分析你的出news没有正常加载。

你把kwargs debug设置为true,no_default设置为true 然后tools列表只放入一个news工具(这样只会加载news这一个工具)再试一次,看看有无报错,然后发送这个日志

loveFeng commented 1 year ago

日志无法判断,只能分析你的出news没有正常加载。

你把kwargs debug设置为true,no_default设置为true 然后tools列表只放入一个news工具(这样只会加载news这一个工具)再试一次,看看有无报错,然后发送这个日志

能告知一下怎么能直接访问早报吗?之前使用 $tool morning-news 可以直接回复。现在怎么直接查询,我设置了定时查询,不需要一步步询问