યજમાન તમારા પોતાના બોટ પ્લેટફોર્મ સાથે આ બોટ કાવ્ય Enterprise બોટ પ્લેટફોર્મ
Bot Libre Forum : Automating your Mobile Presence with a Telegram Bot

RE: Automating your Mobile Presence with a Telegram Bot

દ્વારા admin પોસ્ટ 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.


ને: 47503688
પોસ્ટ: May 17 2023, 8:57
જવાબો: 0
જોવાઈ: 472, આજે: 4, સપ્તાહ: 4, મહિને: 19
0 0 0.0/5