diff --git a/llm/client.go b/llm/client.go index 41ca3c6..9788ace 100644 --- a/llm/client.go +++ b/llm/client.go @@ -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 {