删除不必要代码

This commit is contained in:
w_xiaolizu
2023-06-06 12:40:09 +08:00
parent a2c02636fa
commit b8455d9acb

View File

@ -374,7 +374,6 @@ def prompt_retrieval(is_all, hosts='', search=False):
返回一个列表
"""
count_dict = {}
user_path = os.path.join(prompt_path, f'prompt_{hosts}.yaml')
if '所有人' in is_all:
for tab in SqliteHandle('ai_common').get_tables():
if tab.startswith('prompt'):