Skip to content

Commit

Permalink
fix: fixed formatting in tools/base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Sep 11, 2024
1 parent d4667b8 commit e3987bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gptme/tools/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e3987bd

Please sign in to comment.