From 1170a9e3bcb754ca5d2221ee9dcf854aec408397 Mon Sep 17 00:00:00 2001 From: unintendedfraud Date: Sun, 7 May 2023 18:09:42 +0200 Subject: [PATCH] please linter --- openai/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openai/client.go b/openai/client.go index 88e2a2c..8788a72 100644 --- a/openai/client.go +++ b/openai/client.go @@ -50,7 +50,7 @@ func (c Client) Completions(prompt string) (*CompletionResponse, error) { } func cleanPrompt(p string) string { - regex := regexp.MustCompile("<@\\d+>") + regex := regexp.MustCompile(`<@\d+>`) return regex.ReplaceAllString(p, "") }