Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(chat): removes feature flag requirement for title generation #7291

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

abeatrix
Copy link
Contributor

@abeatrix abeatrix commented Mar 1, 2025

This commit improves the chat title generation feature with the following changes:

  • Generates a custom title only if the input text is longer than 20 characters.
  • Uses the latest Gemini flash-lite model (if available) or the first speedy model as the default for title generation.
  • Removes the feature flag check for auto-generating chat titles.

Test plan

  1. Ask a question that has less than 20 characters to confirm chat title in chat history remains unchanged.
  2. Ask a question that has more than 20 characters to see if chat title was generated automatically.
  3. Instance without speed model is currently not supported. Not reason to use expensive or reasoning models for small task.

abeatrix added 2 commits March 1, 2025 01:09
This commit improves the chat title generation feature with the following changes:

- Generates a custom title only if the input text is longer than 20 characters.
- Uses the latest Gemini flash-lite model (if available) or the first speedy model as the default for title generation.
- Removes the feature flag check for auto-generating chat titles.

## Test Plan

1. Ask a question that has less than 20 characters to confirm chat title in chat history remains unchanged.
2. Ask a question that has more than 20 characters to see if chat title was generated automatically.
3. Instance without speed model is currently not supported. Not reason to use expensive  or reasoning models for small task.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant