Skip to content

[BUG] Chat Functionality Fails Due to Session Retrieval and Message Processing Errors #567

@ayush-rr7

Description

@ayush-rr7

Description of the Bug

The chat functionality is currently unavailable due to failures in both session retrieval and message processing. While testing the application, existing chat sessions could not be loaded, and any attempt to send a new message resulted in an HTTP 500 (Internal Server Error) response from the backend API.

As a result, users are unable to view previous conversations, initiate new interactions, or receive responses from the chatbot. Since the issue affects the primary workflow of the application, it significantly impacts usability and prevents normal operation of the chat feature.

The issue appears to be reproducible consistently and may be related to the backend service responsible for handling chat requests and session management.

Steps to Reproduce

  1. Open the application.
  2. Navigate to the chat interface.
  3. Observe the session history loading process.
  4. Submit a new message through the chat input.

Expected Behavior

  • Previous chat/session history should load successfully.
  • New messages should be processed and responses should be returned.

Screenshots / Logs

Failed to fetch session history: Error: Request failed

POST /api/v1/chat/ask/stream
500 (Internal Server Error)
Image

Environment

Browser: [Chrome] OS: [Windows 11]

GSSoC '26

  • Yes, I am participating in GirlScript Summer of Code and would like to fix this.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggssocGirlScript Summer of Code 2026 issue/PR

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions