Created on 21 November 2024, about 1 month ago

Problem/Motivation

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).

Steps to reproduce

  1. Create an Assistant with the "Allow History" setting enabled and set to any "Session"-based option.
  2. Add the Assistant to a Chatbox block and enable streaming for the output.
  3. Interact with the Assistant through the Chatbox block as an anonymous user.
  4. Observe the error message appearing beneath the Assistant's response.
🐛 Bug report
Status

Active

Version

1.0

Component

Other Submodules

Created by

🇩🇪Germany ayrmax

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024