From 4aa3f2da5c7a940940e0043d4f9b7129183ab7cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Thu, 10 Oct 2024 11:53:24 +0200 Subject: [PATCH] fix: fixed incorrectly nested string in f-string --- gptme/tools/gh.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gptme/tools/gh.py b/gptme/tools/gh.py index 4228003b..0d72fe9c 100644 --- a/gptme/tools/gh.py +++ b/gptme/tools/gh.py @@ -12,10 +12,10 @@ def has_gh_tool() -> bool: examples = f""" > User: create a public repo from the current directory, and push. Note that --confirm and -y are deprecated, and no longer needed. > Assistant: -{ToolUse("shell", [], """ +{ToolUse("shell", [], ''' REPO=$(basename $(pwd)) gh repo create $REPO --public --source . --push -""").to_output()} +''').to_output()} > User: show issues > Assistant: