Trim space when generating title

This commit is contained in:
Matt Low 2024-05-19 02:59:16 +00:00
parent 1bd953676d
commit b82f3019f0

View File

@ -186,6 +186,7 @@ Title: A brief introduction
response = strings.TrimPrefix(response, "Title: ")
response = strings.Trim(response, "\"")
response = strings.TrimSpace(response)
return response, nil
}