mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-27 16:04:21 +00:00
feat: 改为在main流程中读取文件中的情景预设
This commit is contained in:
@@ -72,5 +72,3 @@ def get_prompt(name: str = None) -> str:
|
||||
return default_dict[key]
|
||||
|
||||
raise KeyError("未找到情景预设: " + name)
|
||||
|
||||
read_prompt_from_file()
|
||||
|
||||
Reference in New Issue
Block a user