parser

Написать ответ на текущее сообщение

 

 
   команды управления поиском

судя по всему надо чтото еще для "x-www-form-urlencoded"

AK666 26.09 02:26 / 26.09 02:31

  $options.safety_identifier[aiFreight]


  $options.[input[0][role]][system]
  $options.[input[0][content][0][type]][input_text]
  $options.[input[0][content][0][text]][$oGPT.SystemText]

  $options.[input[1][role]][user]
  $options.[input[1][content][0][type]][input_text]
  $options.[input[1][content][0][text]][$oGPT.Prompt]
  $options.[input[1][content][1][type]][input_file]
  $options.[input[1][content][1][file][]][^file::load[binary;$eMAIL]]

  $options.[text[format][type]][json_object]

  ^curl:session{
    $curlResult[^curl:load[
      $.url[^taint[as-is][$oGPT.URI]]
      $.ssl_verifypeer(false)
      $.connecttimeout(3000)
      $.timeout(3000)
      $.fresh_connect(true)
      $.mode[text]

      $.post(1)
      $.httpheader[
        $.Authorization[Bearer ^taint[as-is][$oGPT.KEY]]
#        $.content-type[application/json]
#        $.content-type[multipart/form-data] ^rem{ unsupported }
        $.content-type[application/x-www-form-urlencoded]
        $.charset[UTF-8]
      ]
#      $.postfields[^array2json[$options][$.one-line(true)]]
      $.httppost[^hash::create[$options]]
    ]]
"comment":"Invalid parameter: ' keep it human-readable and clean\r\n--------------------------cb85d4e3d3323fac\r\nContent-Disposition: form-data'. Expected parameters to be of the form 'key=value', 'key[]=value', 'key[$index]=value', or 'key[subkey]=value'.",
PS:
блин, на точку с запятой реагирует :(

в systemText
and formatting noise; keep it human-readable and clean
и что делать ? запретить в тексте точки с запятой ?