Skip to content

Issue: Elysia AI chat shows “Invalid history” after first message #811

@SainiAdi-04

Description

@SainiAdi-04

Description:

When using the Elysia AI assistant on the ElysiaJS documentation website, the first question works correctly and returns a valid response. However, when asking a second question in the same conversation, the chat fails and shows an error.

Steps to Reproduce:

  1. Go to the ElysiaJS docs site: https://elysiajs.com/
  2. Open Elysia AI from the sidebar.
  3. Ask any question (example: "What is Eden?") → works normally.
  4. Ask another follow-up question in the same chat.

Actual Result:

The AI fails to respond and shows the error-
"Invalid history. Please start a new conversation. Try again or Reload the page"

Expected Result:

The AI should allow continuous multi-message conversations and respond to follow-up questions without requiring a page reload. Reloading the page or starting a new conversation temporarily fixes the issue, but the error appears again after the next message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions