Open dnlm-dnmd opened 1 year ago
git pull
pip install -r requirements.txt
你的问题是否在test.py能复现?
你复现时的config.json,注意抹去你的api-key
{ "tools": ["python", "url-get", "terminal", "meteo-weather", "news", "debug", "morning-news", "wolfram_alpha" ], "kwargs": { "debug":true, "proxy":"127.0.0.1:10809", "request_timeout": 120, "top_k_results": 2, "no_default": false, "model_name": "gpt-3.5-turbo", "news_api_key":"a93ac710b675d01cfbc5461", "morning_news_api_key":"BCXjTqz1", "wolfram_alpha_appid":"3L75" } }
你的问题:
日志输入那里永远是空的,不知道为什么
早上好!非常抱歉,我暂时无法提供关于"morning-news今日早报"的信息。作为一个语言模型,我无法提供实时的新闻报道。但我可以回答一些有关新闻、时事和其他话题的一般性问题。如果你有其他问题需要帮助,我会很愿意为你提供帮助。
[INFO][2023-10-07 20:37:07][bridge.py:38] - create bot chatGPT for chat [DEBUG][2023-10-07 20:37:07][victorinox.py:136] - Now memory: [] [INFO][2023-10-07 20:37:07][victorinox.py:111] - 提问: morning-news今日早报 [INFO][2023-10-07 20:37:17][base.py:227] - LLM-OS的内心独白: [INFO][2023-10-07 20:37:17][base.py:177] - 执行Tool: morning-news中... [INFO][2023-10-07 20:37:17][base.py:115] - 输入: [INFO][2023-10-07 20:37:17][tool_engine.py:134] - 我将给工具发送如下信息: [ERROR][2023-10-07 20:38:19][victorinox.py:114] - [APP] catch a Exception: HTTPSConnectionPool(host='v2.alapi.cn', port=443): Max retries exceeded with url: /api/zaobao?token=BogHXUzGCCXjTqz1&format=json (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)'))) [DEBUG][2023-10-07 20:38:19][victorinox.py:136] - Now memory: [] [INFO][2023-10-07 20:38:19][victorinox.py:111] - 提问: morning-news今日早报 [INFO][2023-10-07 20:38:26][base.py:227] - LLM-OS的内心独白: [INFO][2023-10-07 20:38:26][base.py:177] - 执行Tool: morning-news中... [INFO][2023-10-07 20:38:26][base.py:115] - 输入: [INFO][2023-10-07 20:38:26][tool_engine.py:134] - 我将给工具发送如下信息: [ERROR][2023-10-07 20:39:26][victorinox.py:114] - [APP] catch a Exception: HTTPSConnectionPool(host='v2.alapi.cn', port=443): Max retries exceeded with url: /api/zaobao?token=BogHXUzGCCXjTqz1&format=json (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)'))) [ERROR][2023-10-07 20:39:26][victorinox.py:117] - exceed retry_num [ERROR][2023-10-07 20:39:26][tool.py:108] - 超过重试次数
python -V
pip -V
前置确认
1. 网络能够访问openai接口
2.
git pull
拉取最新代码3. 执行
pip install -r requirements.txt
,检查依赖是否满足4. 在已有 issue 中未搜索到类似问题
5. 注意,提issue前请确认用本项目test.py(参考README.md 快速开始配置)重试一次你的问题是否能复现
问题描述
你的问题是否在test.py能复现?
你复现时的config.json,注意抹去你的api-key
你的问题:
环境
python -V
):pip -V
):