refactor: think

This commit is contained in:
莘权 马 2023-09-06 10:17:21 +08:00
parent 04231088c7
commit ac211ae3a6

View file

@ -63,7 +63,7 @@ class Assistant(Role):
)
logger.info(prompt)
rsp = await self._llm.aask(prompt, [])
logger.info(rsp)
logger.info(f"THINK: {prompt}\n, THINK RESULT: {rsp}\n")
return await self._plan(rsp, last_talk=last_talk)
async def act(self) -> ActionOutput: