- Issue created by @ayrmax
- 🇮🇳India Vivek Panicker Kolkata
To add to this, I find that this happens mainly for Anonymous users.
The issue happens here .
The form response is already set and after that the$http_response->setCallback`
is executed.
When using streamed output with the "Allow History" option enabled in the Assistant, and the user is anonymous, an error occurs in the streamed message output. The error details are as follows:
Failed to start the session because headers have already been sent by "/var/www/html/web/modules/contrib/ai/modules/ai_chatbot/src/Form/ChatForm.php" at line 159. in Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() (line 132 of /var/www/html/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php).
Active
1.0
Other Submodules
To add to this, I find that this happens mainly for Anonymous users.
The issue happens here .
The form response is already set and after that the $http_response->setCallback`
is executed.