Skip to content

Commit

Permalink
fix: fixed incorrectly nested string in f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Oct 10, 2024
1 parent 018e6ff commit 4aa3f2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gptme/tools/gh.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4aa3f2d

Please sign in to comment.