Skip to content

Commit e3987bd

Browse files
committed
fix: fixed formatting in tools/base.py
1 parent d4667b8 commit e3987bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gptme/tools/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ def to_output(self) -> str:
121121
return self.to_xml()
122122

123123
def to_markdown(self) -> str:
124-
return f"```{self.tool} {"".join(self.args)}\n{self.content}\n```"
124+
args = " ".join(self.args)
125+
return f"```{self.tool} {args}\n{self.content}\n```"
125126

126127
def to_xml(self) -> str:
127128
args = " ".join(self.args)

0 commit comments

Comments
 (0)