Skip to content

Fixed Chat History Issue #79

@TejashRajuKV

Description

@TejashRajuKV

Issue: Chat History Not Persisting

Description:
The chatbot works fine for single prompts, but it’s stateless — it doesn’t remember past messages. The backend already supports receiving chat history, but the frontend (app.py) isn’t sending it.

Expected behavior:

The assistant should remember previous user inputs and responses.

Each new response should take the full conversation history into account.

Steps to Reproduce:

Start the chatbot.

Ask a question.

Ask a follow-up question — the assistant doesn’t remember context.

Cause:
st.session_state is not being used to store and send chat history

Related Issue
#65

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions