Hello
I use a CB Code autoaction to securely connect to a php file including a call to openAI API
Action : include_once(JPATH_ROOT . '/ahatools/activations/assets/OpenAiCB.php');
The autoaction is configured to output the result of the file with the following lines
Output : PHP
header('Content-type: text/event-stream');
header('Cache-Control: no-cache');
The autoaction seems to work fine by getting the data from the php file but it does not seem to be streamed as everything is received in one shot.
Does autoactions support stream ? would they stream the output to the html this way ?
Thanks for your ideas