fix: request new question now get session
All checks were successful
Deploy / CreateImage (push) Successful in 2m7s
Deploy / DeployService (push) Successful in 24s

This commit is contained in:
skeris 2025-06-30 14:40:51 +03:00
parent bb489ee5da
commit 09c701eb5b

@ -35,11 +35,14 @@ func (client *AIClient) SendAnswerer(final bool, tipe, message, session string)
//}
clownRequest := struct {
Title string `json:"title"`
Text string `json:"text"`
Tipe string `json:"type"`
Text string `json:"message"`
Final bool `json:"is_final"`
Session string `json:"string"`
}{
Tipe: "text",
Text: message,
Session: session,
}
body, err := json.Marshal(clownRequest)