I too am getting this problem this is my error
"Thread #1 : Error occurred : Failed to get page http://ip.bablosoft.com/?requestid=88198 with HttpClient"
It seems I keep sending GET requests but am getting nothing in return. Is this just a temporary bug on bablosofts side? or is it a fixable error on my side, let me know what you guys think
GET OPENAI response problem
-
Hi, I've been working on this for 2 days, I can connect to OpenAI but I can't get the final response in [[RISPOSTA_FINALE]]. Can you please help me?
// Invio della richiesta
var response = httpRequest("POST", "https://api.openai.com/v1/chat/completions", request, JSON.stringify(body));// Verifica la risposta
if (response.status == 200) {
var jsonResponse = JSON.parse(response.text);// Estrai il contenuto della risposta var responseResult = jsonResponse.choices[0].message.content; // Salva il risultato nella variabile di output SetVariable("RISPOSTA_FINALE", responseResult); // Logga la risposta per debug log(responseResult);} else {
// Gestione degli errori
log(Errore: ${response.status} - ${response.text});
}