Aggiornare il nostro servizio commerciale Bot Libre for Business per soltanto $4.99 al mese
Bot Libre Forum : Automating your Mobile Presence with a Telegram Bot

RE: Automating your Mobile Presence with a Telegram Bot

da admin postato May 17 2023, 8:57

The issue is the quote is being sent in the HTTP request inside the JSON object.

I fixed the script in your bot Chatter to add,

input.toString().replace('"', '\"')
>>
json.messages.add({"role":"user", "content":(conversation.getLast(#input, 1)).input.toString().replace('"', '\"')});

This will fix it for now. We will also update our HTTP code to automatically escape quotes for all JSON objects.


Id: 47503688
Postato: May 17 2023, 8:57
Risposte: 0
Vista: 621, oggi: 1, settimana: 3, mese: 56
0 0 0.0/5