From 204cda844fba774910baaa21417a40c9ae8171d8 Mon Sep 17 00:00:00 2001 From: stellahsr Date: Thu, 7 Dec 2023 19:22:19 +0800 Subject: [PATCH] fix typo --- metagpt/actions/write_analysis_code.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metagpt/actions/write_analysis_code.py b/metagpt/actions/write_analysis_code.py index c8a28edd1..957d35f7e 100644 --- a/metagpt/actions/write_analysis_code.py +++ b/metagpt/actions/write_analysis_code.py @@ -192,7 +192,7 @@ class WriteCodeWithTools(BaseWriteAnalysisCode): output_desc = TOOL_OUTPUT_DESC.get(task_type, "") hist_info = f"Previous finished code is \n\n ```Python {final_code} ``` \n\n " \ - f"Conde runtime result is {result} \n\n" + f"Runtime result is {result} \n\n" prompt = TOOL_USAGE_PROMPT.format( goal=plan.current_task.instruction, @@ -213,7 +213,7 @@ class WriteCodeWithTools(BaseWriteAnalysisCode): else: hist_info = f"Previous finished code is \n\n ```Python {code_context} ``` \n\n " \ - f"Conde runtime result is {result} \n\n" + f"runtime result is {result} \n\n" prompt = GENERATE_CODE_PROMPT.format( goal=plan.current_task.instruction,