We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f826bb commit 1611144Copy full SHA for 1611144
1 file changed
soc-ai/gpt/client.go
@@ -58,6 +58,9 @@ func (c *GPTClient) Request(alert schema.AlertGPTDetails) (string, error) {
58
},
59
}
60
61
+ // Debug log
62
+ utils.Logger.Info("GPT Request: %s", req.Messages[0].Content)
63
+
64
requestJson, error := json.Marshal(req)
65
if error != nil {
66
return "", fmt.Errorf("error marshalling request: %v", error)
0 commit comments