true,CURLOPT_POST=>true,CURLOPT_TIMEOUT=>10,CURLOPT_SSL_VERIFYPEER=>false, CURLOPT_HTTPHEADER=>["Content-Type: application/json","Authorization: Bearer $key"], CURLOPT_POSTFIELDS=>json_encode(["model"=>"llama-3.3-70b-versatile","messages"=>[["role"=>"user","content"=>"reponds juste OK"]],"max_tokens"=>10,"temperature"=>0])]); $r=curl_exec($ch);$code=curl_getinfo($ch,CURLINFO_HTTP_CODE);$err=curl_error($ch); $d=json_decode($r,true); echo json_encode(["code"=>$code,"error"=>$err,"content"=>$d["choices"][0]["message"]["content"]??"","raw"=>substr($r,0,200)]); ?>