Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

日志中输入栏是空白的 #78

Open
dnlm-dnmd opened this issue Oct 7, 2023 · 0 comments
Open

日志中输入栏是空白的 #78

dnlm-dnmd opened this issue Oct 7, 2023 · 0 comments

Comments

@dnlm-dnmd
Copy link

前置确认

1. 网络能够访问openai接口
2. git pull 拉取最新代码
3. 执行pip install -r requirements.txt,检查依赖是否满足
4. 在已有 issue 中未搜索到类似问题

5. 注意,提issue前请确认用本项目test.py(参考README.md 快速开始配置)重试一次你的问题是否能复现

问题描述

  1. 你的问题是否在test.py能复现?

  2. 你复现时的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"

  }
}
  1. 你的问题:
日志输入那里永远是空的,不知道为什么
  1. 收到ai的回复:
 早上好!非常抱歉,我暂时无法提供关于"morning-news今日早报"的信息。作为一个语言模型,我无法提供实时的新闻报道。但我可以回答一些有关新闻、时事和其他话题的一般性问题。如果你有其他问题需要帮助,我会很愿意为你提供帮助。
  1. debug模式终端打印的日志:
[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] - 超过重试次数

环境

  • 操作系统类型 Windows (Mac/Windows/Linux):
  • Python版本 3.9 ( 执行 python -V ):
  • pip版本 21.2.4 ( 执行 pip -V):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant