remove full err from msg

This commit is contained in:
unintendedfraud
2025-12-26 09:41:00 +01:00
parent 41a0adc3d6
commit 5cebbb070b
+1 -1
View File
@@ -53,7 +53,7 @@ func (client Client) GenerateContent(message string) (string, error) {
body, err := io.ReadAll(res.Body)
if res.StatusCode != 200 {
return "", fmt.Errorf("LLM returned status code [%d]: %s", res.StatusCode, string(body))
return "", fmt.Errorf("LLM returned status code [%d]", res.StatusCode)
}
if err != nil {