ActionOutput use extracted_content

This commit is contained in:
femto 2023-09-09 20:25:24 +08:00
parent 6df217e4d9
commit 3be5980214

View file

@ -89,7 +89,7 @@ class Action(ABC):
parsed_data = CustomDecoder(strict=False).decode(extracted_content)
logger.debug(parsed_data)
instruct_content = output_class(**parsed_data)
return ActionOutput(content, instruct_content)
return ActionOutput(extracted_content, instruct_content)
async def run(self, *args, **kwargs):
"""Run action"""