please linter

This commit is contained in:
unintendedfraud
2023-05-07 18:09:42 +02:00
parent b257801c0a
commit 1170a9e3bc
+1 -1
View File
@@ -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, "")
}