Fix bugs.

This commit is contained in:
Liu Zhicong
2023-12-31 00:20:48 -08:00
parent 29594c0319
commit b6395c2195
6 changed files with 40 additions and 9 deletions
+2 -1
View File
@@ -522,7 +522,8 @@ class ReviewTaskProcess(BaseLLMProcess):
if await super().load_from_config(config) is False:
return False
async def prepare_prompt(self) -> LLMPrompt:
async def prepare_prompt(self,input:Dict) -> LLMPrompt:
agent_task = input.get("task")
prompt = LLMPrompt()
system_prompt_dict = {}
system_prompt_dict["role_description"] = self.role_description