remove get_template function

This commit is contained in:
geekan 2023-12-30 00:42:26 +08:00
parent 0789f2c109
commit 907cf5bebc
2 changed files with 0 additions and 23 deletions

View file

@ -89,9 +89,6 @@ class WriteTasks(Action):
async def _run_new_tasks(self, context, schema=CONFIG.prompt_schema):
node = await PM_NODE.fill(context, self.llm, schema)
# prompt_template, format_example = get_template(templates, format)
# prompt = prompt_template.format(context=context, format_example=format_example)
# rsp = await self._aask_v1(prompt, "task", OUTPUT_MAPPING, format=format)
return node
async def _merge(self, system_design_doc, task_doc, schema=CONFIG.prompt_schema) -> Document: