From e3987bdda1ab24b719cbdcf4800b28b85cb3a68d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Wed, 11 Sep 2024 21:42:54 +0200 Subject: [PATCH] fix: fixed formatting in tools/base.py --- gptme/tools/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gptme/tools/base.py b/gptme/tools/base.py index 19218c89..39bba6d3 100644 --- a/gptme/tools/base.py +++ b/gptme/tools/base.py @@ -121,7 +121,8 @@ def to_output(self) -> str: return self.to_xml() def to_markdown(self) -> str: - return f"```{self.tool} {"".join(self.args)}\n{self.content}\n```" + args = " ".join(self.args) + return f"```{self.tool} {args}\n{self.content}\n```" def to_xml(self) -> str: args = " ".join(self.args)