feat: add url for alvatar augmented quiz
All checks were successful
Deploy / CreateImage (push) Successful in 2m18s
Deploy / DeployService (push) Successful in 21s

This commit is contained in:
skeris 2025-06-29 21:20:39 +03:00
parent 9011c24b2f
commit bb489ee5da
2 changed files with 3 additions and 1 deletions

@ -154,7 +154,7 @@ func New(ctx context.Context, opts interface{}, ver appInit.Version) (appInit.Co
WorkerRespondentCh: workerRespondentCh,
Encrypt: encrypt,
RedirectURl: options.RedirectURL,
AiClient: clients.NewAiClient("http://35.206.94.7:80/api/engine/generate_question_by_answer/"),
AiClient: clients.NewAiClient("https://alvatar.com/api/engine/send_answer/"),
})
saveRespWcData := savewc.DepsForResp{

@ -35,7 +35,9 @@ func (client *AIClient) SendAnswerer(final bool, tipe, message, session string)
//}
clownRequest := struct {
Title string `json:"title"`
Text string `json:"text"`
Final bool `json:"is_final"`
}{
Text: message,
}