feat: 允许通过前缀指定使用的JSON情景

This commit is contained in:
Rock Chin
2023-03-10 23:49:41 +08:00
parent 54cc75506f
commit e9155e836f
2 changed files with 22 additions and 12 deletions

View File

@@ -182,6 +182,7 @@ def main(first_time_init=False):
import pkg.openai.dprompt
pkg.openai.dprompt.read_prompt_from_file()
pkg.openai.dprompt.read_scenario_from_file()
pkg.utils.context.context['logger_handler'] = sh
# 主启动流程