From fa971cf108976bfdfbb730927cabba6d2c64a2fa Mon Sep 17 00:00:00 2001 From: Yanyutin753 <3254822118@qq.com> Date: Mon, 26 Feb 2024 13:08:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=8A=A8=E6=80=81=E9=80=82?= =?UTF-8?q?=E9=85=8Dgpts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/encodings.xml | 6 + data/config.json | 2 +- log/access.log | 1162 +++++++++++++++++++++++++++++++++++++++++++ main.py | 61 ++- 4 files changed, 1214 insertions(+), 17 deletions(-) create mode 100644 .idea/encodings.xml create mode 100644 log/access.log diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..74c6074 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/data/config.json b/data/config.json index 5f801f8..6015e61 100644 --- a/data/config.json +++ b/data/config.json @@ -26,7 +26,7 @@ }, "refresh_ToAccess": { "stream_sleep_time": 0, - "enableOai":"true", + "enableOai":"false", "xyhelper_refreshToAccess_Url": "https://demo.xyhelper.cn/applelogin" }, "redis": { diff --git a/log/access.log b/log/access.log new file mode 100644 index 0000000..5609ef1 --- /dev/null +++ b/log/access.log @@ -0,0 +1,1162 @@ +2024-02-26 12:30:56,698 [INFO] - Scheduler started +2024-02-26 12:30:56,699 [INFO] - ========================================== +2024-02-26 12:30:56,699 [INFO] - No Proxy +2024-02-26 12:30:57,258 [INFO] - The ip you are using to access oai is: 2001:250:3007:8001:11f9:b200:1f2:e200 +2024-02-26 12:30:57,258 [INFO] - The location of this ip is: CN +2024-02-26 12:30:57,258 [INFO] - The colo is: HKG +2024-02-26 12:30:57,258 [INFO] - Is this ip a Warp ip: off +2024-02-26 12:30:57,258 [INFO] - ========================================== +2024-02-26 12:30:57,258 [INFO] - Version: 0.7.8 +2024-02-26 12:30:57,259 [INFO] - Update Info: 项目将脱离ninja,使用xyhelper,xyhelper_refreshToAccess_Url等配置需修改 +2024-02-26 12:30:57,261 [INFO] - LOG_LEVEL: INFO +2024-02-26 12:30:57,261 [INFO] - NEED_LOG_TO_FILE: True +2024-02-26 12:30:57,261 [INFO] - BOT_MODE_ENABLED: False +2024-02-26 12:30:57,261 [INFO] - REFRESH_TOACCESS_ENABLEOAI: True +2024-02-26 12:30:57,261 [INFO] - REFRESH_TOACCESS_ENABLEOAI: True +2024-02-26 12:30:57,261 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:30:57,261 [INFO] - STEAM_SLEEP_TIME: 0 +2024-02-26 12:30:57,261 [INFO] - upstream_base_url: https://demo.xyhelper.cn +2024-02-26 12:30:57,261 [WARNING] - upstream_api_prefix is not set +2024-02-26 12:30:57,262 [WARNING] - backend_container_url 未设置,图片生成功能将无法正常使用 +2024-02-26 12:30:57,263 [WARNING] - key_for_gpts_info 未设置,请将 gpts.json 中仅保留 “{}” 作为内容 +2024-02-26 12:30:57,263 [WARNING] - backend_container_api_prefix 未设置,安全性会有所下降 +2024-02-26 12:30:57,263 [INFO] - Chat 接口 URI: /v1/chat/completions +2024-02-26 12:30:57,263 [INFO] - 绘图接口 URI: /v1/images/generations +2024-02-26 12:30:57,263 [INFO] - need_delete_conversation_after_response: True +2024-02-26 12:30:57,263 [INFO] - use_oaiusercontent_url: False +2024-02-26 12:30:57,263 [INFO] - use_pandora_file_server: False +2024-02-26 12:30:57,263 [INFO] - custom_arkose_url: False +2024-02-26 12:30:57,263 [INFO] - DALLE_prompt_prefix: 请严格根据我的以下要求完成绘图任务,如果我没有发出指定的绘画指令,则绘制出我发出的文字对应的图片: +2024-02-26 12:30:57,263 [INFO] - ========================================== +2024-02-26 12:30:57,263 [INFO] - GPTS 配置信息 +2024-02-26 12:30:57,263 [INFO] - 当前可用 GPTS 列表: ['gpt-4-s', 'gpt-4-mobile', 'dall-e-3', 'gpt-3.5-turbo'] +2024-02-26 12:30:57,263 [INFO] - ========================================== +2024-02-26 12:31:21,260 [INFO] - Scheduler started +2024-02-26 12:31:21,261 [INFO] - ========================================== +2024-02-26 12:31:21,262 [INFO] - No Proxy +2024-02-26 12:31:21,503 [INFO] - The ip you are using to access oai is: 2001:250:3007:8001:11f9:b200:1f2:e200 +2024-02-26 12:31:21,504 [INFO] - The location of this ip is: CN +2024-02-26 12:31:21,504 [INFO] - The colo is: HKG +2024-02-26 12:31:21,504 [INFO] - Is this ip a Warp ip: off +2024-02-26 12:31:21,504 [INFO] - ========================================== +2024-02-26 12:31:21,504 [INFO] - Version: 0.7.8 +2024-02-26 12:31:21,504 [INFO] - Update Info: 项目将脱离ninja,使用xyhelper,xyhelper_refreshToAccess_Url等配置需修改 +2024-02-26 12:31:21,504 [INFO] - LOG_LEVEL: INFO +2024-02-26 12:31:21,504 [INFO] - NEED_LOG_TO_FILE: True +2024-02-26 12:31:21,504 [INFO] - BOT_MODE_ENABLED: False +2024-02-26 12:31:21,504 [INFO] - REFRESH_TOACCESS_ENABLEOAI: True +2024-02-26 12:31:21,504 [INFO] - REFRESH_TOACCESS_ENABLEOAI: True +2024-02-26 12:31:21,504 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:31:21,504 [INFO] - STEAM_SLEEP_TIME: 0 +2024-02-26 12:31:21,504 [INFO] - upstream_base_url: https://demo.xyhelper.cn +2024-02-26 12:31:21,504 [WARNING] - upstream_api_prefix is not set +2024-02-26 12:31:21,505 [WARNING] - backend_container_url 未设置,图片生成功能将无法正常使用 +2024-02-26 12:31:21,505 [WARNING] - key_for_gpts_info 未设置,请将 gpts.json 中仅保留 “{}” 作为内容 +2024-02-26 12:31:21,505 [WARNING] - backend_container_api_prefix 未设置,安全性会有所下降 +2024-02-26 12:31:21,505 [INFO] - Chat 接口 URI: /v1/chat/completions +2024-02-26 12:31:21,505 [INFO] - 绘图接口 URI: /v1/images/generations +2024-02-26 12:31:21,505 [INFO] - need_delete_conversation_after_response: True +2024-02-26 12:31:21,505 [INFO] - use_oaiusercontent_url: False +2024-02-26 12:31:21,505 [INFO] - use_pandora_file_server: False +2024-02-26 12:31:21,505 [INFO] - custom_arkose_url: False +2024-02-26 12:31:21,505 [INFO] - DALLE_prompt_prefix: 请严格根据我的以下要求完成绘图任务,如果我没有发出指定的绘画指令,则绘制出我发出的文字对应的图片: +2024-02-26 12:31:21,506 [INFO] - ========================================== +2024-02-26 12:31:21,506 [INFO] - GPTS 配置信息 +2024-02-26 12:31:21,506 [INFO] - 当前可用 GPTS 列表: ['gpt-4-s', 'gpt-4-mobile', 'dall-e-3', 'gpt-3.5-turbo'] +2024-02-26 12:31:21,506 [INFO] - ========================================== +2024-02-26 12:31:37,523 [INFO] - Scheduler started +2024-02-26 12:31:37,524 [INFO] - ========================================== +2024-02-26 12:31:37,524 [INFO] - No Proxy +2024-02-26 12:31:37,776 [INFO] - The ip you are using to access oai is: 2001:250:3007:8001:11f9:b200:1f2:e200 +2024-02-26 12:31:37,777 [INFO] - The location of this ip is: CN +2024-02-26 12:31:37,777 [INFO] - The colo is: HKG +2024-02-26 12:31:37,777 [INFO] - Is this ip a Warp ip: off +2024-02-26 12:31:37,777 [INFO] - ========================================== +2024-02-26 12:31:37,777 [INFO] - Version: 0.7.8 +2024-02-26 12:31:37,777 [INFO] - Update Info: 项目将脱离ninja,使用xyhelper,xyhelper_refreshToAccess_Url等配置需修改 +2024-02-26 12:31:37,777 [INFO] - LOG_LEVEL: INFO +2024-02-26 12:31:37,777 [INFO] - NEED_LOG_TO_FILE: True +2024-02-26 12:31:37,777 [INFO] - BOT_MODE_ENABLED: False +2024-02-26 12:31:37,777 [INFO] - REFRESH_TOACCESS_ENABLEOAI: True +2024-02-26 12:31:37,777 [INFO] - REFRESH_TOACCESS_ENABLEOAI: True +2024-02-26 12:31:37,777 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:31:37,777 [INFO] - STEAM_SLEEP_TIME: 0 +2024-02-26 12:31:37,777 [INFO] - upstream_base_url: https://demo.xyhelper.cn +2024-02-26 12:31:37,778 [WARNING] - upstream_api_prefix is not set +2024-02-26 12:31:37,778 [WARNING] - backend_container_url 未设置,图片生成功能将无法正常使用 +2024-02-26 12:31:37,778 [WARNING] - key_for_gpts_info 未设置,请将 gpts.json 中仅保留 “{}” 作为内容 +2024-02-26 12:31:37,778 [WARNING] - backend_container_api_prefix 未设置,安全性会有所下降 +2024-02-26 12:31:37,778 [INFO] - Chat 接口 URI: /v1/chat/completions +2024-02-26 12:31:37,778 [INFO] - 绘图接口 URI: /v1/images/generations +2024-02-26 12:31:37,778 [INFO] - need_delete_conversation_after_response: True +2024-02-26 12:31:37,778 [INFO] - use_oaiusercontent_url: False +2024-02-26 12:31:37,778 [INFO] - use_pandora_file_server: False +2024-02-26 12:31:37,778 [INFO] - custom_arkose_url: False +2024-02-26 12:31:37,778 [INFO] - DALLE_prompt_prefix: 请严格根据我的以下要求完成绘图任务,如果我没有发出指定的绘画指令,则绘制出我发出的文字对应的图片: +2024-02-26 12:31:37,778 [INFO] - ========================================== +2024-02-26 12:31:37,779 [INFO] - GPTS 配置信息 +2024-02-26 12:31:37,779 [INFO] - 当前可用 GPTS 列表: ['gpt-4-s', 'gpt-4-mobile', 'dall-e-3', 'gpt-3.5-turbo'] +2024-02-26 12:31:37,779 [INFO] - ========================================== +2024-02-26 12:31:37,809 [INFO] - Added job "updateRefresh_run" to job store "default" +2024-02-26 12:31:37,818 [INFO] - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:5000 + * Running on http://10.210.5.157:5000 +2024-02-26 12:31:37,818 [INFO] - Press CTRL+C to quit +2024-02-26 12:31:59,566 [INFO] - Scheduler started +2024-02-26 12:31:59,566 [INFO] - ========================================== +2024-02-26 12:31:59,567 [INFO] - No Proxy +2024-02-26 12:31:59,813 [INFO] - The ip you are using to access oai is: 2001:250:3007:8001:11f9:b200:1f2:e200 +2024-02-26 12:31:59,813 [INFO] - The location of this ip is: CN +2024-02-26 12:31:59,813 [INFO] - The colo is: HKG +2024-02-26 12:31:59,813 [INFO] - Is this ip a Warp ip: off +2024-02-26 12:31:59,813 [INFO] - ========================================== +2024-02-26 12:31:59,813 [INFO] - Version: 0.7.8 +2024-02-26 12:31:59,813 [INFO] - Update Info: 项目将脱离ninja,使用xyhelper,xyhelper_refreshToAccess_Url等配置需修改 +2024-02-26 12:31:59,813 [INFO] - LOG_LEVEL: INFO +2024-02-26 12:31:59,813 [INFO] - NEED_LOG_TO_FILE: True +2024-02-26 12:31:59,813 [INFO] - BOT_MODE_ENABLED: False +2024-02-26 12:31:59,814 [INFO] - REFRESH_TOACCESS_ENABLEOAI: True +2024-02-26 12:31:59,814 [INFO] - REFRESH_TOACCESS_ENABLEOAI: True +2024-02-26 12:31:59,814 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:31:59,814 [INFO] - STEAM_SLEEP_TIME: 0 +2024-02-26 12:31:59,814 [INFO] - upstream_base_url: https://demo.xyhelper.cn +2024-02-26 12:31:59,814 [WARNING] - upstream_api_prefix is not set +2024-02-26 12:31:59,814 [WARNING] - backend_container_url 未设置,图片生成功能将无法正常使用 +2024-02-26 12:31:59,814 [WARNING] - key_for_gpts_info 未设置,请将 gpts.json 中仅保留 “{}” 作为内容 +2024-02-26 12:31:59,814 [WARNING] - backend_container_api_prefix 未设置,安全性会有所下降 +2024-02-26 12:31:59,814 [INFO] - Chat 接口 URI: /v1/chat/completions +2024-02-26 12:31:59,814 [INFO] - 绘图接口 URI: /v1/images/generations +2024-02-26 12:31:59,814 [INFO] - need_delete_conversation_after_response: True +2024-02-26 12:31:59,814 [INFO] - use_oaiusercontent_url: False +2024-02-26 12:31:59,815 [INFO] - use_pandora_file_server: False +2024-02-26 12:31:59,815 [INFO] - custom_arkose_url: False +2024-02-26 12:31:59,815 [INFO] - DALLE_prompt_prefix: 请严格根据我的以下要求完成绘图任务,如果我没有发出指定的绘画指令,则绘制出我发出的文字对应的图片: +2024-02-26 12:31:59,815 [INFO] - ========================================== +2024-02-26 12:31:59,815 [INFO] - GPTS 配置信息 +2024-02-26 12:31:59,815 [INFO] - 当前可用 GPTS 列表: ['gpt-4-s', 'gpt-4-mobile', 'dall-e-3', 'gpt-3.5-turbo'] +2024-02-26 12:31:59,815 [INFO] - ========================================== +2024-02-26 12:31:59,841 [INFO] - Added job "updateRefresh_run" to job store "default" +2024-02-26 12:31:59,847 [INFO] - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:5000 + * Running on http://10.210.5.157:5000 +2024-02-26 12:31:59,848 [INFO] - Press CTRL+C to quit +2024-02-26 12:34:17,090 [INFO] - Scheduler started +2024-02-26 12:34:17,091 [INFO] - ========================================== +2024-02-26 12:34:17,091 [INFO] - No Proxy +2024-02-26 12:34:17,339 [INFO] - The ip you are using to access oai is: 2001:250:3007:8001:11f9:b200:1f2:e200 +2024-02-26 12:34:17,339 [INFO] - The location of this ip is: CN +2024-02-26 12:34:17,339 [INFO] - The colo is: HKG +2024-02-26 12:34:17,339 [INFO] - Is this ip a Warp ip: off +2024-02-26 12:34:17,339 [INFO] - ========================================== +2024-02-26 12:34:17,339 [INFO] - Version: 0.7.8 +2024-02-26 12:34:17,339 [INFO] - Update Info: 项目将脱离ninja,使用xyhelper,xyhelper_refreshToAccess_Url等配置需修改 +2024-02-26 12:34:17,339 [INFO] - LOG_LEVEL: INFO +2024-02-26 12:34:17,339 [INFO] - NEED_LOG_TO_FILE: True +2024-02-26 12:34:17,339 [INFO] - BOT_MODE_ENABLED: False +2024-02-26 12:34:17,339 [INFO] - REFRESH_TOACCESS_ENABLEOAI: True +2024-02-26 12:34:17,339 [INFO] - REFRESH_TOACCESS_ENABLEOAI: True +2024-02-26 12:34:17,340 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:34:17,340 [INFO] - STEAM_SLEEP_TIME: 0 +2024-02-26 12:34:17,340 [INFO] - upstream_base_url: https://demo.xyhelper.cn +2024-02-26 12:34:17,340 [WARNING] - upstream_api_prefix is not set +2024-02-26 12:34:17,340 [WARNING] - backend_container_url 未设置,图片生成功能将无法正常使用 +2024-02-26 12:34:17,340 [INFO] - key_for_gpts_info: Y-FFNmraC0jOnK9QP8FHkRBfE8Zzo0iqE23mXPfOMruer +2024-02-26 12:34:17,340 [WARNING] - backend_container_api_prefix 未设置,安全性会有所下降 +2024-02-26 12:34:17,340 [INFO] - Chat 接口 URI: /v1/chat/completions +2024-02-26 12:34:17,340 [INFO] - 绘图接口 URI: /v1/images/generations +2024-02-26 12:34:17,340 [INFO] - need_delete_conversation_after_response: True +2024-02-26 12:34:17,340 [INFO] - use_oaiusercontent_url: False +2024-02-26 12:34:17,341 [INFO] - use_pandora_file_server: False +2024-02-26 12:34:17,341 [INFO] - custom_arkose_url: False +2024-02-26 12:34:17,341 [INFO] - DALLE_prompt_prefix: 请严格根据我的以下要求完成绘图任务,如果我没有发出指定的绘画指令,则绘制出我发出的文字对应的图片: +2024-02-26 12:34:17,341 [INFO] - ========================================== +2024-02-26 12:34:17,341 [INFO] - GPTS 配置信息 +2024-02-26 12:34:17,341 [INFO] - 将通过这个网址请求access_token:https://auth0.openai.com/oauth/token +2024-02-26 12:34:17,601 [ERROR] - HTTP error occurred: 403 Client Error: Forbidden for url: https://auth0.openai.com/oauth/token +2024-02-26 12:34:42,931 [INFO] - Scheduler started +2024-02-26 12:34:42,932 [INFO] - ========================================== +2024-02-26 12:34:42,932 [INFO] - No Proxy +2024-02-26 12:34:43,176 [INFO] - The ip you are using to access oai is: 2001:250:3007:8001:11f9:b200:1f2:e200 +2024-02-26 12:34:43,176 [INFO] - The location of this ip is: CN +2024-02-26 12:34:43,176 [INFO] - The colo is: HKG +2024-02-26 12:34:43,176 [INFO] - Is this ip a Warp ip: off +2024-02-26 12:34:43,176 [INFO] - ========================================== +2024-02-26 12:34:43,176 [INFO] - Version: 0.7.8 +2024-02-26 12:34:43,176 [INFO] - Update Info: 项目将脱离ninja,使用xyhelper,xyhelper_refreshToAccess_Url等配置需修改 +2024-02-26 12:34:43,176 [INFO] - LOG_LEVEL: INFO +2024-02-26 12:34:43,176 [INFO] - NEED_LOG_TO_FILE: True +2024-02-26 12:34:43,176 [INFO] - BOT_MODE_ENABLED: False +2024-02-26 12:34:43,176 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 12:34:43,176 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:34:43,176 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 12:34:43,176 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:34:43,176 [INFO] - STEAM_SLEEP_TIME: 0 +2024-02-26 12:34:43,176 [INFO] - upstream_base_url: https://demo.xyhelper.cn +2024-02-26 12:34:43,176 [WARNING] - upstream_api_prefix is not set +2024-02-26 12:34:43,177 [WARNING] - backend_container_url 未设置,图片生成功能将无法正常使用 +2024-02-26 12:34:43,177 [INFO] - key_for_gpts_info: Y-FFNmraC0jOnK9QP8FHkRBfE8Zzo0iqE23mXPfOMruer +2024-02-26 12:34:43,177 [WARNING] - backend_container_api_prefix 未设置,安全性会有所下降 +2024-02-26 12:34:43,177 [INFO] - Chat 接口 URI: /v1/chat/completions +2024-02-26 12:34:43,177 [INFO] - 绘图接口 URI: /v1/images/generations +2024-02-26 12:34:43,177 [INFO] - need_delete_conversation_after_response: True +2024-02-26 12:34:43,177 [INFO] - use_oaiusercontent_url: False +2024-02-26 12:34:43,177 [INFO] - use_pandora_file_server: False +2024-02-26 12:34:43,177 [INFO] - custom_arkose_url: False +2024-02-26 12:34:43,177 [INFO] - DALLE_prompt_prefix: 请严格根据我的以下要求完成绘图任务,如果我没有发出指定的绘画指令,则绘制出我发出的文字对应的图片: +2024-02-26 12:34:43,177 [INFO] - ========================================== +2024-02-26 12:34:43,177 [INFO] - GPTS 配置信息 +2024-02-26 12:34:43,178 [INFO] - 将通过这个网址请求access_token:https://demo.xyhelper.cn/applelogin +2024-02-26 12:34:44,727 [ERROR] - Request 失败: {"detail":"500 Internal Server Error|Service Unavailable. (error=503)"} +2024-02-26 12:36:28,781 [INFO] - Scheduler started +2024-02-26 12:36:28,783 [INFO] - ========================================== +2024-02-26 12:36:28,783 [INFO] - No Proxy +2024-02-26 12:36:29,302 [INFO] - The ip you are using to access oai is: 2001:250:3007:8001:11f9:b200:1f2:e200 +2024-02-26 12:36:29,302 [INFO] - The location of this ip is: CN +2024-02-26 12:36:29,302 [INFO] - The colo is: HKG +2024-02-26 12:36:29,302 [INFO] - Is this ip a Warp ip: off +2024-02-26 12:36:29,302 [INFO] - ========================================== +2024-02-26 12:36:29,303 [INFO] - Version: 0.7.8 +2024-02-26 12:36:29,303 [INFO] - Update Info: 项目将脱离ninja,使用xyhelper,xyhelper_refreshToAccess_Url等配置需修改 +2024-02-26 12:36:29,303 [INFO] - LOG_LEVEL: INFO +2024-02-26 12:36:29,303 [INFO] - NEED_LOG_TO_FILE: True +2024-02-26 12:36:29,303 [INFO] - BOT_MODE_ENABLED: False +2024-02-26 12:36:29,303 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 12:36:29,303 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:36:29,303 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 12:36:29,303 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:36:29,303 [INFO] - STEAM_SLEEP_TIME: 0 +2024-02-26 12:36:29,303 [INFO] - upstream_base_url: https://demo.xyhelper.cn +2024-02-26 12:36:29,303 [WARNING] - upstream_api_prefix is not set +2024-02-26 12:36:29,303 [WARNING] - backend_container_url 未设置,图片生成功能将无法正常使用 +2024-02-26 12:36:29,303 [INFO] - key_for_gpts_info: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJtb3N0cmFubmFzZWNhQG1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWV9LCJodHRwczovL2FwaS5vcGVuYWkuY29tL2F1dGgiOnsicG9pZCI6Im9yZy00RU03VkJXNWMxZzJ4dXVlWnZza1p3OEYiLCJ1c2VyX2lkIjoidXNlci1teXdCQmRSQjRIajdoWE5zRGtrcU52d3cifSwiaXNzIjoiaHR0cHM6Ly9hdXRoMC5vcGVuYWkuY29tLyIsInN1YiI6ImF1dGgwfDY0Y2YyYjlkMzUxNjBiYmIyMjdlYTVjZSIsImF1ZCI6WyJodHRwczovL2FwaS5vcGVuYWkuY29tL3YxIiwiaHR0cHM6Ly9vcGVuYWkub3BlbmFpLmF1dGgwYXBwLmNvbS91c2VyaW5mbyJdLCJpYXQiOjE3MDg4ODc2MDQsImV4cCI6MTcwOTc1MTYwNCwiYXpwIjoicGRsTElYMlk3Mk1JbDJyaExoVEU5VlY5Yk45MDVrQmgiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIG1vZGVsLnJlYWQgbW9kZWwucmVxdWVzdCBvcmdhbml6YXRpb24ucmVhZCBvZmZsaW5lX2FjY2VzcyJ9.G_NUDxpjZpfL0oiQ9Z_tw7VtsFr6MtBVnFhBHYhdVKN5fK-AiJM02tQZIGQijSavjV3EmqbgxpXblT7_6h65Uj71ybHJOaSOJtZulwW0WAKkYpwGy_0Fb9hJgpg0FS5lfFmzIg8WDmurqdgCuMDfNxnLuPGVBOdnA0RnxPTwXtoc0W3JHBVq6bS9kEQvi53H6uyo_JroZD_9_CsINUte57dB19asC85tH1L8luzsipa20zShVGNYm2fnSqhIWjfH1ZHFhSm2xW-oosKWPfKZYPHOtZsJupdXMjL5eB73FgEYAuGDICSlblMSFbKWYORCGGxNFU1-4eeIuTd1KjYgUQ +2024-02-26 12:36:29,304 [WARNING] - backend_container_api_prefix 未设置,安全性会有所下降 +2024-02-26 12:36:29,304 [INFO] - Chat 接口 URI: /v1/chat/completions +2024-02-26 12:36:29,304 [INFO] - 绘图接口 URI: /v1/images/generations +2024-02-26 12:36:29,304 [INFO] - need_delete_conversation_after_response: True +2024-02-26 12:36:29,304 [INFO] - use_oaiusercontent_url: False +2024-02-26 12:36:29,304 [INFO] - use_pandora_file_server: False +2024-02-26 12:36:29,304 [INFO] - custom_arkose_url: False +2024-02-26 12:36:29,304 [INFO] - DALLE_prompt_prefix: 请严格根据我的以下要求完成绘图任务,如果我没有发出指定的绘画指令,则绘制出我发出的文字对应的图片: +2024-02-26 12:36:29,304 [INFO] - ========================================== +2024-02-26 12:36:29,304 [INFO] - GPTS 配置信息 +2024-02-26 12:36:29,304 [INFO] - 当前可用 GPTS 列表: ['gpt-4-s', 'gpt-4-mobile', 'dall-e-3', 'gpt-3.5-turbo'] +2024-02-26 12:36:29,304 [INFO] - ========================================== +2024-02-26 12:36:29,331 [INFO] - Added job "updateRefresh_run" to job store "default" +2024-02-26 12:36:29,338 [INFO] - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:5000 + * Running on http://10.210.5.157:5000 +2024-02-26 12:36:29,338 [INFO] - Press CTRL+C to quit +2024-02-26 12:38:45,907 [INFO] - New Request +2024-02-26 12:38:45,907 [INFO] - 127.0.0.1 - - [26/Feb/2024 12:38:45] "POST /v1/chat/completions HTTP/1.1" 401 - +2024-02-26 12:41:09,171 [INFO] - New Request +2024-02-26 12:41:09,171 [INFO] - 127.0.0.1 - - [26/Feb/2024 12:41:09] "POST /v1/chat/completions HTTP/1.1" 401 - +2024-02-26 12:41:42,719 [INFO] - Scheduler started +2024-02-26 12:41:42,720 [INFO] - ========================================== +2024-02-26 12:41:42,721 [INFO] - No Proxy +2024-02-26 12:41:43,284 [INFO] - The ip you are using to access oai is: 2001:250:3007:8001:11f9:b200:1f2:e200 +2024-02-26 12:41:43,284 [INFO] - The location of this ip is: CN +2024-02-26 12:41:43,284 [INFO] - The colo is: HKG +2024-02-26 12:41:43,284 [INFO] - Is this ip a Warp ip: off +2024-02-26 12:41:43,284 [INFO] - ========================================== +2024-02-26 12:41:43,284 [INFO] - Version: 0.7.8 +2024-02-26 12:41:43,284 [INFO] - Update Info: 项目将脱离ninja,使用xyhelper,xyhelper_refreshToAccess_Url等配置需修改 +2024-02-26 12:41:43,284 [INFO] - LOG_LEVEL: INFO +2024-02-26 12:41:43,285 [INFO] - NEED_LOG_TO_FILE: True +2024-02-26 12:41:43,285 [INFO] - BOT_MODE_ENABLED: False +2024-02-26 12:41:43,285 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 12:41:43,285 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:41:43,285 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 12:41:43,285 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:41:43,285 [INFO] - STEAM_SLEEP_TIME: 0 +2024-02-26 12:41:43,285 [INFO] - upstream_base_url: https://demo.xyhelper.cn +2024-02-26 12:41:43,285 [WARNING] - upstream_api_prefix is not set +2024-02-26 12:41:43,285 [WARNING] - backend_container_url 未设置,图片生成功能将无法正常使用 +2024-02-26 12:41:43,285 [INFO] - key_for_gpts_info: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJtb3N0cmFubmFzZWNhQG1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWV9LCJodHRwczovL2FwaS5vcGVuYWkuY29tL2F1dGgiOnsicG9pZCI6Im9yZy00RU03VkJXNWMxZzJ4dXVlWnZza1p3OEYiLCJ1c2VyX2lkIjoidXNlci1teXdCQmRSQjRIajdoWE5zRGtrcU52d3cifSwiaXNzIjoiaHR0cHM6Ly9hdXRoMC5vcGVuYWkuY29tLyIsInN1YiI6ImF1dGgwfDY0Y2YyYjlkMzUxNjBiYmIyMjdlYTVjZSIsImF1ZCI6WyJodHRwczovL2FwaS5vcGVuYWkuY29tL3YxIiwiaHR0cHM6Ly9vcGVuYWkub3BlbmFpLmF1dGgwYXBwLmNvbS91c2VyaW5mbyJdLCJpYXQiOjE3MDg4ODc2MDQsImV4cCI6MTcwOTc1MTYwNCwiYXpwIjoicGRsTElYMlk3Mk1JbDJyaExoVEU5VlY5Yk45MDVrQmgiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIG1vZGVsLnJlYWQgbW9kZWwucmVxdWVzdCBvcmdhbml6YXRpb24ucmVhZCBvZmZsaW5lX2FjY2VzcyJ9.G_NUDxpjZpfL0oiQ9Z_tw7VtsFr6MtBVnFhBHYhdVKN5fK-AiJM02tQZIGQijSavjV3EmqbgxpXblT7_6h65Uj71ybHJOaSOJtZulwW0WAKkYpwGy_0Fb9hJgpg0FS5lfFmzIg8WDmurqdgCuMDfNxnLuPGVBOdnA0RnxPTwXtoc0W3JHBVq6bS9kEQvi53H6uyo_JroZD_9_CsINUte57dB19asC85tH1L8luzsipa20zShVGNYm2fnSqhIWjfH1ZHFhSm2xW-oosKWPfKZYPHOtZsJupdXMjL5eB73FgEYAuGDICSlblMSFbKWYORCGGxNFU1-4eeIuTd1KjYgUQ +2024-02-26 12:41:43,285 [WARNING] - backend_container_api_prefix 未设置,安全性会有所下降 +2024-02-26 12:41:43,285 [INFO] - Chat 接口 URI: /v1/chat/completions +2024-02-26 12:41:43,286 [INFO] - 绘图接口 URI: /v1/images/generations +2024-02-26 12:41:43,286 [INFO] - need_delete_conversation_after_response: True +2024-02-26 12:41:43,286 [INFO] - use_oaiusercontent_url: False +2024-02-26 12:41:43,286 [INFO] - use_pandora_file_server: False +2024-02-26 12:41:43,286 [INFO] - custom_arkose_url: False +2024-02-26 12:41:43,286 [INFO] - DALLE_prompt_prefix: 请严格根据我的以下要求完成绘图任务,如果我没有发出指定的绘画指令,则绘制出我发出的文字对应的图片: +2024-02-26 12:41:43,286 [INFO] - ========================================== +2024-02-26 12:41:43,286 [INFO] - GPTS 配置信息 +2024-02-26 12:41:43,286 [INFO] - 当前可用 GPTS 列表: ['gpt-4-s', 'gpt-4-mobile', 'dall-e-3', 'gpt-3.5-turbo'] +2024-02-26 12:41:43,286 [INFO] - ========================================== +2024-02-26 12:41:43,312 [INFO] - Added job "updateRefresh_run" to job store "default" +2024-02-26 12:41:43,319 [INFO] - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:5000 + * Running on http://10.210.5.157:5000 +2024-02-26 12:41:43,319 [INFO] - Press CTRL+C to quit +2024-02-26 12:41:46,414 [INFO] - New Request +2024-02-26 12:41:46,415 [INFO] - 127.0.0.1 - - [26/Feb/2024 12:41:46] "POST /v1/chat/completions HTTP/1.1" 401 - +2024-02-26 12:42:18,769 [INFO] - New Request +2024-02-26 12:42:18,769 [INFO] - 127.0.0.1 - - [26/Feb/2024 12:42:18] "POST /v1/chat/completions HTTP/1.1" 401 - +2024-02-26 12:46:55,244 [INFO] - Scheduler started +2024-02-26 12:46:55,245 [INFO] - ========================================== +2024-02-26 12:46:55,245 [INFO] - No Proxy +2024-02-26 12:46:56,609 [INFO] - The ip you are using to access oai is: 2001:250:3007:8001:11f9:b200:1f2:e200 +2024-02-26 12:46:56,609 [INFO] - The location of this ip is: CN +2024-02-26 12:46:56,609 [INFO] - The colo is: HKG +2024-02-26 12:46:56,609 [INFO] - Is this ip a Warp ip: off +2024-02-26 12:46:56,609 [INFO] - ========================================== +2024-02-26 12:46:56,609 [INFO] - Version: 0.7.8 +2024-02-26 12:46:56,609 [INFO] - Update Info: 项目将脱离ninja,使用xyhelper,xyhelper_refreshToAccess_Url等配置需修改 +2024-02-26 12:46:56,609 [INFO] - LOG_LEVEL: INFO +2024-02-26 12:46:56,609 [INFO] - NEED_LOG_TO_FILE: True +2024-02-26 12:46:56,609 [INFO] - BOT_MODE_ENABLED: False +2024-02-26 12:46:56,609 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 12:46:56,609 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:46:56,609 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 12:46:56,609 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:46:56,609 [INFO] - STEAM_SLEEP_TIME: 0 +2024-02-26 12:46:56,610 [INFO] - upstream_base_url: https://demo.xyhelper.cn +2024-02-26 12:46:56,610 [WARNING] - upstream_api_prefix is not set +2024-02-26 12:46:56,610 [WARNING] - backend_container_url 未设置,图片生成功能将无法正常使用 +2024-02-26 12:46:56,610 [INFO] - key_for_gpts_info: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJtb3N0cmFubmFzZWNhQG1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWV9LCJodHRwczovL2FwaS5vcGVuYWkuY29tL2F1dGgiOnsicG9pZCI6Im9yZy00RU03VkJXNWMxZzJ4dXVlWnZza1p3OEYiLCJ1c2VyX2lkIjoidXNlci1teXdCQmRSQjRIajdoWE5zRGtrcU52d3cifSwiaXNzIjoiaHR0cHM6Ly9hdXRoMC5vcGVuYWkuY29tLyIsInN1YiI6ImF1dGgwfDY0Y2YyYjlkMzUxNjBiYmIyMjdlYTVjZSIsImF1ZCI6WyJodHRwczovL2FwaS5vcGVuYWkuY29tL3YxIiwiaHR0cHM6Ly9vcGVuYWkub3BlbmFpLmF1dGgwYXBwLmNvbS91c2VyaW5mbyJdLCJpYXQiOjE3MDg4ODc2MDQsImV4cCI6MTcwOTc1MTYwNCwiYXpwIjoicGRsTElYMlk3Mk1JbDJyaExoVEU5VlY5Yk45MDVrQmgiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIG1vZGVsLnJlYWQgbW9kZWwucmVxdWVzdCBvcmdhbml6YXRpb24ucmVhZCBvZmZsaW5lX2FjY2VzcyJ9.G_NUDxpjZpfL0oiQ9Z_tw7VtsFr6MtBVnFhBHYhdVKN5fK-AiJM02tQZIGQijSavjV3EmqbgxpXblT7_6h65Uj71ybHJOaSOJtZulwW0WAKkYpwGy_0Fb9hJgpg0FS5lfFmzIg8WDmurqdgCuMDfNxnLuPGVBOdnA0RnxPTwXtoc0W3JHBVq6bS9kEQvi53H6uyo_JroZD_9_CsINUte57dB19asC85tH1L8luzsipa20zShVGNYm2fnSqhIWjfH1ZHFhSm2xW-oosKWPfKZYPHOtZsJupdXMjL5eB73FgEYAuGDICSlblMSFbKWYORCGGxNFU1-4eeIuTd1KjYgUQ +2024-02-26 12:46:56,610 [WARNING] - backend_container_api_prefix 未设置,安全性会有所下降 +2024-02-26 12:46:56,610 [INFO] - Chat 接口 URI: /v1/chat/completions +2024-02-26 12:46:56,610 [INFO] - 绘图接口 URI: /v1/images/generations +2024-02-26 12:46:56,610 [INFO] - need_delete_conversation_after_response: True +2024-02-26 12:46:56,610 [INFO] - use_oaiusercontent_url: False +2024-02-26 12:46:56,610 [INFO] - use_pandora_file_server: False +2024-02-26 12:46:56,610 [INFO] - custom_arkose_url: False +2024-02-26 12:46:56,610 [INFO] - DALLE_prompt_prefix: 请严格根据我的以下要求完成绘图任务,如果我没有发出指定的绘画指令,则绘制出我发出的文字对应的图片: +2024-02-26 12:46:56,610 [INFO] - ========================================== +2024-02-26 12:46:56,611 [INFO] - GPTS 配置信息 +2024-02-26 12:46:56,611 [INFO] - 当前可用 GPTS 列表: ['gpt-4-s', 'gpt-4-mobile', 'dall-e-3', 'gpt-3.5-turbo'] +2024-02-26 12:46:56,611 [INFO] - ========================================== +2024-02-26 12:46:56,637 [INFO] - Added job "updateRefresh_run" to job store "default" +2024-02-26 12:46:56,644 [INFO] - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:5000 + * Running on http://10.210.5.157:5000 +2024-02-26 12:46:56,644 [INFO] - Press CTRL+C to quit +2024-02-26 12:46:59,155 [INFO] - New Request +2024-02-26 12:46:59,155 [INFO] - api_key: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJtb3N0cmFubmFzZWNhQG1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWV9LCJodHRwczovL2FwaS5vcGVuYWkuY29tL2F1dGgiOnsicG9pZCI6Im9yZy00RU03VkJXNWMxZzJ4dXVlWnZza1p3OEYiLCJ1c2VyX2lkIjoidXNlci1teXdCQmRSQjRIajdoWE5zRGtrcU52d3cifSwiaXNzIjoiaHR0cHM6Ly9hdXRoMC5vcGVuYWkuY29tLyIsInN1YiI6ImF1dGgwfDY0Y2YyYjlkMzUxNjBiYmIyMjdlYTVjZSIsImF1ZCI6WyJodHRwczovL2FwaS5vcGVuYWkuY29tL3YxIiwiaHR0cHM6Ly9vcGVuYWkub3BlbmFpLmF1dGgwYXBwLmNvbS91c2VyaW5mbyJdLCJpYXQiOjE3MDg4ODc2MDQsImV4cCI6MTcwOTc1MTYwNCwiYXpwIjoicGRsTElYMlk3Mk1JbDJyaExoVEU5VlY5Yk45MDVrQmgiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIG1vZGVsLnJlYWQgbW9kZWwucmVxdWVzdCBvcmdhbml6YXRpb24ucmVhZCBvZmZsaW5lX2FjY2VzcyJ9.G_NUDxpjZpfL0oiQ9Z_tw7VtsFr6MtBVnFhBHYhdVKN5fK-AiJM02tQZIGQijSavjV3EmqbgxpXblT7_6h65Uj71ybHJOaSOJtZulwW0WAKkYpwGy_0Fb9hJgpg0FS5lfFmzIg8WDmurqdgCuMDfNxnLuPGVBOdnA0RnxPTwXtoc0W3JHBVq6bS9kEQvi53H6uyo_JroZD_9_CsINUte57dB19asC85tH1L8luzsipa20zShVGNYm2fnSqhIWjfH1ZHFhSm2xW-oosKWPfKZYPHOtZsJupdXMjL5eB73FgEYAuGDICSlblMSFbKWYORCGGxNFU1-4eeIuTd1KjYgUQ +2024-02-26 12:47:00,163 [INFO] - 127.0.0.1 - - [26/Feb/2024 12:47:00] "POST /v1/chat/completions HTTP/1.1" 200 - +2024-02-26 12:48:23,215 [INFO] - Scheduler started +2024-02-26 12:48:23,216 [INFO] - ========================================== +2024-02-26 12:48:23,216 [INFO] - No Proxy +2024-02-26 12:48:23,514 [INFO] - The ip you are using to access oai is: 2001:250:3007:8001:11f9:b200:1f2:e200 +2024-02-26 12:48:23,514 [INFO] - The location of this ip is: CN +2024-02-26 12:48:23,514 [INFO] - The colo is: HKG +2024-02-26 12:48:23,514 [INFO] - Is this ip a Warp ip: off +2024-02-26 12:48:23,514 [INFO] - ========================================== +2024-02-26 12:48:23,514 [INFO] - Version: 0.7.8 +2024-02-26 12:48:23,514 [INFO] - Update Info: 项目将脱离ninja,使用xyhelper,xyhelper_refreshToAccess_Url等配置需修改 +2024-02-26 12:48:23,515 [INFO] - LOG_LEVEL: INFO +2024-02-26 12:48:23,515 [INFO] - NEED_LOG_TO_FILE: True +2024-02-26 12:48:23,515 [INFO] - BOT_MODE_ENABLED: False +2024-02-26 12:48:23,515 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 12:48:23,515 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:48:23,515 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 12:48:23,515 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:48:23,515 [INFO] - STEAM_SLEEP_TIME: 0 +2024-02-26 12:48:23,515 [INFO] - upstream_base_url: https://demo.xyhelper.cn +2024-02-26 12:48:23,515 [WARNING] - upstream_api_prefix is not set +2024-02-26 12:48:23,515 [WARNING] - backend_container_url 未设置,图片生成功能将无法正常使用 +2024-02-26 12:48:23,515 [INFO] - key_for_gpts_info: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJtb3N0cmFubmFzZWNhQG1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWV9LCJodHRwczovL2FwaS5vcGVuYWkuY29tL2F1dGgiOnsicG9pZCI6Im9yZy00RU03VkJXNWMxZzJ4dXVlWnZza1p3OEYiLCJ1c2VyX2lkIjoidXNlci1teXdCQmRSQjRIajdoWE5zRGtrcU52d3cifSwiaXNzIjoiaHR0cHM6Ly9hdXRoMC5vcGVuYWkuY29tLyIsInN1YiI6ImF1dGgwfDY0Y2YyYjlkMzUxNjBiYmIyMjdlYTVjZSIsImF1ZCI6WyJodHRwczovL2FwaS5vcGVuYWkuY29tL3YxIiwiaHR0cHM6Ly9vcGVuYWkub3BlbmFpLmF1dGgwYXBwLmNvbS91c2VyaW5mbyJdLCJpYXQiOjE3MDg4ODc2MDQsImV4cCI6MTcwOTc1MTYwNCwiYXpwIjoicGRsTElYMlk3Mk1JbDJyaExoVEU5VlY5Yk45MDVrQmgiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIG1vZGVsLnJlYWQgbW9kZWwucmVxdWVzdCBvcmdhbml6YXRpb24ucmVhZCBvZmZsaW5lX2FjY2VzcyJ9.G_NUDxpjZpfL0oiQ9Z_tw7VtsFr6MtBVnFhBHYhdVKN5fK-AiJM02tQZIGQijSavjV3EmqbgxpXblT7_6h65Uj71ybHJOaSOJtZulwW0WAKkYpwGy_0Fb9hJgpg0FS5lfFmzIg8WDmurqdgCuMDfNxnLuPGVBOdnA0RnxPTwXtoc0W3JHBVq6bS9kEQvi53H6uyo_JroZD_9_CsINUte57dB19asC85tH1L8luzsipa20zShVGNYm2fnSqhIWjfH1ZHFhSm2xW-oosKWPfKZYPHOtZsJupdXMjL5eB73FgEYAuGDICSlblMSFbKWYORCGGxNFU1-4eeIuTd1KjYgUQ +2024-02-26 12:48:23,516 [WARNING] - backend_container_api_prefix 未设置,安全性会有所下降 +2024-02-26 12:48:23,516 [INFO] - Chat 接口 URI: /v1/chat/completions +2024-02-26 12:48:23,516 [INFO] - 绘图接口 URI: /v1/images/generations +2024-02-26 12:48:23,516 [INFO] - need_delete_conversation_after_response: True +2024-02-26 12:48:23,516 [INFO] - use_oaiusercontent_url: False +2024-02-26 12:48:23,516 [INFO] - use_pandora_file_server: False +2024-02-26 12:48:23,516 [INFO] - custom_arkose_url: False +2024-02-26 12:48:23,516 [INFO] - DALLE_prompt_prefix: 请严格根据我的以下要求完成绘图任务,如果我没有发出指定的绘画指令,则绘制出我发出的文字对应的图片: +2024-02-26 12:48:23,516 [INFO] - ========================================== +2024-02-26 12:48:23,516 [INFO] - GPTS 配置信息 +2024-02-26 12:48:23,516 [INFO] - 当前可用 GPTS 列表: ['gpt-4-s', 'gpt-4-mobile', 'dall-e-3', 'gpt-3.5-turbo'] +2024-02-26 12:48:23,516 [INFO] - ========================================== +2024-02-26 12:48:23,555 [INFO] - Added job "updateRefresh_run" to job store "default" +2024-02-26 12:48:23,563 [INFO] - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:5000 + * Running on http://10.210.5.157:5000 +2024-02-26 12:48:23,563 [INFO] - Press CTRL+C to quit +2024-02-26 12:48:29,863 [INFO] - New Request +2024-02-26 12:48:29,863 [INFO] - api_key: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJtb3N0cmFubmFzZWNhQG1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWV9LCJodHRwczovL2FwaS5vcGVuYWkuY29tL2F1dGgiOnsicG9pZCI6Im9yZy00RU03VkJXNWMxZzJ4dXVlWnZza1p3OEYiLCJ1c2VyX2lkIjoidXNlci1teXdCQmRSQjRIajdoWE5zRGtrcU52d3cifSwiaXNzIjoiaHR0cHM6Ly9hdXRoMC5vcGVuYWkuY29tLyIsInN1YiI6ImF1dGgwfDY0Y2YyYjlkMzUxNjBiYmIyMjdlYTVjZSIsImF1ZCI6WyJodHRwczovL2FwaS5vcGVuYWkuY29tL3YxIiwiaHR0cHM6Ly9vcGVuYWkub3BlbmFpLmF1dGgwYXBwLmNvbS91c2VyaW5mbyJdLCJpYXQiOjE3MDg4ODc2MDQsImV4cCI6MTcwOTc1MTYwNCwiYXpwIjoicGRsTElYMlk3Mk1JbDJyaExoVEU5VlY5Yk45MDVrQmgiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIG1vZGVsLnJlYWQgbW9kZWwucmVxdWVzdCBvcmdhbml6YXRpb24ucmVhZCBvZmZsaW5lX2FjY2VzcyJ9.G_NUDxpjZpfL0oiQ9Z_tw7VtsFr6MtBVnFhBHYhdVKN5fK-AiJM02tQZIGQijSavjV3EmqbgxpXblT7_6h65Uj71ybHJOaSOJtZulwW0WAKkYpwGy_0Fb9hJgpg0FS5lfFmzIg8WDmurqdgCuMDfNxnLuPGVBOdnA0RnxPTwXtoc0W3JHBVq6bS9kEQvi53H6uyo_JroZD_9_CsINUte57dB19asC85tH1L8luzsipa20zShVGNYm2fnSqhIWjfH1ZHFhSm2xW-oosKWPfKZYPHOtZsJupdXMjL5eB73FgEYAuGDICSlblMSFbKWYORCGGxNFU1-4eeIuTd1KjYgUQ +2024-02-26 12:48:30,878 [INFO] - 127.0.0.1 - - [26/Feb/2024 12:48:30] "POST /v1/chat/completions HTTP/1.1" 200 - +2024-02-26 12:48:31,880 [INFO] - Websocket connected +2024-02-26 12:48:31,881 [INFO] - model: gpt-4-gizmo-g-YL87j8C7S +2024-02-26 12:48:31,881 [ERROR] - error from callback .on_open at 0x000001E4B1689700>: 'NoneType' object has no attribute 'headers' +2024-02-26 12:48:31,881 [ERROR] - 'NoneType' object has no attribute 'headers' +2024-02-26 12:50:28,616 [INFO] - Scheduler started +2024-02-26 12:50:28,617 [INFO] - ========================================== +2024-02-26 12:50:28,617 [INFO] - No Proxy +2024-02-26 12:50:28,867 [INFO] - The ip you are using to access oai is: 2001:250:3007:8001:11f9:b200:1f2:e200 +2024-02-26 12:50:28,868 [INFO] - The location of this ip is: CN +2024-02-26 12:50:28,868 [INFO] - The colo is: HKG +2024-02-26 12:50:28,868 [INFO] - Is this ip a Warp ip: off +2024-02-26 12:50:28,868 [INFO] - ========================================== +2024-02-26 12:50:28,868 [INFO] - Version: 0.7.8 +2024-02-26 12:50:28,868 [INFO] - Update Info: 项目将脱离ninja,使用xyhelper,xyhelper_refreshToAccess_Url等配置需修改 +2024-02-26 12:50:28,868 [INFO] - LOG_LEVEL: INFO +2024-02-26 12:50:28,868 [INFO] - NEED_LOG_TO_FILE: True +2024-02-26 12:50:28,868 [INFO] - BOT_MODE_ENABLED: False +2024-02-26 12:50:28,868 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 12:50:28,868 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:50:28,868 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 12:50:28,868 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:50:28,869 [INFO] - STEAM_SLEEP_TIME: 0 +2024-02-26 12:50:28,869 [INFO] - upstream_base_url: https://ninja-play.fun +2024-02-26 12:50:28,869 [WARNING] - upstream_api_prefix is not set +2024-02-26 12:50:28,869 [WARNING] - backend_container_url 未设置,图片生成功能将无法正常使用 +2024-02-26 12:50:28,869 [INFO] - key_for_gpts_info: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJtb3N0cmFubmFzZWNhQG1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWV9LCJodHRwczovL2FwaS5vcGVuYWkuY29tL2F1dGgiOnsicG9pZCI6Im9yZy00RU03VkJXNWMxZzJ4dXVlWnZza1p3OEYiLCJ1c2VyX2lkIjoidXNlci1teXdCQmRSQjRIajdoWE5zRGtrcU52d3cifSwiaXNzIjoiaHR0cHM6Ly9hdXRoMC5vcGVuYWkuY29tLyIsInN1YiI6ImF1dGgwfDY0Y2YyYjlkMzUxNjBiYmIyMjdlYTVjZSIsImF1ZCI6WyJodHRwczovL2FwaS5vcGVuYWkuY29tL3YxIiwiaHR0cHM6Ly9vcGVuYWkub3BlbmFpLmF1dGgwYXBwLmNvbS91c2VyaW5mbyJdLCJpYXQiOjE3MDg4ODc2MDQsImV4cCI6MTcwOTc1MTYwNCwiYXpwIjoicGRsTElYMlk3Mk1JbDJyaExoVEU5VlY5Yk45MDVrQmgiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIG1vZGVsLnJlYWQgbW9kZWwucmVxdWVzdCBvcmdhbml6YXRpb24ucmVhZCBvZmZsaW5lX2FjY2VzcyJ9.G_NUDxpjZpfL0oiQ9Z_tw7VtsFr6MtBVnFhBHYhdVKN5fK-AiJM02tQZIGQijSavjV3EmqbgxpXblT7_6h65Uj71ybHJOaSOJtZulwW0WAKkYpwGy_0Fb9hJgpg0FS5lfFmzIg8WDmurqdgCuMDfNxnLuPGVBOdnA0RnxPTwXtoc0W3JHBVq6bS9kEQvi53H6uyo_JroZD_9_CsINUte57dB19asC85tH1L8luzsipa20zShVGNYm2fnSqhIWjfH1ZHFhSm2xW-oosKWPfKZYPHOtZsJupdXMjL5eB73FgEYAuGDICSlblMSFbKWYORCGGxNFU1-4eeIuTd1KjYgUQ +2024-02-26 12:50:28,869 [WARNING] - backend_container_api_prefix 未设置,安全性会有所下降 +2024-02-26 12:50:28,869 [INFO] - Chat 接口 URI: /v1/chat/completions +2024-02-26 12:50:28,869 [INFO] - 绘图接口 URI: /v1/images/generations +2024-02-26 12:50:28,869 [INFO] - need_delete_conversation_after_response: True +2024-02-26 12:50:28,869 [INFO] - use_oaiusercontent_url: False +2024-02-26 12:50:28,869 [INFO] - use_pandora_file_server: False +2024-02-26 12:50:28,869 [INFO] - custom_arkose_url: False +2024-02-26 12:50:28,869 [INFO] - DALLE_prompt_prefix: 请严格根据我的以下要求完成绘图任务,如果我没有发出指定的绘画指令,则绘制出我发出的文字对应的图片: +2024-02-26 12:50:28,870 [INFO] - ========================================== +2024-02-26 12:50:28,870 [INFO] - GPTS 配置信息 +2024-02-26 12:50:28,870 [INFO] - 当前可用 GPTS 列表: ['gpt-4-s', 'gpt-4-mobile', 'dall-e-3', 'gpt-3.5-turbo'] +2024-02-26 12:50:28,870 [INFO] - ========================================== +2024-02-26 12:50:28,904 [INFO] - Added job "updateRefresh_run" to job store "default" +2024-02-26 12:50:28,911 [INFO] - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:5000 + * Running on http://10.210.5.157:5000 +2024-02-26 12:50:28,911 [INFO] - Press CTRL+C to quit +2024-02-26 12:50:31,805 [INFO] - New Request +2024-02-26 12:50:31,805 [INFO] - api_key: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJtb3N0cmFubmFzZWNhQG1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWV9LCJodHRwczovL2FwaS5vcGVuYWkuY29tL2F1dGgiOnsicG9pZCI6Im9yZy00RU03VkJXNWMxZzJ4dXVlWnZza1p3OEYiLCJ1c2VyX2lkIjoidXNlci1teXdCQmRSQjRIajdoWE5zRGtrcU52d3cifSwiaXNzIjoiaHR0cHM6Ly9hdXRoMC5vcGVuYWkuY29tLyIsInN1YiI6ImF1dGgwfDY0Y2YyYjlkMzUxNjBiYmIyMjdlYTVjZSIsImF1ZCI6WyJodHRwczovL2FwaS5vcGVuYWkuY29tL3YxIiwiaHR0cHM6Ly9vcGVuYWkub3BlbmFpLmF1dGgwYXBwLmNvbS91c2VyaW5mbyJdLCJpYXQiOjE3MDg4ODc2MDQsImV4cCI6MTcwOTc1MTYwNCwiYXpwIjoicGRsTElYMlk3Mk1JbDJyaExoVEU5VlY5Yk45MDVrQmgiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIG1vZGVsLnJlYWQgbW9kZWwucmVxdWVzdCBvcmdhbml6YXRpb24ucmVhZCBvZmZsaW5lX2FjY2VzcyJ9.G_NUDxpjZpfL0oiQ9Z_tw7VtsFr6MtBVnFhBHYhdVKN5fK-AiJM02tQZIGQijSavjV3EmqbgxpXblT7_6h65Uj71ybHJOaSOJtZulwW0WAKkYpwGy_0Fb9hJgpg0FS5lfFmzIg8WDmurqdgCuMDfNxnLuPGVBOdnA0RnxPTwXtoc0W3JHBVq6bS9kEQvi53H6uyo_JroZD_9_CsINUte57dB19asC85tH1L8luzsipa20zShVGNYm2fnSqhIWjfH1ZHFhSm2xW-oosKWPfKZYPHOtZsJupdXMjL5eB73FgEYAuGDICSlblMSFbKWYORCGGxNFU1-4eeIuTd1KjYgUQ +2024-02-26 12:50:32,815 [INFO] - 127.0.0.1 - - [26/Feb/2024 12:50:32] "POST /v1/chat/completions HTTP/1.1" 200 - +2024-02-26 12:50:33,471 [INFO] - Websocket connected +2024-02-26 12:50:33,471 [INFO] - model: gpt-4-gizmo-g-YL87j8C7S +2024-02-26 12:50:33,471 [ERROR] - error from callback .on_open at 0x000001852D749700>: 'NoneType' object has no attribute 'headers' +2024-02-26 12:50:33,471 [ERROR] - 'NoneType' object has no attribute 'headers' +2024-02-26 12:51:58,354 [INFO] - New Request +2024-02-26 12:51:58,354 [INFO] - api_key: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJtb3N0cmFubmFzZWNhQG1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWV9LCJodHRwczovL2FwaS5vcGVuYWkuY29tL2F1dGgiOnsicG9pZCI6Im9yZy00RU03VkJXNWMxZzJ4dXVlWnZza1p3OEYiLCJ1c2VyX2lkIjoidXNlci1teXdCQmRSQjRIajdoWE5zRGtrcU52d3cifSwiaXNzIjoiaHR0cHM6Ly9hdXRoMC5vcGVuYWkuY29tLyIsInN1YiI6ImF1dGgwfDY0Y2YyYjlkMzUxNjBiYmIyMjdlYTVjZSIsImF1ZCI6WyJodHRwczovL2FwaS5vcGVuYWkuY29tL3YxIiwiaHR0cHM6Ly9vcGVuYWkub3BlbmFpLmF1dGgwYXBwLmNvbS91c2VyaW5mbyJdLCJpYXQiOjE3MDg4ODc2MDQsImV4cCI6MTcwOTc1MTYwNCwiYXpwIjoicGRsTElYMlk3Mk1JbDJyaExoVEU5VlY5Yk45MDVrQmgiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIG1vZGVsLnJlYWQgbW9kZWwucmVxdWVzdCBvcmdhbml6YXRpb24ucmVhZCBvZmZsaW5lX2FjY2VzcyJ9.G_NUDxpjZpfL0oiQ9Z_tw7VtsFr6MtBVnFhBHYhdVKN5fK-AiJM02tQZIGQijSavjV3EmqbgxpXblT7_6h65Uj71ybHJOaSOJtZulwW0WAKkYpwGy_0Fb9hJgpg0FS5lfFmzIg8WDmurqdgCuMDfNxnLuPGVBOdnA0RnxPTwXtoc0W3JHBVq6bS9kEQvi53H6uyo_JroZD_9_CsINUte57dB19asC85tH1L8luzsipa20zShVGNYm2fnSqhIWjfH1ZHFhSm2xW-oosKWPfKZYPHOtZsJupdXMjL5eB73FgEYAuGDICSlblMSFbKWYORCGGxNFU1-4eeIuTd1KjYgUQ +2024-02-26 12:51:59,763 [INFO] - Websocket connected +2024-02-26 12:51:59,763 [INFO] - model: gpt-4-mobile +2024-02-26 12:51:59,763 [INFO] - 原模型名: gpt-4-mobile +2024-02-26 12:51:59,764 [INFO] - 原模型名: gpt-4-mobile +2024-02-26 12:52:03,423 [ERROR] - 'NoneType' object has no attribute 'sock' +2024-02-26 12:52:03,423 [ERROR] - 'NoneType' object has no attribute 'sock' - goodbye +2024-02-26 12:52:03,423 [INFO] - 开始流式响应... +2024-02-26 12:52:03,423 [INFO] - 当前会话id: 1c7c7b80-bcc1-49d5-9516-fbe33367fd04 +2024-02-26 12:52:03,423 [INFO] - Send: +2024-02-26 12:52:03,424 [INFO] - Send: 我 +2024-02-26 12:52:03,424 [INFO] - Send: 是 +2024-02-26 12:52:03,424 [INFO] - Send: 基 +2024-02-26 12:52:03,424 [INFO] - Send: 于 +2024-02-26 12:52:03,424 [INFO] - Send: G +2024-02-26 12:52:03,424 [INFO] - Send: PT +2024-02-26 12:52:03,425 [INFO] - Send: - +2024-02-26 12:52:03,425 [INFO] - Send: 4 +2024-02-26 12:52:03,425 [INFO] - Send: 架 +2024-02-26 12:52:03,425 [INFO] - Send: 构 +2024-02-26 12:52:03,425 [INFO] - Send: 的 +2024-02-26 12:52:03,425 [INFO] - Send: 大 +2024-02-26 12:52:03,425 [INFO] - Send: 型 +2024-02-26 12:52:03,425 [INFO] - Send: 语 +2024-02-26 12:52:03,426 [INFO] - Send: 言 +2024-02-26 12:52:03,426 [INFO] - Send: 模 +2024-02-26 12:52:03,426 [INFO] - Send: 型 +2024-02-26 12:52:03,426 [INFO] - Send: , +2024-02-26 12:52:04,964 [INFO] - Send: 由 +2024-02-26 12:52:04,964 [INFO] - Send: Open +2024-02-26 12:52:04,964 [INFO] - Send: AI +2024-02-26 12:52:04,965 [INFO] - Send: 开 +2024-02-26 12:52:04,965 [INFO] - Send: 发 +2024-02-26 12:52:04,965 [INFO] - Send: 。 +2024-02-26 12:52:04,965 [INFO] - Send: G +2024-02-26 12:52:04,965 [INFO] - Send: PT +2024-02-26 12:52:04,965 [INFO] - Send: - +2024-02-26 12:52:04,966 [INFO] - Send: 4 +2024-02-26 12:52:04,966 [INFO] - Send: 是 +2024-02-26 12:52:04,966 [INFO] - Send: 生成 +2024-02-26 12:52:04,966 [INFO] - Send: 预 +2024-02-26 12:52:04,966 [INFO] - Send: 训 +2024-02-26 12:52:04,966 [INFO] - Send: 练 +2024-02-26 12:52:04,966 [INFO] - Send: 变 +2024-02-26 12:52:04,966 [INFO] - Send: 换 +2024-02-26 12:52:04,967 [INFO] - Send: 器 +2024-02-26 12:52:04,967 [INFO] - Send: ( +2024-02-26 12:52:04,967 [INFO] - Send: Gener +2024-02-26 12:52:04,967 [INFO] - Send: ative +2024-02-26 12:52:04,967 [INFO] - Send: Pre +2024-02-26 12:52:04,967 [INFO] - Send: -trained +2024-02-26 12:52:04,967 [INFO] - Send: Transformer +2024-02-26 12:52:06,407 [INFO] - Send: ) +2024-02-26 12:52:06,408 [INFO] - Send: 的 +2024-02-26 12:52:06,408 [INFO] - Send: 第 +2024-02-26 12:52:06,408 [INFO] - Send: 四 +2024-02-26 12:52:06,408 [INFO] - Send: 代 +2024-02-26 12:52:06,408 [INFO] - Send: , +2024-02-26 12:52:06,408 [INFO] - Send: 专 +2024-02-26 12:52:06,409 [INFO] - Send: 门 +2024-02-26 12:52:06,409 [INFO] - Send: 设计 +2024-02-26 12:52:06,409 [INFO] - Send: 用 +2024-02-26 12:52:06,409 [INFO] - Send: 于 +2024-02-26 12:52:06,409 [INFO] - Send: 理 +2024-02-26 12:52:06,409 [INFO] - Send: 解 +2024-02-26 12:52:06,409 [INFO] - Send: 和 +2024-02-26 12:52:06,410 [INFO] - Send: 生成 +2024-02-26 12:52:06,410 [INFO] - Send: 自 +2024-02-26 12:52:06,410 [INFO] - Send: 然 +2024-02-26 12:52:06,410 [INFO] - Send: 语 +2024-02-26 12:52:06,410 [INFO] - Send: 言 +2024-02-26 12:52:06,410 [INFO] - Send: 文 +2024-02-26 12:52:07,659 [INFO] - Send: 本 +2024-02-26 12:52:07,660 [INFO] - Send: 。 +2024-02-26 12:52:07,660 [INFO] - Send: G +2024-02-26 12:52:07,660 [INFO] - Send: PT +2024-02-26 12:52:07,660 [INFO] - Send: - +2024-02-26 12:52:07,660 [INFO] - Send: 4 +2024-02-26 12:52:07,660 [INFO] - Send: 可以 +2024-02-26 12:52:07,661 [INFO] - Send: 进行 +2024-02-26 12:52:07,661 [INFO] - Send: 多 +2024-02-26 12:52:07,661 [INFO] - Send: 种 +2024-02-26 12:52:07,661 [INFO] - Send: 任务 +2024-02-26 12:52:07,661 [INFO] - Send: , +2024-02-26 12:52:07,661 [INFO] - Send: 如 +2024-02-26 12:52:07,661 [INFO] - Send: 文 +2024-02-26 12:52:07,661 [INFO] - Send: 本 +2024-02-26 12:52:07,662 [INFO] - Send: 生成 +2024-02-26 12:52:07,662 [INFO] - Send: 、 +2024-02-26 12:52:09,060 [INFO] - Send: 问题 +2024-02-26 12:52:09,060 [INFO] - Send: 回 +2024-02-26 12:52:09,061 [INFO] - Send: 答 +2024-02-26 12:52:09,061 [INFO] - Send: 、 +2024-02-26 12:52:09,061 [INFO] - Send: 文 +2024-02-26 12:52:09,061 [INFO] - Send: 本 +2024-02-26 12:52:09,061 [INFO] - Send: 摘 +2024-02-26 12:52:09,061 [INFO] - Send: 要 +2024-02-26 12:52:09,062 [INFO] - Send: 、 +2024-02-26 12:52:09,062 [INFO] - Send: 翻 +2024-02-26 12:52:09,062 [INFO] - Send: 译 +2024-02-26 12:52:09,062 [INFO] - Send: 以 +2024-02-26 12:52:09,062 [INFO] - Send: 及 +2024-02-26 12:52:09,062 [INFO] - Send: 其他 +2024-02-26 12:52:09,062 [INFO] - Send: 需要 +2024-02-26 12:52:10,143 [INFO] - Send: 语 +2024-02-26 12:52:10,143 [INFO] - Send: 言 +2024-02-26 12:52:10,143 [INFO] - Send: 理 +2024-02-26 12:52:10,144 [INFO] - Send: 解 +2024-02-26 12:52:10,144 [INFO] - Send: 和 +2024-02-26 12:52:10,144 [INFO] - Send: 生成 +2024-02-26 12:52:10,144 [INFO] - Send: 能 +2024-02-26 12:52:10,144 [INFO] - Send: 力 +2024-02-26 12:52:10,144 [INFO] - Send: 的 +2024-02-26 12:52:10,144 [INFO] - Send: 任务 +2024-02-26 12:52:10,145 [INFO] - Send: 。 +2024-02-26 12:52:10,145 [INFO] - Send: 它 +2024-02-26 12:52:10,145 [INFO] - Send: 通过 +2024-02-26 12:52:10,145 [INFO] - Send: 分 +2024-02-26 12:52:11,214 [INFO] - Send: 析 +2024-02-26 12:52:11,215 [INFO] - Send: 和 +2024-02-26 12:52:11,215 [INFO] - Send: 学 +2024-02-26 12:52:11,215 [INFO] - Send: 习 +2024-02-26 12:52:11,215 [INFO] - Send: 大 +2024-02-26 12:52:11,215 [INFO] - Send: 量 +2024-02-26 12:52:11,216 [INFO] - Send: 的 +2024-02-26 12:52:11,216 [INFO] - Send: 文 +2024-02-26 12:52:11,216 [INFO] - Send: 本 +2024-02-26 12:52:11,216 [INFO] - Send: 数据 +2024-02-26 12:52:11,216 [INFO] - Send: , +2024-02-26 12:52:11,217 [INFO] - Send: 学 +2024-02-26 12:52:11,217 [INFO] - Send: 会 +2024-02-26 12:52:12,319 [INFO] - Send: 了 +2024-02-26 12:52:12,320 [INFO] - Send: 如 +2024-02-26 12:52:12,320 [INFO] - Send: 何 +2024-02-26 12:52:12,320 [INFO] - Send: 预 +2024-02-26 12:52:12,320 [INFO] - Send: 测 +2024-02-26 12:52:12,320 [INFO] - Send: 接 +2024-02-26 12:52:12,321 [INFO] - Send: 下 +2024-02-26 12:52:12,321 [INFO] - Send: 来 +2024-02-26 12:52:12,321 [INFO] - Send: 最 +2024-02-26 12:52:12,321 [INFO] - Send: 有 +2024-02-26 12:52:12,321 [INFO] - Send: 可能 +2024-02-26 12:52:12,321 [INFO] - Send: 出 +2024-02-26 12:52:12,321 [INFO] - Send: 现 +2024-02-26 12:52:13,391 [INFO] - Send: 的 +2024-02-26 12:52:13,391 [INFO] - Send: 词 +2024-02-26 12:52:13,393 [INFO] - Send: 语 +2024-02-26 12:52:13,393 [INFO] - Send: , +2024-02-26 12:52:13,393 [INFO] - Send: 进 +2024-02-26 12:52:13,393 [INFO] - Send: 而 +2024-02-26 12:52:13,393 [INFO] - Send: 生成 +2024-02-26 12:52:13,393 [INFO] - Send: 连 +2024-02-26 12:52:13,393 [INFO] - Send: 贯 +2024-02-26 12:52:13,393 [INFO] - Send: 、 +2024-02-26 12:52:13,393 [INFO] - Send: 相关 +2024-02-26 12:52:13,831 [INFO] - Send: 的 +2024-02-26 12:52:13,831 [INFO] - Send: 文 +2024-02-26 12:52:13,831 [INFO] - Send: 本 +2024-02-26 12:52:13,832 [INFO] - Send: 。 +2024-02-26 12:52:13,832 [INFO] - 发送数据: data: [DONE] + + +2024-02-26 12:52:13,832 [INFO] - 会话结束 +2024-02-26 12:52:13,849 [INFO] - 完整消息: 我是基于GPT-4架构的大型语言模型,由OpenAI开发。GPT-4是生成预训练变换器(Generative Pre-trained Transformer)的第四代,专门设计用于理解和生成自然语言文本。GPT-4可以进行多种任务,如文本生成、问题回答、文本摘要、翻译以及其他需要语言理解和生成能力的任务。它通过分析和学习大量的文本数据,学会了如何预测接下来最有可能出现的词语,进而生成连贯、相关的文本。 +2024-02-26 12:52:13,881 [INFO] - 接受到停止信号,停止数据处理线程-外层 +2024-02-26 12:52:17,363 [INFO] - 127.0.0.1 - - [26/Feb/2024 12:52:17] "POST /v1/chat/completions HTTP/1.1" 200 - +2024-02-26 12:53:23,199 [INFO] - Scheduler started +2024-02-26 12:53:23,200 [INFO] - ========================================== +2024-02-26 12:53:23,200 [INFO] - No Proxy +2024-02-26 12:53:23,760 [INFO] - The ip you are using to access oai is: 2001:250:3007:8001:11f9:b200:1f2:e200 +2024-02-26 12:53:23,760 [INFO] - The location of this ip is: CN +2024-02-26 12:53:23,760 [INFO] - The colo is: HKG +2024-02-26 12:53:23,760 [INFO] - Is this ip a Warp ip: off +2024-02-26 12:53:23,760 [INFO] - ========================================== +2024-02-26 12:53:23,760 [INFO] - Version: 0.7.8 +2024-02-26 12:53:23,760 [INFO] - Update Info: 项目将脱离ninja,使用xyhelper,xyhelper_refreshToAccess_Url等配置需修改 +2024-02-26 12:53:23,760 [INFO] - LOG_LEVEL: INFO +2024-02-26 12:53:23,761 [INFO] - NEED_LOG_TO_FILE: True +2024-02-26 12:53:23,761 [INFO] - BOT_MODE_ENABLED: False +2024-02-26 12:53:23,761 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 12:53:23,761 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:53:23,761 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 12:53:23,761 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:53:23,761 [INFO] - STEAM_SLEEP_TIME: 0 +2024-02-26 12:53:23,761 [INFO] - upstream_base_url: https://ninja-play.fun +2024-02-26 12:53:23,761 [WARNING] - upstream_api_prefix is not set +2024-02-26 12:53:23,761 [WARNING] - backend_container_url 未设置,图片生成功能将无法正常使用 +2024-02-26 12:53:23,761 [INFO] - key_for_gpts_info: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJtb3N0cmFubmFzZWNhQG1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWV9LCJodHRwczovL2FwaS5vcGVuYWkuY29tL2F1dGgiOnsicG9pZCI6Im9yZy00RU03VkJXNWMxZzJ4dXVlWnZza1p3OEYiLCJ1c2VyX2lkIjoidXNlci1teXdCQmRSQjRIajdoWE5zRGtrcU52d3cifSwiaXNzIjoiaHR0cHM6Ly9hdXRoMC5vcGVuYWkuY29tLyIsInN1YiI6ImF1dGgwfDY0Y2YyYjlkMzUxNjBiYmIyMjdlYTVjZSIsImF1ZCI6WyJodHRwczovL2FwaS5vcGVuYWkuY29tL3YxIiwiaHR0cHM6Ly9vcGVuYWkub3BlbmFpLmF1dGgwYXBwLmNvbS91c2VyaW5mbyJdLCJpYXQiOjE3MDg4ODc2MDQsImV4cCI6MTcwOTc1MTYwNCwiYXpwIjoicGRsTElYMlk3Mk1JbDJyaExoVEU5VlY5Yk45MDVrQmgiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIG1vZGVsLnJlYWQgbW9kZWwucmVxdWVzdCBvcmdhbml6YXRpb24ucmVhZCBvZmZsaW5lX2FjY2VzcyJ9.G_NUDxpjZpfL0oiQ9Z_tw7VtsFr6MtBVnFhBHYhdVKN5fK-AiJM02tQZIGQijSavjV3EmqbgxpXblT7_6h65Uj71ybHJOaSOJtZulwW0WAKkYpwGy_0Fb9hJgpg0FS5lfFmzIg8WDmurqdgCuMDfNxnLuPGVBOdnA0RnxPTwXtoc0W3JHBVq6bS9kEQvi53H6uyo_JroZD_9_CsINUte57dB19asC85tH1L8luzsipa20zShVGNYm2fnSqhIWjfH1ZHFhSm2xW-oosKWPfKZYPHOtZsJupdXMjL5eB73FgEYAuGDICSlblMSFbKWYORCGGxNFU1-4eeIuTd1KjYgUQ +2024-02-26 12:53:23,761 [WARNING] - backend_container_api_prefix 未设置,安全性会有所下降 +2024-02-26 12:53:23,761 [INFO] - Chat 接口 URI: /v1/chat/completions +2024-02-26 12:53:23,762 [INFO] - 绘图接口 URI: /v1/images/generations +2024-02-26 12:53:23,762 [INFO] - need_delete_conversation_after_response: True +2024-02-26 12:53:23,762 [INFO] - use_oaiusercontent_url: False +2024-02-26 12:53:23,762 [INFO] - use_pandora_file_server: False +2024-02-26 12:53:23,762 [INFO] - custom_arkose_url: False +2024-02-26 12:53:23,762 [INFO] - DALLE_prompt_prefix: 请严格根据我的以下要求完成绘图任务,如果我没有发出指定的绘画指令,则绘制出我发出的文字对应的图片: +2024-02-26 12:53:23,762 [INFO] - ========================================== +2024-02-26 12:53:23,762 [INFO] - GPTS 配置信息 +2024-02-26 12:53:23,762 [INFO] - 当前可用 GPTS 列表: ['gpt-4-s', 'gpt-4-mobile', 'dall-e-3', 'gpt-3.5-turbo'] +2024-02-26 12:53:23,762 [INFO] - ========================================== +2024-02-26 12:53:23,797 [INFO] - Added job "updateRefresh_run" to job store "default" +2024-02-26 12:53:23,805 [INFO] - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:5000 + * Running on http://10.210.5.157:5000 +2024-02-26 12:53:23,805 [INFO] - Press CTRL+C to quit +2024-02-26 12:53:27,948 [INFO] - New Request +2024-02-26 12:53:27,948 [INFO] - api_key: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJtb3N0cmFubmFzZWNhQG1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWV9LCJodHRwczovL2FwaS5vcGVuYWkuY29tL2F1dGgiOnsicG9pZCI6Im9yZy00RU03VkJXNWMxZzJ4dXVlWnZza1p3OEYiLCJ1c2VyX2lkIjoidXNlci1teXdCQmRSQjRIajdoWE5zRGtrcU52d3cifSwiaXNzIjoiaHR0cHM6Ly9hdXRoMC5vcGVuYWkuY29tLyIsInN1YiI6ImF1dGgwfDY0Y2YyYjlkMzUxNjBiYmIyMjdlYTVjZSIsImF1ZCI6WyJodHRwczovL2FwaS5vcGVuYWkuY29tL3YxIiwiaHR0cHM6Ly9vcGVuYWkub3BlbmFpLmF1dGgwYXBwLmNvbS91c2VyaW5mbyJdLCJpYXQiOjE3MDg4ODc2MDQsImV4cCI6MTcwOTc1MTYwNCwiYXpwIjoicGRsTElYMlk3Mk1JbDJyaExoVEU5VlY5Yk45MDVrQmgiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIG1vZGVsLnJlYWQgbW9kZWwucmVxdWVzdCBvcmdhbml6YXRpb24ucmVhZCBvZmZsaW5lX2FjY2VzcyJ9.G_NUDxpjZpfL0oiQ9Z_tw7VtsFr6MtBVnFhBHYhdVKN5fK-AiJM02tQZIGQijSavjV3EmqbgxpXblT7_6h65Uj71ybHJOaSOJtZulwW0WAKkYpwGy_0Fb9hJgpg0FS5lfFmzIg8WDmurqdgCuMDfNxnLuPGVBOdnA0RnxPTwXtoc0W3JHBVq6bS9kEQvi53H6uyo_JroZD_9_CsINUte57dB19asC85tH1L8luzsipa20zShVGNYm2fnSqhIWjfH1ZHFhSm2xW-oosKWPfKZYPHOtZsJupdXMjL5eB73FgEYAuGDICSlblMSFbKWYORCGGxNFU1-4eeIuTd1KjYgUQ +2024-02-26 12:53:29,458 [INFO] - Websocket connected +2024-02-26 12:53:29,458 [INFO] - model: gpt-4-mobile +2024-02-26 12:53:29,458 [INFO] - 原模型名: gpt-4-mobile +2024-02-26 12:53:29,458 [INFO] - 原模型名: gpt-4-mobile +2024-02-26 12:53:32,953 [ERROR] - 'NoneType' object has no attribute 'sock' +2024-02-26 12:53:32,953 [ERROR] - 'NoneType' object has no attribute 'sock' - goodbye +2024-02-26 12:53:32,954 [INFO] - 开始流式响应... +2024-02-26 12:53:32,954 [INFO] - 当前会话id: 0ecf329e-82c3-4a42-bbb5-7fa746c40051 +2024-02-26 12:53:32,954 [INFO] - Send: +2024-02-26 12:53:32,954 [INFO] - Send: 我 +2024-02-26 12:53:32,954 [INFO] - Send: 是 +2024-02-26 12:53:32,954 [INFO] - Send: 基 +2024-02-26 12:53:32,955 [INFO] - Send: 于 +2024-02-26 12:53:32,955 [INFO] - Send: Open +2024-02-26 12:53:32,955 [INFO] - Send: AI +2024-02-26 12:53:32,955 [INFO] - Send: 的 +2024-02-26 12:53:32,955 [INFO] - Send: G +2024-02-26 12:53:32,955 [INFO] - Send: PT +2024-02-26 12:53:32,955 [INFO] - Send: - +2024-02-26 12:53:32,956 [INFO] - Send: 4 +2024-02-26 12:53:32,956 [INFO] - Send: ( +2024-02-26 12:53:32,956 [INFO] - Send: Gener +2024-02-26 12:53:32,956 [INFO] - Send: ative +2024-02-26 12:53:32,956 [INFO] - Send: Pre +2024-02-26 12:53:32,956 [INFO] - Send: -trained +2024-02-26 12:53:32,956 [INFO] - Send: Transformer +2024-02-26 12:53:32,956 [INFO] - Send: +2024-02-26 12:53:32,957 [INFO] - Send: 4 +2024-02-26 12:53:34,506 [INFO] - Send: ) +2024-02-26 12:53:34,507 [INFO] - Send: 架 +2024-02-26 12:53:34,507 [INFO] - Send: 构 +2024-02-26 12:53:34,507 [INFO] - Send: 的 +2024-02-26 12:53:34,508 [INFO] - Send: 语 +2024-02-26 12:53:34,508 [INFO] - Send: 言 +2024-02-26 12:53:34,508 [INFO] - Send: 模 +2024-02-26 12:53:34,508 [INFO] - Send: 型 +2024-02-26 12:53:34,508 [INFO] - Send: 。 +2024-02-26 12:53:34,508 [INFO] - Send: G +2024-02-26 12:53:34,508 [INFO] - Send: PT +2024-02-26 12:53:34,508 [INFO] - Send: - +2024-02-26 12:53:34,509 [INFO] - Send: 4 +2024-02-26 12:53:34,509 [INFO] - Send: 是 +2024-02-26 12:53:34,509 [INFO] - Send: 一个 +2024-02-26 12:53:34,509 [INFO] - Send: 先 +2024-02-26 12:53:34,509 [INFO] - Send: 进 +2024-02-26 12:53:34,509 [INFO] - Send: 的 +2024-02-26 12:53:34,509 [INFO] - Send: 自 +2024-02-26 12:53:34,509 [INFO] - Send: 然 +2024-02-26 12:53:34,509 [INFO] - Send: 语 +2024-02-26 12:53:34,510 [INFO] - Send: 言 +2024-02-26 12:53:34,510 [INFO] - Send: 处理 +2024-02-26 12:53:36,046 [INFO] - Send: 模 +2024-02-26 12:53:36,047 [INFO] - Send: 型 +2024-02-26 12:53:36,047 [INFO] - Send: , +2024-02-26 12:53:36,047 [INFO] - Send: 旨 +2024-02-26 12:53:36,047 [INFO] - Send: 在 +2024-02-26 12:53:36,047 [INFO] - Send: 理 +2024-02-26 12:53:36,047 [INFO] - Send: 解 +2024-02-26 12:53:36,047 [INFO] - Send: 和 +2024-02-26 12:53:36,048 [INFO] - Send: 生成 +2024-02-26 12:53:36,048 [INFO] - Send: 自 +2024-02-26 12:53:36,048 [INFO] - Send: 然 +2024-02-26 12:53:36,048 [INFO] - Send: 语 +2024-02-26 12:53:36,048 [INFO] - Send: 言 +2024-02-26 12:53:36,048 [INFO] - Send: 文 +2024-02-26 12:53:36,048 [INFO] - Send: 本 +2024-02-26 12:53:36,049 [INFO] - Send: 。 +2024-02-26 12:53:36,049 [INFO] - Send: 这 +2024-02-26 12:53:36,049 [INFO] - Send: 个 +2024-02-26 12:53:36,049 [INFO] - Send: 模 +2024-02-26 12:53:36,049 [INFO] - Send: 型 +2024-02-26 12:53:37,429 [INFO] - Send: 通过 +2024-02-26 12:53:37,429 [INFO] - Send: 大 +2024-02-26 12:53:37,429 [INFO] - Send: 量 +2024-02-26 12:53:37,430 [INFO] - Send: 的 +2024-02-26 12:53:37,430 [INFO] - Send: 文 +2024-02-26 12:53:37,430 [INFO] - Send: 本 +2024-02-26 12:53:37,430 [INFO] - Send: 数据 +2024-02-26 12:53:37,430 [INFO] - Send: 训 +2024-02-26 12:53:37,430 [INFO] - Send: 练 +2024-02-26 12:53:37,431 [INFO] - Send: , +2024-02-26 12:53:37,431 [INFO] - Send: 学 +2024-02-26 12:53:37,431 [INFO] - Send: 会 +2024-02-26 12:53:37,431 [INFO] - Send: 了 +2024-02-26 12:53:37,431 [INFO] - Send: 理 +2024-02-26 12:53:37,431 [INFO] - Send: 解 +2024-02-26 12:53:37,431 [INFO] - Send: 和 +2024-02-26 12:53:37,432 [INFO] - Send: 生成 +2024-02-26 12:53:38,618 [INFO] - Send: 语 +2024-02-26 12:53:38,618 [INFO] - Send: 言 +2024-02-26 12:53:38,618 [INFO] - Send: 的 +2024-02-26 12:53:38,618 [INFO] - Send: 能 +2024-02-26 12:53:38,619 [INFO] - Send: 力 +2024-02-26 12:53:38,619 [INFO] - Send: , +2024-02-26 12:53:38,619 [INFO] - Send: 能 +2024-02-26 12:53:38,619 [INFO] - Send: 够 +2024-02-26 12:53:38,619 [INFO] - Send: 在 +2024-02-26 12:53:38,619 [INFO] - Send: 多 +2024-02-26 12:53:38,620 [INFO] - Send: 种 +2024-02-26 12:53:38,620 [INFO] - Send: 任务 +2024-02-26 12:53:38,620 [INFO] - Send: 中 +2024-02-26 12:53:38,620 [INFO] - Send: 表 +2024-02-26 12:53:38,620 [INFO] - Send: 现 +2024-02-26 12:53:38,620 [INFO] - Send: 出 +2024-02-26 12:53:39,416 [INFO] - New Request +2024-02-26 12:53:39,416 [INFO] - api_key: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJtb3N0cmFubmFzZWNhQG1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWV9LCJodHRwczovL2FwaS5vcGVuYWkuY29tL2F1dGgiOnsicG9pZCI6Im9yZy00RU03VkJXNWMxZzJ4dXVlWnZza1p3OEYiLCJ1c2VyX2lkIjoidXNlci1teXdCQmRSQjRIajdoWE5zRGtrcU52d3cifSwiaXNzIjoiaHR0cHM6Ly9hdXRoMC5vcGVuYWkuY29tLyIsInN1YiI6ImF1dGgwfDY0Y2YyYjlkMzUxNjBiYmIyMjdlYTVjZSIsImF1ZCI6WyJodHRwczovL2FwaS5vcGVuYWkuY29tL3YxIiwiaHR0cHM6Ly9vcGVuYWkub3BlbmFpLmF1dGgwYXBwLmNvbS91c2VyaW5mbyJdLCJpYXQiOjE3MDg4ODc2MDQsImV4cCI6MTcwOTc1MTYwNCwiYXpwIjoicGRsTElYMlk3Mk1JbDJyaExoVEU5VlY5Yk45MDVrQmgiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIG1vZGVsLnJlYWQgbW9kZWwucmVxdWVzdCBvcmdhbml6YXRpb24ucmVhZCBvZmZsaW5lX2FjY2VzcyJ9.G_NUDxpjZpfL0oiQ9Z_tw7VtsFr6MtBVnFhBHYhdVKN5fK-AiJM02tQZIGQijSavjV3EmqbgxpXblT7_6h65Uj71ybHJOaSOJtZulwW0WAKkYpwGy_0Fb9hJgpg0FS5lfFmzIg8WDmurqdgCuMDfNxnLuPGVBOdnA0RnxPTwXtoc0W3JHBVq6bS9kEQvi53H6uyo_JroZD_9_CsINUte57dB19asC85tH1L8luzsipa20zShVGNYm2fnSqhIWjfH1ZHFhSm2xW-oosKWPfKZYPHOtZsJupdXMjL5eB73FgEYAuGDICSlblMSFbKWYORCGGxNFU1-4eeIuTd1KjYgUQ +2024-02-26 12:53:39,846 [INFO] - Send: 人 +2024-02-26 12:53:39,847 [INFO] - Send: 类 +2024-02-26 12:53:39,847 [INFO] - Send: 水 +2024-02-26 12:53:39,847 [INFO] - Send: 平 +2024-02-26 12:53:39,847 [INFO] - Send: 的 +2024-02-26 12:53:39,848 [INFO] - Send: 表 +2024-02-26 12:53:39,848 [INFO] - Send: 现 +2024-02-26 12:53:39,848 [INFO] - Send: 。 +2024-02-26 12:53:39,848 [INFO] - Send: 它 +2024-02-26 12:53:39,848 [INFO] - Send: 可以 +2024-02-26 12:53:39,848 [INFO] - Send: 执行 +2024-02-26 12:53:39,849 [INFO] - Send: 包 +2024-02-26 12:53:39,849 [INFO] - Send: 括 +2024-02-26 12:53:39,849 [INFO] - Send: 文 +2024-02-26 12:53:40,893 [INFO] - Websocket connected +2024-02-26 12:53:40,893 [INFO] - model: gpt-4-gizmo-g-YL87j8C7S +2024-02-26 12:53:40,893 [ERROR] - error from callback .on_open at 0x000001DD469F0160>: 'NoneType' object has no attribute 'headers' +2024-02-26 12:53:40,894 [ERROR] - 'NoneType' object has no attribute 'headers' +2024-02-26 12:53:41,244 [INFO] - Send: 本 +2024-02-26 12:53:41,245 [INFO] - Send: 生成 +2024-02-26 12:53:41,245 [INFO] - Send: 、 +2024-02-26 12:53:41,245 [INFO] - Send: 问 +2024-02-26 12:53:41,246 [INFO] - Send: 答 +2024-02-26 12:53:41,246 [INFO] - Send: 、 +2024-02-26 12:53:41,246 [INFO] - Send: 摘 +2024-02-26 12:53:41,247 [INFO] - Send: 要 +2024-02-26 12:53:41,247 [INFO] - Send: 、 +2024-02-26 12:53:41,247 [INFO] - Send: 翻 +2024-02-26 12:53:41,247 [INFO] - Send: 译 +2024-02-26 12:53:41,248 [INFO] - Send: 和 +2024-02-26 12:53:41,248 [INFO] - Send: 更 +2024-02-26 12:53:42,213 [INFO] - Send: 多 +2024-02-26 12:53:42,213 [INFO] - Send: 复 +2024-02-26 12:53:42,213 [INFO] - Send: 杂 +2024-02-26 12:53:42,213 [INFO] - Send: 任务 +2024-02-26 12:53:42,214 [INFO] - Send: 在 +2024-02-26 12:53:42,214 [INFO] - Send: 内 +2024-02-26 12:53:42,214 [INFO] - Send: 的 +2024-02-26 12:53:42,214 [INFO] - Send: 多 +2024-02-26 12:53:42,214 [INFO] - Send: 种 +2024-02-26 12:53:42,215 [INFO] - Send: 语 +2024-02-26 12:53:42,215 [INFO] - Send: 言 +2024-02-26 12:53:42,215 [INFO] - Send: 处理 +2024-02-26 12:53:42,491 [INFO] - Send: 功能 +2024-02-26 12:53:42,491 [INFO] - Send: 。 +2024-02-26 12:53:42,492 [INFO] - 发送数据: data: [DONE] + + +2024-02-26 12:53:42,492 [INFO] - 会话结束 +2024-02-26 12:53:42,506 [INFO] - 完整消息: 我是基于OpenAI的GPT-4(Generative Pre-trained Transformer 4)架构的语言模型。GPT-4是一个先进的自然语言处理模型,旨在理解和生成自然语言文本。这个模型通过大量的文本数据训练,学会了理解和生成语言的能力,能够在多种任务中表现出人类水平的表现。它可以执行包括文本生成、问答、摘要、翻译和更多复杂任务在内的多种语言处理功能。 +2024-02-26 12:53:42,538 [INFO] - 接受到停止信号,停止数据处理线程-外层 +2024-02-26 12:53:43,287 [INFO] - 127.0.0.1 - - [26/Feb/2024 12:53:43] "POST /v1/chat/completions HTTP/1.1" 200 - +2024-02-26 12:59:34,668 [INFO] - Scheduler started +2024-02-26 12:59:34,669 [INFO] - ========================================== +2024-02-26 12:59:34,669 [INFO] - No Proxy +2024-02-26 12:59:35,204 [INFO] - The ip you are using to access oai is: 2001:250:3007:8001:11f9:b200:1f2:e200 +2024-02-26 12:59:35,205 [INFO] - The location of this ip is: CN +2024-02-26 12:59:35,205 [INFO] - The colo is: HKG +2024-02-26 12:59:35,205 [INFO] - Is this ip a Warp ip: off +2024-02-26 12:59:35,205 [INFO] - ========================================== +2024-02-26 12:59:35,205 [INFO] - Version: 0.7.8 +2024-02-26 12:59:35,205 [INFO] - Update Info: 项目将脱离ninja,使用xyhelper,xyhelper_refreshToAccess_Url等配置需修改 +2024-02-26 12:59:35,205 [INFO] - LOG_LEVEL: INFO +2024-02-26 12:59:35,205 [INFO] - NEED_LOG_TO_FILE: True +2024-02-26 12:59:35,205 [INFO] - BOT_MODE_ENABLED: False +2024-02-26 12:59:35,205 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 12:59:35,205 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:59:35,205 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 12:59:35,205 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 12:59:35,205 [INFO] - STEAM_SLEEP_TIME: 0 +2024-02-26 12:59:35,205 [INFO] - upstream_base_url: https://ninja-play.fun +2024-02-26 12:59:35,205 [WARNING] - upstream_api_prefix is not set +2024-02-26 12:59:35,206 [WARNING] - backend_container_url 未设置,图片生成功能将无法正常使用 +2024-02-26 12:59:35,206 [INFO] - key_for_gpts_info: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJtb3N0cmFubmFzZWNhQG1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWV9LCJodHRwczovL2FwaS5vcGVuYWkuY29tL2F1dGgiOnsicG9pZCI6Im9yZy00RU03VkJXNWMxZzJ4dXVlWnZza1p3OEYiLCJ1c2VyX2lkIjoidXNlci1teXdCQmRSQjRIajdoWE5zRGtrcU52d3cifSwiaXNzIjoiaHR0cHM6Ly9hdXRoMC5vcGVuYWkuY29tLyIsInN1YiI6ImF1dGgwfDY0Y2YyYjlkMzUxNjBiYmIyMjdlYTVjZSIsImF1ZCI6WyJodHRwczovL2FwaS5vcGVuYWkuY29tL3YxIiwiaHR0cHM6Ly9vcGVuYWkub3BlbmFpLmF1dGgwYXBwLmNvbS91c2VyaW5mbyJdLCJpYXQiOjE3MDg4ODc2MDQsImV4cCI6MTcwOTc1MTYwNCwiYXpwIjoicGRsTElYMlk3Mk1JbDJyaExoVEU5VlY5Yk45MDVrQmgiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIG1vZGVsLnJlYWQgbW9kZWwucmVxdWVzdCBvcmdhbml6YXRpb24ucmVhZCBvZmZsaW5lX2FjY2VzcyJ9.G_NUDxpjZpfL0oiQ9Z_tw7VtsFr6MtBVnFhBHYhdVKN5fK-AiJM02tQZIGQijSavjV3EmqbgxpXblT7_6h65Uj71ybHJOaSOJtZulwW0WAKkYpwGy_0Fb9hJgpg0FS5lfFmzIg8WDmurqdgCuMDfNxnLuPGVBOdnA0RnxPTwXtoc0W3JHBVq6bS9kEQvi53H6uyo_JroZD_9_CsINUte57dB19asC85tH1L8luzsipa20zShVGNYm2fnSqhIWjfH1ZHFhSm2xW-oosKWPfKZYPHOtZsJupdXMjL5eB73FgEYAuGDICSlblMSFbKWYORCGGxNFU1-4eeIuTd1KjYgUQ +2024-02-26 12:59:35,206 [WARNING] - backend_container_api_prefix 未设置,安全性会有所下降 +2024-02-26 12:59:35,206 [INFO] - Chat 接口 URI: /v1/chat/completions +2024-02-26 12:59:35,206 [INFO] - 绘图接口 URI: /v1/images/generations +2024-02-26 12:59:35,206 [INFO] - need_delete_conversation_after_response: True +2024-02-26 12:59:35,206 [INFO] - use_oaiusercontent_url: False +2024-02-26 12:59:35,206 [INFO] - use_pandora_file_server: False +2024-02-26 12:59:35,206 [INFO] - custom_arkose_url: False +2024-02-26 12:59:35,206 [INFO] - DALLE_prompt_prefix: 请严格根据我的以下要求完成绘图任务,如果我没有发出指定的绘画指令,则绘制出我发出的文字对应的图片: +2024-02-26 12:59:35,206 [INFO] - ========================================== +2024-02-26 12:59:35,206 [INFO] - GPTS 配置信息 +2024-02-26 12:59:35,207 [INFO] - 当前可用 GPTS 列表: ['gpt-4-s', 'gpt-4-mobile', 'dall-e-3', 'gpt-3.5-turbo'] +2024-02-26 12:59:35,207 [INFO] - ========================================== +2024-02-26 12:59:35,241 [INFO] - Added job "updateRefresh_run" to job store "default" +2024-02-26 12:59:35,248 [INFO] - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:5000 + * Running on http://10.210.5.157:5000 +2024-02-26 12:59:35,249 [INFO] - Press CTRL+C to quit +2024-02-26 12:59:39,090 [INFO] - New Request +2024-02-26 12:59:39,090 [INFO] - api_key: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJtb3N0cmFubmFzZWNhQG1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWV9LCJodHRwczovL2FwaS5vcGVuYWkuY29tL2F1dGgiOnsicG9pZCI6Im9yZy00RU03VkJXNWMxZzJ4dXVlWnZza1p3OEYiLCJ1c2VyX2lkIjoidXNlci1teXdCQmRSQjRIajdoWE5zRGtrcU52d3cifSwiaXNzIjoiaHR0cHM6Ly9hdXRoMC5vcGVuYWkuY29tLyIsInN1YiI6ImF1dGgwfDY0Y2YyYjlkMzUxNjBiYmIyMjdlYTVjZSIsImF1ZCI6WyJodHRwczovL2FwaS5vcGVuYWkuY29tL3YxIiwiaHR0cHM6Ly9vcGVuYWkub3BlbmFpLmF1dGgwYXBwLmNvbS91c2VyaW5mbyJdLCJpYXQiOjE3MDg4ODc2MDQsImV4cCI6MTcwOTc1MTYwNCwiYXpwIjoicGRsTElYMlk3Mk1JbDJyaExoVEU5VlY5Yk45MDVrQmgiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIG1vZGVsLnJlYWQgbW9kZWwucmVxdWVzdCBvcmdhbml6YXRpb24ucmVhZCBvZmZsaW5lX2FjY2VzcyJ9.G_NUDxpjZpfL0oiQ9Z_tw7VtsFr6MtBVnFhBHYhdVKN5fK-AiJM02tQZIGQijSavjV3EmqbgxpXblT7_6h65Uj71ybHJOaSOJtZulwW0WAKkYpwGy_0Fb9hJgpg0FS5lfFmzIg8WDmurqdgCuMDfNxnLuPGVBOdnA0RnxPTwXtoc0W3JHBVq6bS9kEQvi53H6uyo_JroZD_9_CsINUte57dB19asC85tH1L8luzsipa20zShVGNYm2fnSqhIWjfH1ZHFhSm2xW-oosKWPfKZYPHOtZsJupdXMjL5eB73FgEYAuGDICSlblMSFbKWYORCGGxNFU1-4eeIuTd1KjYgUQ +2024-02-26 12:59:42,776 [INFO] - Websocket connected +2024-02-26 12:59:42,776 [INFO] - model: gpt-4-gizmo-g-YL87j8C7S +2024-02-26 12:59:42,776 [ERROR] - error from callback .on_open at 0x0000018935BF9820>: 'NoneType' object has no attribute 'get' +2024-02-26 12:59:42,776 [ERROR] - 'NoneType' object has no attribute 'get' +2024-02-26 13:03:36,833 [INFO] - Scheduler started +2024-02-26 13:03:36,834 [INFO] - ========================================== +2024-02-26 13:03:36,834 [INFO] - No Proxy +2024-02-26 13:03:37,123 [INFO] - The ip you are using to access oai is: 2001:250:3007:8001:11f9:b200:1f2:e200 +2024-02-26 13:03:37,123 [INFO] - The location of this ip is: CN +2024-02-26 13:03:37,123 [INFO] - The colo is: HKG +2024-02-26 13:03:37,123 [INFO] - Is this ip a Warp ip: off +2024-02-26 13:03:37,123 [INFO] - ========================================== +2024-02-26 13:03:37,124 [INFO] - Version: 0.7.8 +2024-02-26 13:03:37,124 [INFO] - Update Info: 项目将脱离ninja,使用xyhelper,xyhelper_refreshToAccess_Url等配置需修改 +2024-02-26 13:03:37,124 [INFO] - LOG_LEVEL: INFO +2024-02-26 13:03:37,124 [INFO] - NEED_LOG_TO_FILE: True +2024-02-26 13:03:37,124 [INFO] - BOT_MODE_ENABLED: False +2024-02-26 13:03:37,124 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 13:03:37,124 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 13:03:37,124 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 13:03:37,124 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 13:03:37,124 [INFO] - STEAM_SLEEP_TIME: 0 +2024-02-26 13:03:37,124 [INFO] - upstream_base_url: https://ninja-play.fun +2024-02-26 13:03:37,124 [WARNING] - upstream_api_prefix is not set +2024-02-26 13:03:37,125 [WARNING] - backend_container_url 未设置,图片生成功能将无法正常使用 +2024-02-26 13:03:37,125 [INFO] - key_for_gpts_info: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJtb3N0cmFubmFzZWNhQG1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWV9LCJodHRwczovL2FwaS5vcGVuYWkuY29tL2F1dGgiOnsicG9pZCI6Im9yZy00RU03VkJXNWMxZzJ4dXVlWnZza1p3OEYiLCJ1c2VyX2lkIjoidXNlci1teXdCQmRSQjRIajdoWE5zRGtrcU52d3cifSwiaXNzIjoiaHR0cHM6Ly9hdXRoMC5vcGVuYWkuY29tLyIsInN1YiI6ImF1dGgwfDY0Y2YyYjlkMzUxNjBiYmIyMjdlYTVjZSIsImF1ZCI6WyJodHRwczovL2FwaS5vcGVuYWkuY29tL3YxIiwiaHR0cHM6Ly9vcGVuYWkub3BlbmFpLmF1dGgwYXBwLmNvbS91c2VyaW5mbyJdLCJpYXQiOjE3MDg4ODc2MDQsImV4cCI6MTcwOTc1MTYwNCwiYXpwIjoicGRsTElYMlk3Mk1JbDJyaExoVEU5VlY5Yk45MDVrQmgiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIG1vZGVsLnJlYWQgbW9kZWwucmVxdWVzdCBvcmdhbml6YXRpb24ucmVhZCBvZmZsaW5lX2FjY2VzcyJ9.G_NUDxpjZpfL0oiQ9Z_tw7VtsFr6MtBVnFhBHYhdVKN5fK-AiJM02tQZIGQijSavjV3EmqbgxpXblT7_6h65Uj71ybHJOaSOJtZulwW0WAKkYpwGy_0Fb9hJgpg0FS5lfFmzIg8WDmurqdgCuMDfNxnLuPGVBOdnA0RnxPTwXtoc0W3JHBVq6bS9kEQvi53H6uyo_JroZD_9_CsINUte57dB19asC85tH1L8luzsipa20zShVGNYm2fnSqhIWjfH1ZHFhSm2xW-oosKWPfKZYPHOtZsJupdXMjL5eB73FgEYAuGDICSlblMSFbKWYORCGGxNFU1-4eeIuTd1KjYgUQ +2024-02-26 13:03:37,125 [WARNING] - backend_container_api_prefix 未设置,安全性会有所下降 +2024-02-26 13:03:37,125 [INFO] - Chat 接口 URI: /v1/chat/completions +2024-02-26 13:03:37,125 [INFO] - 绘图接口 URI: /v1/images/generations +2024-02-26 13:03:37,125 [INFO] - need_delete_conversation_after_response: True +2024-02-26 13:03:37,125 [INFO] - use_oaiusercontent_url: False +2024-02-26 13:03:37,125 [INFO] - use_pandora_file_server: False +2024-02-26 13:03:37,125 [INFO] - custom_arkose_url: False +2024-02-26 13:03:37,125 [INFO] - DALLE_prompt_prefix: 请严格根据我的以下要求完成绘图任务,如果我没有发出指定的绘画指令,则绘制出我发出的文字对应的图片: +2024-02-26 13:03:37,125 [INFO] - ========================================== +2024-02-26 13:03:37,125 [INFO] - GPTS 配置信息 +2024-02-26 13:03:37,126 [INFO] - 当前可用 GPTS 列表: ['gpt-4-s', 'gpt-4-mobile', 'dall-e-3', 'gpt-3.5-turbo'] +2024-02-26 13:03:37,126 [INFO] - ========================================== +2024-02-26 13:03:37,161 [INFO] - Added job "updateRefresh_run" to job store "default" +2024-02-26 13:03:37,169 [INFO] - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:5000 + * Running on http://10.210.5.157:5000 +2024-02-26 13:03:37,169 [INFO] - Press CTRL+C to quit +2024-02-26 13:03:40,601 [INFO] - New Request +2024-02-26 13:03:40,602 [INFO] - api_key: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJtb3N0cmFubmFzZWNhQG1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWV9LCJodHRwczovL2FwaS5vcGVuYWkuY29tL2F1dGgiOnsicG9pZCI6Im9yZy00RU03VkJXNWMxZzJ4dXVlWnZza1p3OEYiLCJ1c2VyX2lkIjoidXNlci1teXdCQmRSQjRIajdoWE5zRGtrcU52d3cifSwiaXNzIjoiaHR0cHM6Ly9hdXRoMC5vcGVuYWkuY29tLyIsInN1YiI6ImF1dGgwfDY0Y2YyYjlkMzUxNjBiYmIyMjdlYTVjZSIsImF1ZCI6WyJodHRwczovL2FwaS5vcGVuYWkuY29tL3YxIiwiaHR0cHM6Ly9vcGVuYWkub3BlbmFpLmF1dGgwYXBwLmNvbS91c2VyaW5mbyJdLCJpYXQiOjE3MDg4ODc2MDQsImV4cCI6MTcwOTc1MTYwNCwiYXpwIjoicGRsTElYMlk3Mk1JbDJyaExoVEU5VlY5Yk45MDVrQmgiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIG1vZGVsLnJlYWQgbW9kZWwucmVxdWVzdCBvcmdhbml6YXRpb24ucmVhZCBvZmZsaW5lX2FjY2VzcyJ9.G_NUDxpjZpfL0oiQ9Z_tw7VtsFr6MtBVnFhBHYhdVKN5fK-AiJM02tQZIGQijSavjV3EmqbgxpXblT7_6h65Uj71ybHJOaSOJtZulwW0WAKkYpwGy_0Fb9hJgpg0FS5lfFmzIg8WDmurqdgCuMDfNxnLuPGVBOdnA0RnxPTwXtoc0W3JHBVq6bS9kEQvi53H6uyo_JroZD_9_CsINUte57dB19asC85tH1L8luzsipa20zShVGNYm2fnSqhIWjfH1ZHFhSm2xW-oosKWPfKZYPHOtZsJupdXMjL5eB73FgEYAuGDICSlblMSFbKWYORCGGxNFU1-4eeIuTd1KjYgUQ +2024-02-26 13:03:42,121 [INFO] - Websocket connected +2024-02-26 13:03:42,121 [INFO] - model: gpt-4-gizmo-g-YL87j8C7S +2024-02-26 13:03:42,122 [INFO] - asdasdasdsdsa +2024-02-26 13:03:42,122 [ERROR] - error from callback .on_open at 0x000001CFC8A49820>: 'NoneType' object has no attribute 'get' +2024-02-26 13:03:42,122 [ERROR] - 'NoneType' object has no attribute 'get' +2024-02-26 13:03:57,133 [INFO] - Scheduler started +2024-02-26 13:03:57,134 [INFO] - ========================================== +2024-02-26 13:03:57,134 [INFO] - No Proxy +2024-02-26 13:03:57,378 [INFO] - The ip you are using to access oai is: 2001:250:3007:8001:11f9:b200:1f2:e200 +2024-02-26 13:03:57,378 [INFO] - The location of this ip is: CN +2024-02-26 13:03:57,378 [INFO] - The colo is: HKG +2024-02-26 13:03:57,378 [INFO] - Is this ip a Warp ip: off +2024-02-26 13:03:57,378 [INFO] - ========================================== +2024-02-26 13:03:57,378 [INFO] - Version: 0.7.8 +2024-02-26 13:03:57,378 [INFO] - Update Info: 项目将脱离ninja,使用xyhelper,xyhelper_refreshToAccess_Url等配置需修改 +2024-02-26 13:03:57,378 [INFO] - LOG_LEVEL: INFO +2024-02-26 13:03:57,378 [INFO] - NEED_LOG_TO_FILE: True +2024-02-26 13:03:57,378 [INFO] - BOT_MODE_ENABLED: False +2024-02-26 13:03:57,378 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 13:03:57,378 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 13:03:57,378 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 13:03:57,379 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 13:03:57,379 [INFO] - STEAM_SLEEP_TIME: 0 +2024-02-26 13:03:57,379 [INFO] - upstream_base_url: https://ninja-play.fun +2024-02-26 13:03:57,379 [WARNING] - upstream_api_prefix is not set +2024-02-26 13:03:57,379 [WARNING] - backend_container_url 未设置,图片生成功能将无法正常使用 +2024-02-26 13:03:57,379 [INFO] - key_for_gpts_info: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJtb3N0cmFubmFzZWNhQG1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWV9LCJodHRwczovL2FwaS5vcGVuYWkuY29tL2F1dGgiOnsicG9pZCI6Im9yZy00RU03VkJXNWMxZzJ4dXVlWnZza1p3OEYiLCJ1c2VyX2lkIjoidXNlci1teXdCQmRSQjRIajdoWE5zRGtrcU52d3cifSwiaXNzIjoiaHR0cHM6Ly9hdXRoMC5vcGVuYWkuY29tLyIsInN1YiI6ImF1dGgwfDY0Y2YyYjlkMzUxNjBiYmIyMjdlYTVjZSIsImF1ZCI6WyJodHRwczovL2FwaS5vcGVuYWkuY29tL3YxIiwiaHR0cHM6Ly9vcGVuYWkub3BlbmFpLmF1dGgwYXBwLmNvbS91c2VyaW5mbyJdLCJpYXQiOjE3MDg4ODc2MDQsImV4cCI6MTcwOTc1MTYwNCwiYXpwIjoicGRsTElYMlk3Mk1JbDJyaExoVEU5VlY5Yk45MDVrQmgiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIG1vZGVsLnJlYWQgbW9kZWwucmVxdWVzdCBvcmdhbml6YXRpb24ucmVhZCBvZmZsaW5lX2FjY2VzcyJ9.G_NUDxpjZpfL0oiQ9Z_tw7VtsFr6MtBVnFhBHYhdVKN5fK-AiJM02tQZIGQijSavjV3EmqbgxpXblT7_6h65Uj71ybHJOaSOJtZulwW0WAKkYpwGy_0Fb9hJgpg0FS5lfFmzIg8WDmurqdgCuMDfNxnLuPGVBOdnA0RnxPTwXtoc0W3JHBVq6bS9kEQvi53H6uyo_JroZD_9_CsINUte57dB19asC85tH1L8luzsipa20zShVGNYm2fnSqhIWjfH1ZHFhSm2xW-oosKWPfKZYPHOtZsJupdXMjL5eB73FgEYAuGDICSlblMSFbKWYORCGGxNFU1-4eeIuTd1KjYgUQ +2024-02-26 13:03:57,379 [WARNING] - backend_container_api_prefix 未设置,安全性会有所下降 +2024-02-26 13:03:57,379 [INFO] - Chat 接口 URI: /v1/chat/completions +2024-02-26 13:03:57,379 [INFO] - 绘图接口 URI: /v1/images/generations +2024-02-26 13:03:57,379 [INFO] - need_delete_conversation_after_response: True +2024-02-26 13:03:57,379 [INFO] - use_oaiusercontent_url: False +2024-02-26 13:03:57,379 [INFO] - use_pandora_file_server: False +2024-02-26 13:03:57,379 [INFO] - custom_arkose_url: False +2024-02-26 13:03:57,380 [INFO] - DALLE_prompt_prefix: 请严格根据我的以下要求完成绘图任务,如果我没有发出指定的绘画指令,则绘制出我发出的文字对应的图片: +2024-02-26 13:03:57,380 [INFO] - ========================================== +2024-02-26 13:03:57,380 [INFO] - GPTS 配置信息 +2024-02-26 13:03:57,380 [INFO] - 当前可用 GPTS 列表: ['gpt-4-s', 'gpt-4-mobile', 'dall-e-3', 'gpt-3.5-turbo'] +2024-02-26 13:03:57,380 [INFO] - ========================================== +2024-02-26 13:03:57,418 [INFO] - Added job "updateRefresh_run" to job store "default" +2024-02-26 13:03:57,425 [INFO] - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:5000 + * Running on http://10.210.5.157:5000 +2024-02-26 13:03:57,425 [INFO] - Press CTRL+C to quit +2024-02-26 13:04:00,217 [INFO] - New Request +2024-02-26 13:04:00,217 [INFO] - api_key: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJtb3N0cmFubmFzZWNhQG1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWV9LCJodHRwczovL2FwaS5vcGVuYWkuY29tL2F1dGgiOnsicG9pZCI6Im9yZy00RU03VkJXNWMxZzJ4dXVlWnZza1p3OEYiLCJ1c2VyX2lkIjoidXNlci1teXdCQmRSQjRIajdoWE5zRGtrcU52d3cifSwiaXNzIjoiaHR0cHM6Ly9hdXRoMC5vcGVuYWkuY29tLyIsInN1YiI6ImF1dGgwfDY0Y2YyYjlkMzUxNjBiYmIyMjdlYTVjZSIsImF1ZCI6WyJodHRwczovL2FwaS5vcGVuYWkuY29tL3YxIiwiaHR0cHM6Ly9vcGVuYWkub3BlbmFpLmF1dGgwYXBwLmNvbS91c2VyaW5mbyJdLCJpYXQiOjE3MDg4ODc2MDQsImV4cCI6MTcwOTc1MTYwNCwiYXpwIjoicGRsTElYMlk3Mk1JbDJyaExoVEU5VlY5Yk45MDVrQmgiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIG1vZGVsLnJlYWQgbW9kZWwucmVxdWVzdCBvcmdhbml6YXRpb24ucmVhZCBvZmZsaW5lX2FjY2VzcyJ9.G_NUDxpjZpfL0oiQ9Z_tw7VtsFr6MtBVnFhBHYhdVKN5fK-AiJM02tQZIGQijSavjV3EmqbgxpXblT7_6h65Uj71ybHJOaSOJtZulwW0WAKkYpwGy_0Fb9hJgpg0FS5lfFmzIg8WDmurqdgCuMDfNxnLuPGVBOdnA0RnxPTwXtoc0W3JHBVq6bS9kEQvi53H6uyo_JroZD_9_CsINUte57dB19asC85tH1L8luzsipa20zShVGNYm2fnSqhIWjfH1ZHFhSm2xW-oosKWPfKZYPHOtZsJupdXMjL5eB73FgEYAuGDICSlblMSFbKWYORCGGxNFU1-4eeIuTd1KjYgUQ +2024-02-26 13:04:01,669 [INFO] - Websocket connected +2024-02-26 13:04:01,670 [INFO] - model: gpt-4-gizmo-g-YL87j8C7S +2024-02-26 13:04:01,670 [INFO] - asdasdasdsdsa +2024-02-26 13:04:01,670 [INFO] - 原模型名: gpt-4-gizmo-g-YL87j8C7S +2024-02-26 13:04:01,670 [INFO] - 原模型名: +2024-02-26 13:04:02,281 [INFO] - {'gizmo': {'id': 'g-YL87j8C7S', 'organization_id': 'org-2gVMdz2JRHTFmPRuqPyo4Rxq', 'short_url': 'g-YL87j8C7S-chao-qiang-logosheng-cheng-qi', 'author': {'user_id': 'user-YcCK6Wly0JLpjduWDXt32LNm', 'display_name': None, 'link_to': None, 'is_verified': False, 'selected_display': 'name', 'will_receive_support_emails': None, 'display_socials': []}, 'voice': {'id': 'ember'}, 'workspace_id': None, 'model': None, 'instructions': None, 'settings': None, 'display': {'name': '超强LOGO生成器', 'description': '灵感创作,无限抽卡(by 欧sir)', 'welcome_message': 'Hello', 'prompt_starters': ['logo生成器的使用方法'], 'profile_pic_id': None, 'profile_picture_url': 'https://files.oaiusercontent.com/file-YBNv2c4UR3QMgi6NEMauLL3n?se=2123-10-18T06%3A14%3A58Z&sp=r&sv=2021-08-06&sr=b&rscc=max-age%3D31536000%2C%20immutable&rscd=attachment%3B%20filename%3D5a876488-4407-4d18-9be9-f91392406e01.png&sig=5vtG14aI4yuJ8IL75zcEjllZ3QoGSzBqGODuDZU1PJU%3D', 'categories': []}, 'share_recipient': 'link', 'created_at': '2023-11-11T06:10:39.590028+00:00', 'updated_at': '2023-11-11T07:05:18.193676+00:00', 'last_interacted_at': None, 'num_interactions': None, 'tags': ['public', 'reportable'], 'version': None, 'live_version': None, 'training_disabled': None, 'sharing_targets': None, 'appeal_info': None, 'vanity_metrics': {'num_conversations': None, 'num_conversations_str': '1K+', 'num_pins': 0, 'created_ago_str': 'vor 3 Monaten', 'review_stats': {'total': 0, 'count': 0}}, 'workspace_approval_date': None, 'workspace_approved': None}, 'tools': [{'id': 'gzm_cnf_kCSXT8aMRAYFlsP3YRB5spY2~gzm_tool_crwjHZlzuYiGfzDdDJ9Wt9xN', 'type': 'python', 'settings': None, 'metadata': None}, {'id': 'gzm_cnf_kCSXT8aMRAYFlsP3YRB5spY2~gzm_tool_QZvaM9N9mrOHCT8MXc6YzfDZ', 'type': 'dalle', 'settings': None, 'metadata': None}, {'id': 'gzm_cnf_kCSXT8aMRAYFlsP3YRB5spY2~gzm_tool_WBupOpNyAeExLQwsBWCiqlWD', 'type': 'browser', 'settings': None, 'metadata': None}], 'files': [], 'product_features': {'attachments': {'type': 'retrieval', 'accepted_mime_types': ['application/msword', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'text/plain', 'text/x-ruby', 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'text/x-tex', 'text/x-c', 'text/markdown', 'text/x-sh', 'application/json', 'text/x-php', 'application/x-latext', 'text/html', 'text/x-c++', 'text/x-csharp', 'text/x-script.python', 'text/javascript', 'application/pdf', 'text/x-java', 'text/x-typescript'], 'image_mime_types': ['image/png', 'image/webp', 'image/jpeg', 'image/gif'], 'can_accept_all_mime_types': True}}} +2024-02-26 13:04:04,552 [ERROR] - error from callback .on_open at 0x00000187F5BB9820>: Error 11001 connecting to redis:6379. getaddrinfo failed. +2024-02-26 13:04:04,552 [ERROR] - Error 11001 connecting to redis:6379. getaddrinfo failed. +2024-02-26 13:06:41,872 [INFO] - New Request +2024-02-26 13:06:41,872 [INFO] - api_key: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJtb3N0cmFubmFzZWNhQG1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWV9LCJodHRwczovL2FwaS5vcGVuYWkuY29tL2F1dGgiOnsicG9pZCI6Im9yZy00RU03VkJXNWMxZzJ4dXVlWnZza1p3OEYiLCJ1c2VyX2lkIjoidXNlci1teXdCQmRSQjRIajdoWE5zRGtrcU52d3cifSwiaXNzIjoiaHR0cHM6Ly9hdXRoMC5vcGVuYWkuY29tLyIsInN1YiI6ImF1dGgwfDY0Y2YyYjlkMzUxNjBiYmIyMjdlYTVjZSIsImF1ZCI6WyJodHRwczovL2FwaS5vcGVuYWkuY29tL3YxIiwiaHR0cHM6Ly9vcGVuYWkub3BlbmFpLmF1dGgwYXBwLmNvbS91c2VyaW5mbyJdLCJpYXQiOjE3MDg4ODc2MDQsImV4cCI6MTcwOTc1MTYwNCwiYXpwIjoicGRsTElYMlk3Mk1JbDJyaExoVEU5VlY5Yk45MDVrQmgiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIG1vZGVsLnJlYWQgbW9kZWwucmVxdWVzdCBvcmdhbml6YXRpb24ucmVhZCBvZmZsaW5lX2FjY2VzcyJ9.G_NUDxpjZpfL0oiQ9Z_tw7VtsFr6MtBVnFhBHYhdVKN5fK-AiJM02tQZIGQijSavjV3EmqbgxpXblT7_6h65Uj71ybHJOaSOJtZulwW0WAKkYpwGy_0Fb9hJgpg0FS5lfFmzIg8WDmurqdgCuMDfNxnLuPGVBOdnA0RnxPTwXtoc0W3JHBVq6bS9kEQvi53H6uyo_JroZD_9_CsINUte57dB19asC85tH1L8luzsipa20zShVGNYm2fnSqhIWjfH1ZHFhSm2xW-oosKWPfKZYPHOtZsJupdXMjL5eB73FgEYAuGDICSlblMSFbKWYORCGGxNFU1-4eeIuTd1KjYgUQ +2024-02-26 13:06:43,465 [INFO] - Websocket connected +2024-02-26 13:06:43,465 [INFO] - model: gpt-4-mobile +2024-02-26 13:06:43,465 [INFO] - asdasdasdsdsa +2024-02-26 13:06:43,466 [INFO] - 原模型名: gpt-4-mobile +2024-02-26 13:06:43,466 [INFO] - 原模型名: gpt-4-mobile +2024-02-26 13:06:46,999 [ERROR] - 'NoneType' object has no attribute 'sock' +2024-02-26 13:06:46,999 [ERROR] - 'NoneType' object has no attribute 'sock' - goodbye +2024-02-26 13:06:47,000 [INFO] - 开始流式响应... +2024-02-26 13:06:47,000 [INFO] - 当前会话id: d39569f9-1722-449b-9cfe-f6d5645f3440 +2024-02-26 13:06:47,000 [INFO] - Send: +2024-02-26 13:06:47,000 [INFO] - Send: 我 +2024-02-26 13:06:47,001 [INFO] - Send: 是 +2024-02-26 13:06:47,001 [INFO] - Send: 基 +2024-02-26 13:06:47,001 [INFO] - Send: 于 +2024-02-26 13:06:47,001 [INFO] - Send: G +2024-02-26 13:06:47,001 [INFO] - Send: PT +2024-02-26 13:06:47,001 [INFO] - Send: - +2024-02-26 13:06:47,002 [INFO] - Send: 4 +2024-02-26 13:06:47,002 [INFO] - Send: 架 +2024-02-26 13:06:47,002 [INFO] - Send: 构 +2024-02-26 13:06:47,002 [INFO] - Send: 的 +2024-02-26 13:06:47,002 [INFO] - Send: 大 +2024-02-26 13:06:47,002 [INFO] - Send: 型 +2024-02-26 13:06:47,002 [INFO] - Send: 语 +2024-02-26 13:06:47,002 [INFO] - Send: 言 +2024-02-26 13:06:47,003 [INFO] - Send: 模 +2024-02-26 13:06:47,003 [INFO] - Send: 型 +2024-02-26 13:06:47,003 [INFO] - Send: , +2024-02-26 13:06:48,512 [INFO] - Send: 由 +2024-02-26 13:06:48,513 [INFO] - Send: Open +2024-02-26 13:06:48,513 [INFO] - Send: AI +2024-02-26 13:06:48,513 [INFO] - Send: 开 +2024-02-26 13:06:48,513 [INFO] - Send: 发 +2024-02-26 13:06:48,514 [INFO] - Send: 。 +2024-02-26 13:06:48,514 [INFO] - Send: G +2024-02-26 13:06:48,514 [INFO] - Send: PT +2024-02-26 13:06:48,514 [INFO] - Send: - +2024-02-26 13:06:48,514 [INFO] - Send: 4 +2024-02-26 13:06:48,514 [INFO] - Send: 是 +2024-02-26 13:06:48,514 [INFO] - Send: 生成 +2024-02-26 13:06:48,514 [INFO] - Send: 式 +2024-02-26 13:06:48,515 [INFO] - Send: 预 +2024-02-26 13:06:48,515 [INFO] - Send: 训 +2024-02-26 13:06:48,515 [INFO] - Send: 练 +2024-02-26 13:06:48,515 [INFO] - Send: 变 +2024-02-26 13:06:48,515 [INFO] - Send: 换 +2024-02-26 13:06:48,515 [INFO] - Send: 器 +2024-02-26 13:06:48,515 [INFO] - Send: ( +2024-02-26 13:06:48,515 [INFO] - Send: Gener +2024-02-26 13:06:48,516 [INFO] - Send: ative +2024-02-26 13:06:48,516 [INFO] - Send: Pre +2024-02-26 13:06:48,516 [INFO] - Send: -trained +2024-02-26 13:06:50,067 [INFO] - Send: Transformer +2024-02-26 13:06:50,067 [INFO] - Send: ) +2024-02-26 13:06:50,067 [INFO] - Send: 的 +2024-02-26 13:06:50,067 [INFO] - Send: 第 +2024-02-26 13:06:50,068 [INFO] - Send: 四 +2024-02-26 13:06:50,068 [INFO] - Send: 代 +2024-02-26 13:06:50,068 [INFO] - Send: , +2024-02-26 13:06:50,068 [INFO] - Send: 旨 +2024-02-26 13:06:50,068 [INFO] - Send: 在 +2024-02-26 13:06:50,068 [INFO] - Send: 理 +2024-02-26 13:06:50,068 [INFO] - Send: 解 +2024-02-26 13:06:50,068 [INFO] - Send: 和 +2024-02-26 13:06:50,069 [INFO] - Send: 生成 +2024-02-26 13:06:50,069 [INFO] - Send: 自 +2024-02-26 13:06:50,069 [INFO] - Send: 然 +2024-02-26 13:06:50,069 [INFO] - Send: 语 +2024-02-26 13:06:50,069 [INFO] - Send: 言 +2024-02-26 13:06:50,069 [INFO] - Send: 文 +2024-02-26 13:06:50,069 [INFO] - Send: 本 +2024-02-26 13:06:50,069 [INFO] - Send: 。 +2024-02-26 13:06:51,377 [INFO] - Send: G +2024-02-26 13:06:51,377 [INFO] - Send: PT +2024-02-26 13:06:51,377 [INFO] - Send: - +2024-02-26 13:06:51,378 [INFO] - Send: 4 +2024-02-26 13:06:51,378 [INFO] - Send: 通过 +2024-02-26 13:06:51,378 [INFO] - Send: 在 +2024-02-26 13:06:51,378 [INFO] - Send: 大 +2024-02-26 13:06:51,378 [INFO] - Send: 量 +2024-02-26 13:06:51,378 [INFO] - Send: 文 +2024-02-26 13:06:51,378 [INFO] - Send: 本 +2024-02-26 13:06:51,379 [INFO] - Send: 数据 +2024-02-26 13:06:51,379 [INFO] - Send: 上 +2024-02-26 13:06:51,379 [INFO] - Send: 的 +2024-02-26 13:06:51,379 [INFO] - Send: 预 +2024-02-26 13:06:51,379 [INFO] - Send: 训 +2024-02-26 13:06:51,379 [INFO] - Send: 练 +2024-02-26 13:06:51,379 [INFO] - Send: , +2024-02-26 13:06:52,682 [INFO] - Send: 学 +2024-02-26 13:06:52,682 [INFO] - Send: 习 +2024-02-26 13:06:52,682 [INFO] - Send: 了 +2024-02-26 13:06:52,683 [INFO] - Send: 语 +2024-02-26 13:06:52,683 [INFO] - Send: 言 +2024-02-26 13:06:52,683 [INFO] - Send: 的 +2024-02-26 13:06:52,683 [INFO] - Send: 广 +2024-02-26 13:06:52,683 [INFO] - Send: 泛 +2024-02-26 13:06:52,683 [INFO] - Send: 模 +2024-02-26 13:06:52,684 [INFO] - Send: 式 +2024-02-26 13:06:52,684 [INFO] - Send: 、 +2024-02-26 13:06:52,684 [INFO] - Send: 知 +2024-02-26 13:06:52,684 [INFO] - Send: 识 +2024-02-26 13:06:52,684 [INFO] - Send: 和 +2024-02-26 13:06:52,684 [INFO] - Send: 任务 +2024-02-26 13:06:52,684 [INFO] - Send: 特 +2024-02-26 13:06:53,843 [INFO] - Send: 定 +2024-02-26 13:06:53,843 [INFO] - Send: 技 +2024-02-26 13:06:53,844 [INFO] - Send: 能 +2024-02-26 13:06:53,844 [INFO] - Send: 。 +2024-02-26 13:06:53,844 [INFO] - Send: 这 +2024-02-26 13:06:53,844 [INFO] - Send: 使 +2024-02-26 13:06:53,844 [INFO] - Send: 得 +2024-02-26 13:06:53,845 [INFO] - Send: 我 +2024-02-26 13:06:53,845 [INFO] - Send: 能 +2024-02-26 13:06:53,845 [INFO] - Send: 够 +2024-02-26 13:06:53,845 [INFO] - Send: 回 +2024-02-26 13:06:53,845 [INFO] - Send: 答 +2024-02-26 13:06:53,845 [INFO] - Send: 问题 +2024-02-26 13:06:53,845 [INFO] - Send: 、 +2024-02-26 13:06:55,004 [INFO] - Send: 撰 +2024-02-26 13:06:55,004 [INFO] - Send: 写 +2024-02-26 13:06:55,004 [INFO] - Send: 文 +2024-02-26 13:06:55,005 [INFO] - Send: 本 +2024-02-26 13:06:55,005 [INFO] - Send: 、 +2024-02-26 13:06:55,005 [INFO] - Send: 翻 +2024-02-26 13:06:55,005 [INFO] - Send: 译 +2024-02-26 13:06:55,005 [INFO] - Send: 语 +2024-02-26 13:06:55,005 [INFO] - Send: 言 +2024-02-26 13:06:55,006 [INFO] - Send: 、 +2024-02-26 13:06:55,006 [INFO] - Send: 生成 +2024-02-26 13:06:55,006 [INFO] - Send: 代码 +2024-02-26 13:06:55,006 [INFO] - Send: 等 +2024-02-26 13:06:55,006 [INFO] - Send: 多 +2024-02-26 13:06:55,903 [INFO] - Send: 种 +2024-02-26 13:06:55,904 [INFO] - Send: 任务 +2024-02-26 13:06:55,904 [INFO] - Send: 。 +2024-02-26 13:06:55,904 [INFO] - Send: 我的 +2024-02-26 13:06:55,904 [INFO] - Send: 设计 +2024-02-26 13:06:55,904 [INFO] - Send: 使 +2024-02-26 13:06:55,905 [INFO] - Send: 我 +2024-02-26 13:06:55,905 [INFO] - Send: 能 +2024-02-26 13:06:55,905 [INFO] - Send: 够 +2024-02-26 13:06:55,905 [INFO] - Send: 理 +2024-02-26 13:06:55,905 [INFO] - Send: 解 +2024-02-26 13:06:55,905 [INFO] - Send: 和 +2024-02-26 13:06:56,754 [INFO] - Send: 生成 +2024-02-26 13:06:56,754 [INFO] - Send: 之 +2024-02-26 13:06:56,754 [INFO] - Send: 前 +2024-02-26 13:06:56,755 [INFO] - Send: 未 +2024-02-26 13:06:56,755 [INFO] - Send: 见 +2024-02-26 13:06:56,755 [INFO] - Send: 过 +2024-02-26 13:06:56,755 [INFO] - Send: 的 +2024-02-26 13:06:56,755 [INFO] - Send: 文 +2024-02-26 13:06:56,755 [INFO] - Send: 本 +2024-02-26 13:06:56,756 [INFO] - Send: , +2024-02-26 13:06:56,756 [INFO] - Send: 提 +2024-02-26 13:06:56,756 [INFO] - Send: 供 +2024-02-26 13:06:57,604 [INFO] - Send: 与 +2024-02-26 13:06:57,604 [INFO] - Send: 提 +2024-02-26 13:06:57,605 [INFO] - Send: 问 +2024-02-26 13:06:57,605 [INFO] - Send: 相关 +2024-02-26 13:06:57,605 [INFO] - Send: 的 +2024-02-26 13:06:57,605 [INFO] - Send: 信息 +2024-02-26 13:06:57,605 [INFO] - Send: 和 +2024-02-26 13:06:57,606 [INFO] - Send: 帮 +2024-02-26 13:06:57,606 [INFO] - Send: 助 +2024-02-26 13:06:57,606 [INFO] - Send: 。 +2024-02-26 13:06:57,684 [INFO] - 发送数据: data: [DONE] + + +2024-02-26 13:06:57,684 [INFO] - 会话结束 +2024-02-26 13:06:57,690 [INFO] - 完整消息: 我是基于GPT-4架构的大型语言模型,由OpenAI开发。GPT-4是生成式预训练变换器(Generative Pre-trained Transformer)的第四代,旨在理解和生成自然语言文本。GPT-4通过在大量文本数据上的预训练,学习了语言的广泛模式、知识和任务特定技能。这使得我能够回答问题、撰写文本、翻译语言、生成代码等多种任务。我的设计使我能够理解和生成之前未见过的文本,提供与提问相关的信息和帮助。 +2024-02-26 13:06:57,706 [INFO] - 接受到停止信号,停止数据处理线程-外层 +2024-02-26 13:06:58,154 [INFO] - 127.0.0.1 - - [26/Feb/2024 13:06:58] "POST /v1/chat/completions HTTP/1.1" 200 - +2024-02-26 13:07:00,610 [INFO] - Scheduler started +2024-02-26 13:07:00,611 [INFO] - ========================================== +2024-02-26 13:07:00,611 [INFO] - No Proxy +2024-02-26 13:07:01,128 [INFO] - The ip you are using to access oai is: 2001:250:3007:8001:11f9:b200:1f2:e200 +2024-02-26 13:07:01,128 [INFO] - The location of this ip is: CN +2024-02-26 13:07:01,129 [INFO] - The colo is: HKG +2024-02-26 13:07:01,129 [INFO] - Is this ip a Warp ip: off +2024-02-26 13:07:01,129 [INFO] - ========================================== +2024-02-26 13:07:01,129 [INFO] - Version: 0.7.8 +2024-02-26 13:07:01,129 [INFO] - Update Info: 项目将脱离ninja,使用xyhelper,xyhelper_refreshToAccess_Url等配置需修改 +2024-02-26 13:07:01,129 [INFO] - LOG_LEVEL: INFO +2024-02-26 13:07:01,129 [INFO] - NEED_LOG_TO_FILE: True +2024-02-26 13:07:01,129 [INFO] - BOT_MODE_ENABLED: False +2024-02-26 13:07:01,129 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 13:07:01,129 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 13:07:01,129 [INFO] - REFRESH_TOACCESS_ENABLEOAI: False +2024-02-26 13:07:01,129 [INFO] - REFRESH_TOACCESS_XYHELPER_REFRESHTOACCESS_URL: https://demo.xyhelper.cn/applelogin +2024-02-26 13:07:01,129 [INFO] - STEAM_SLEEP_TIME: 0 +2024-02-26 13:07:01,129 [INFO] - upstream_base_url: https://ninja-play.fun +2024-02-26 13:07:01,129 [WARNING] - upstream_api_prefix is not set +2024-02-26 13:07:01,130 [WARNING] - backend_container_url 未设置,图片生成功能将无法正常使用 +2024-02-26 13:07:01,130 [INFO] - key_for_gpts_info: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik1UaEVOVUpHTkVNMVFURTRNMEZCTWpkQ05UZzVNRFUxUlRVd1FVSkRNRU13UmtGRVFrRXpSZyJ9.eyJodHRwczovL2FwaS5vcGVuYWkuY29tL3Byb2ZpbGUiOnsiZW1haWwiOiJtb3N0cmFubmFzZWNhQG1haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWV9LCJodHRwczovL2FwaS5vcGVuYWkuY29tL2F1dGgiOnsicG9pZCI6Im9yZy00RU03VkJXNWMxZzJ4dXVlWnZza1p3OEYiLCJ1c2VyX2lkIjoidXNlci1teXdCQmRSQjRIajdoWE5zRGtrcU52d3cifSwiaXNzIjoiaHR0cHM6Ly9hdXRoMC5vcGVuYWkuY29tLyIsInN1YiI6ImF1dGgwfDY0Y2YyYjlkMzUxNjBiYmIyMjdlYTVjZSIsImF1ZCI6WyJodHRwczovL2FwaS5vcGVuYWkuY29tL3YxIiwiaHR0cHM6Ly9vcGVuYWkub3BlbmFpLmF1dGgwYXBwLmNvbS91c2VyaW5mbyJdLCJpYXQiOjE3MDg4ODc2MDQsImV4cCI6MTcwOTc1MTYwNCwiYXpwIjoicGRsTElYMlk3Mk1JbDJyaExoVEU5VlY5Yk45MDVrQmgiLCJzY29wZSI6Im9wZW5pZCBwcm9maWxlIGVtYWlsIG1vZGVsLnJlYWQgbW9kZWwucmVxdWVzdCBvcmdhbml6YXRpb24ucmVhZCBvZmZsaW5lX2FjY2VzcyJ9.G_NUDxpjZpfL0oiQ9Z_tw7VtsFr6MtBVnFhBHYhdVKN5fK-AiJM02tQZIGQijSavjV3EmqbgxpXblT7_6h65Uj71ybHJOaSOJtZulwW0WAKkYpwGy_0Fb9hJgpg0FS5lfFmzIg8WDmurqdgCuMDfNxnLuPGVBOdnA0RnxPTwXtoc0W3JHBVq6bS9kEQvi53H6uyo_JroZD_9_CsINUte57dB19asC85tH1L8luzsipa20zShVGNYm2fnSqhIWjfH1ZHFhSm2xW-oosKWPfKZYPHOtZsJupdXMjL5eB73FgEYAuGDICSlblMSFbKWYORCGGxNFU1-4eeIuTd1KjYgUQ +2024-02-26 13:07:01,130 [WARNING] - backend_container_api_prefix 未设置,安全性会有所下降 +2024-02-26 13:07:01,130 [INFO] - Chat 接口 URI: /v1/chat/completions +2024-02-26 13:07:01,130 [INFO] - 绘图接口 URI: /v1/images/generations +2024-02-26 13:07:01,130 [INFO] - need_delete_conversation_after_response: True +2024-02-26 13:07:01,130 [INFO] - use_oaiusercontent_url: False +2024-02-26 13:07:01,130 [INFO] - use_pandora_file_server: False +2024-02-26 13:07:01,130 [INFO] - custom_arkose_url: False +2024-02-26 13:07:01,130 [INFO] - DALLE_prompt_prefix: 请严格根据我的以下要求完成绘图任务,如果我没有发出指定的绘画指令,则绘制出我发出的文字对应的图片: +2024-02-26 13:07:01,130 [INFO] - ========================================== +2024-02-26 13:07:01,130 [INFO] - GPTS 配置信息 +2024-02-26 13:07:01,131 [INFO] - 当前可用 GPTS 列表: ['gpt-4-s', 'gpt-4-mobile', 'dall-e-3', 'gpt-3.5-turbo'] +2024-02-26 13:07:01,131 [INFO] - ========================================== +2024-02-26 13:07:01,169 [INFO] - Added job "updateRefresh_run" to job store "default" +2024-02-26 13:07:01,176 [INFO] - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:5000 + * Running on http://10.210.5.157:5000 +2024-02-26 13:07:01,176 [INFO] - Press CTRL+C to quit diff --git a/main.py b/main.py index 8d94088..82abc8b 100644 --- a/main.py +++ b/main.py @@ -255,7 +255,7 @@ def fetch_gizmo_info(base_url, proxy_api_prefix, model_id): # 灏嗛厤缃坊鍔犲埌鍏ㄥ眬鍒楄〃 def add_config_to_global_list(base_url, proxy_api_prefix, gpts_data): global gpts_configurations - updateGptsKey() + updateGptsKey() # cSpell:ignore Gpts # print(f"gpts_data: {gpts_data}") for model_name, model_info in gpts_data.items(): # print(f"model_name: {model_name}") @@ -276,17 +276,15 @@ def add_config_to_global_list(base_url, proxy_api_prefix, gpts_data): if gizmo_info: redis_client.set(model_id, str(gizmo_info)) logger.info(f"Cached gizmo info for {model_name}, {model_id}") - - if gizmo_info: - # 妫鏌ユā鍨嬪悕绉版槸鍚﹀凡缁忓湪鍒楄〃涓 - if not any(d['name'] == model_name for d in gpts_configurations): - gpts_configurations.append({ - 'name': model_name, - 'id': model_id, - 'config': gizmo_info - }) - else: - logger.info(f"Model already exists in the list, skipping...") + # 妫鏌ユā鍨嬪悕绉版槸鍚﹀凡缁忓湪鍒楄〃涓 + if not any(d['name'] == model_name for d in gpts_configurations): + gpts_configurations.append({ + 'name': model_name, + 'id': model_id, + 'config': gizmo_info + }) + else: + logger.info(f"Model already exists in the list, skipping...") def generate_gpts_payload(model, messages): @@ -864,9 +862,13 @@ def send_text_prompt_and_get_response(messages, api_key, stream, model): # 鏌ユ壘妯″瀷閰嶇疆 model_config = find_model_config(model) - if model_config: + if model_config or 'gpt-4-gizmo-' in model: # 妫鏌ユ槸鍚︽湁 ori_name - ori_model_name = model_config.get('ori_name', model) + if model_config: + ori_model_name = model_config.get('ori_name', model) + else: + ori_model_name = model + logger.info(f"鍘熸ā鍨嬪悕: {model}") logger.info(f"鍘熸ā鍨嬪悕: {ori_model_name}") if ori_model_name == 'gpt-4-s': payload = { @@ -918,6 +920,33 @@ def send_text_prompt_and_get_response(messages, api_key, stream, model): "force_paragen": False, "force_rate_limit": False } + elif 'gpt-4-gizmo-' in model: + payload = generate_gpts_payload(model, formatted_messages) + if not payload: + global gpts_configurations + # 鍋囪 model鏄 'gpt-4-gizmo-123' + split_name = model.split('gpt-4-gizmo-') + model_id = split_name[1] if len(split_name) > 1 else None + gizmo_info = fetch_gizmo_info(BASE_URL, PROXY_API_PREFIX, model_id) + logging.info(gizmo_info) + + # 濡傛灉鎴愬姛鑾峰彇鍒版暟鎹紝鍒欏皢鍏跺瓨鍏 Redis + if gizmo_info: + redis_client.set(model_id, str(gizmo_info)) + logger.info(f"Cached gizmo info for {model}, {model_id}") + # 妫鏌ユā鍨嬪悕绉版槸鍚﹀凡缁忓湪鍒楄〃涓 + if not any(d['name'] == model for d in gpts_configurations): + gpts_configurations.append({ + 'name': model, + 'id': model_id, + 'config': gizmo_info + }) + else: + logger.info(f"Model already exists in the list, skipping...") + payload = generate_gpts_payload(model, formatted_messages) + else: + raise Exception('KEY_FOR_GPTS_INFO is not accessible') + else: payload = generate_gpts_payload(model, formatted_messages) if not payload: @@ -2248,7 +2277,7 @@ def chat_completions(): messages = data.get('messages') model = data.get('model') accessible_model_list = get_accessible_model_list() - if model not in accessible_model_list: + if model not in accessible_model_list and not 'gpt-4-gizmo-' in model: return jsonify({"error": "model is not accessible"}), 401 stream = data.get('stream', False) @@ -2410,7 +2439,7 @@ def images_generations(): # messages = data.get('messages') model = data.get('model') accessible_model_list = get_accessible_model_list() - if model not in accessible_model_list: + if model not in accessible_model_list and not 'gpt-4-gizmo-' in model: return jsonify({"error": "model is not accessible"}), 401 prompt = data.get('prompt', '')