escape curly braces

This commit is contained in:
Nate Sesti 2023-08-01 23:37:22 -07:00
parent dc2b90d848
commit 6d7507e6a7

View file

@ -42,7 +42,7 @@ class CommitMessageStep(Step):
# Ask the LLM to write a commit message,
# and set it as the description of this step
self.description = await sdk.models.default.complete(
f"{diff}\n\nWrite a short, specific (less than 50 chars) commit message about the above changes:")
f"\{diff\}\n\nWrite a short, specific (less than 50 chars) commit message about the above changes:")
config = ContinueConfig(