You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ERROR][2024-06-20 17:09:51][config.py:257] - can only concatenate list (not "str") to list
Traceback (most recent call last):
File "/app/config.py", line 254, in drag_sensitive
config_copy[key] = config_copy[key][0:3] + "*" * 5 + config_copy[key][-3:]
TypeError: can only concatenate list (not "str") to list
[ERROR][2024-06-20 17:09:51][config.py:257] - can only concatenate list (not "str") to list
Traceback (most recent call last):
File "/app/config.py", line 254, in drag_sensitive
config_copy[key] = config_copy[key][0:3] + "*" * 5 + config_copy[key][-3:]
TypeError: can only concatenate list (not "str") to list
The text was updated successfully, but these errors were encountered:
前置确认
操作系统类型?
Docker
运行的python版本是?
python 3.7
使用的chatgpt-on-wechat版本是?
Latest Release
运行的
channel
类型是?wechatmp(公众号, 订阅号)
复现步骤 🕹
[ERROR][2024-06-20 17:09:51][config.py:257] - can only concatenate list (not "str") to list
Traceback (most recent call last):
File "/app/config.py", line 254, in drag_sensitive
config_copy[key] = config_copy[key][0:3] + "*" * 5 + config_copy[key][-3:]
TypeError: can only concatenate list (not "str") to list
启动报上面的错误
配置文件是这么写的
environment:
TZ: 'Asia/Shanghai'
USE_GLOBAL_PLUGIN_CONFIG: True
# OpenAI配置
OPEN_AI_API_KEY: 'sk-xxxxxxxx'
问题描述 😯
应该是没考虑到KEY的值是一个字符串,而不是一个列表,配置文件中有很多KEY
终端日志 📒
The text was updated successfully, but these errors were encountered: