-
Notifications
You must be signed in to change notification settings - Fork 156
Description
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
- Open the application settings
- Locate the "Auto Generate Title" setting and turn it OFF
- Create a new chat session or open an existing one
- Attempt to send a message in the chat
- Observe: The chat functionality is blocked and messages cannot be sent/received
- Go back to settings and turn "Auto Generate Title" ON
- Attempt to send a message again
- 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
- Set "Auto Generate Title" to ON in settings
- Create a new chat session
- Send at least 2 messages and verify they are sent/received successfully
- 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