Skip to content

Commit

Permalink
fix fstring syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Hk669 committed Dec 17, 2024
1 parent bba250b commit 339db1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogen/agentchat/contrib/reasoning_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 339db1a

Please sign in to comment.