From 3be5980214b783a8e2df6bd9862517bfd8d2d22e Mon Sep 17 00:00:00 2001 From: femto Date: Sat, 9 Sep 2023 20:25:24 +0800 Subject: [PATCH] ActionOutput use extracted_content --- metagpt/actions/action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metagpt/actions/action.py b/metagpt/actions/action.py index 3f46b1e31..90c7d59ff 100644 --- a/metagpt/actions/action.py +++ b/metagpt/actions/action.py @@ -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"""