Limour commited on
Commit
3d5fff1
1 Parent(s): f2bdb24

Upload load_cache.py

Browse files
Files changed (1) hide show
  1. mods/load_cache.py +1 -1
mods/load_cache.py CHANGED
@@ -41,7 +41,7 @@ def init(cfg):
41
  cfg['text_format'](cfg['role_chat_style'].value,
42
  char=cfg['role_char'].value,
43
  user=cfg['role_usr'].value))
44
- cfg['setting_n_keep'].value += cfg['model'].eval_t(tmp) # 此内容永久存在
45
 
46
  # ========== 加载角色卡-第一条消息 ==========
47
  cfg['chatbot'] = []
 
41
  cfg['text_format'](cfg['role_chat_style'].value,
42
  char=cfg['role_char'].value,
43
  user=cfg['role_usr'].value))
44
+ cfg['setting_n_keep'].value = cfg['model'].eval_t(tmp) # 此内容永久存在
45
 
46
  # ========== 加载角色卡-第一条消息 ==========
47
  cfg['chatbot'] = []