Skip to content

chat: tighten generated title prompt#311459

Merged
hawkticehurst merged 1 commit intomainfrom
agents/update-chat-title-prompt-guidelines-07fb4b74
Apr 20, 2026
Merged

chat: tighten generated title prompt#311459
hawkticehurst merged 1 commit intomainfrom
agents/update-chat-title-prompt-guidelines-07fb4b74

Conversation

@hawkticehurst
Copy link
Copy Markdown
Member

@hawkticehurst hawkticehurst commented Apr 20, 2026

Summary

Part of #310018 workstream

  • tighten the title-generation prompt used for chat/session titles
  • ask for sentence-case titles and more compact 3-6 word summaries
  • add guidance to drop articles, filler, and unnecessary words

Why

The sessions app title prompt should bias toward shorter, cleaner titles that read consistently in the UI.

Notes

  • prompt-only change
  • no post-processing or normalization logic added

Refine the title-generation prompt to prefer sentence case and more compact 3-6 word summaries for chat sessions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 20, 2026 19:07
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Copilot Sessions/chat title-generation system prompt to bias the model toward shorter, more consistent UI-friendly session titles.

Changes:

  • Tightens instructions to produce ultra-compact (3–6 word) titles.
  • Adds explicit guidance for sentence-case titles and removing filler/articles.
  • Refreshes the “good titles” examples to match the new style.

Comment thread extensions/copilot/src/extension/prompts/node/panel/title.tsx
@hawkticehurst hawkticehurst merged commit f7bd156 into main Apr 20, 2026
30 checks passed
@hawkticehurst hawkticehurst deleted the agents/update-chat-title-prompt-guidelines-07fb4b74 branch April 20, 2026 20:20
@vs-code-engineering vs-code-engineering Bot added this to the 1.118.0 milestone Apr 20, 2026
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.

3 participants