From 339db1a2a0b82234083c6ac95429fae7f8f6f8c1 Mon Sep 17 00:00:00 2001 From: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com> Date: Tue, 17 Dec 2024 13:46:32 +0000 Subject: [PATCH] fix fstring syntax error --- autogen/agentchat/contrib/reasoning_agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen/agentchat/contrib/reasoning_agent.py b/autogen/agentchat/contrib/reasoning_agent.py index 2d1e62f6aa..d1d735b4b2 100644 --- a/autogen/agentchat/contrib/reasoning_agent.py +++ b/autogen/agentchat/contrib/reasoning_agent.py @@ -383,7 +383,7 @@ def generate_forest_response(self, messages, sender, config=None): return True, forest_answers[0] else: self.send( - message=f"Answer the question {prompt}. Here are some students' different answers:\n{"\n-".join(forest_answers)}", + message=f"Answer the question {prompt}. Here are some students' different answers:\n{{'\n-'.join(forest_answers)}}", recipient=self, request_reply=True, silent=not self._verbose,