Skip to content

Issue #10 - [BUG] Auto Generate Title Setting Blocks Chat Instead of Title Generation #21

@rogelio-cmj

Description

@rogelio-cmj

Motivation

The "Auto Generate Title" setting is intended to control whether the application automatically generates a title for new chat sessions. However, this setting is currently blocking the entire chat functionality instead of just the title generation feature. This creates a confusing user experience where disabling automatic title generation prevents users from chatting at all.

Current Behavior

When the "Auto Generate Title" setting is turned off, users cannot send or receive chat messages. The setting check is incorrectly placed in the chat generation logic, causing it to block the entire chat flow rather than just the title generation feature.

Reproduction Steps

  1. Open the application settings
  2. Locate the "Auto Generate Title" setting and turn it OFF
  3. Create a new chat session or open an existing one
  4. Attempt to send a message in the chat
  5. Observe: The chat functionality is blocked and messages cannot be sent/received
  6. Go back to settings and turn "Auto Generate Title" ON
  7. Attempt to send a message again
  8. Observe: Chat now works, but only because the setting is enabled

Expected Behavior

The "Auto Generate Title" setting should only control whether session titles are automatically generated, not whether chat functionality works. Users should be able to chat normally regardless of this setting's state.

Acceptance Criteria

  • With "Auto Generate Title" set to OFF, users can send and receive chat messages normally
  • With "Auto Generate Title" set to ON, chat messages work normally and titles are automatically generated after the second message

Steps To Test

  1. Set "Auto Generate Title" to ON in settings
  2. Create a new chat session
  3. Send at least 2 messages and verify they are sent/received successfully
  4. Verify the session title is automatically generated

Submission

Download https://cap.so/ to record your screen (use Studio mode). Export as an mp4, and drag and drop into an issue comment below.

Guide to submitting pull requests: https://hackmd.io/@timothy1ee/Hky8kV3hlx

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