From 208b3c20221ea6f094385bd3bb76cc91aae12967 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 22 Jun 2023 18:33:22 -0700 Subject: [PATCH] handle non-func replies --- aider/coders/wholefile_func_coder.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aider/coders/wholefile_func_coder.py b/aider/coders/wholefile_func_coder.py index 96048b8e3..d7596a638 100644 --- a/aider/coders/wholefile_func_coder.py +++ b/aider/coders/wholefile_func_coder.py @@ -58,6 +58,9 @@ class WholeFileFunctionCoder(Coder): self.cur_messages += [dict(role="assistant", content=content)] def render_incremental_response(self, final=False): + if self.partial_response_content: + return self.partial_response_content + args = self.parse_partial_args() if not args: