You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Document custom prompts for automatic thread names #1442
The CLI exposes --title in apps/cli/src/commands/thread/spawn.ts, and the SDK accepts title on its thread spawn request.
So this issue needs a decision before documentation: add a configurable naming prompt (a settings field or a .bb/ workspace file, exposed through the SDK and the bb CLI), or close this and document the existing --title override instead. No pull request was opened.
+1 for making the thread-title prompt itself configurable — not just documenting --title.
My use case: I want every generated title to start with an emoji that hints at the kind of work (🐛 bug, 🔍 research, 📝 docs…), so threads are scannable in the sidebar. Manual --title doesn't help here — the whole point is that titles are generated automatically for every thread, including ones started from the composer.
What I'd need:
A full replacement for the generate-thread-metadata template, not only extra instructions appended to it — the default wording ("sentence case", "no explanation", length limits) is exactly what I'd want to change.
The same variables available to it ({{cleanedPrompt}}, {{invokedCommands}}), with the existing reply cleanup and width clamp still applied.
Set via a settings field exposed through bb settings / the SDK (a per-workspace .bb/ override would be a nice bonus), with an easy reset to the built-in default.
bb settings ai-services test thread-title using the custom prompt, so it can be checked before it goes live.
It works across every AI service (bb cloud, Codex, plugin services), since bb owns the prompt and the services only answer it.
Activity
SawyerHood commentedon Aug 13, 2026
Investigation result: a custom prompt for automatic thread names does not exist today, so there is nothing to document yet.
Evidence in
main:packages/templates/src/templates/generate-thread-metadata.md.apps/server/src/services/threads/title-generation.ts:152.packages/domain/src/app-settings.ts.BB_INFERENCE, which changes the helper model, not its prompt.What a user can do now is set the title itself, rather than the prompt that writes it:
The CLI exposes
--titleinapps/cli/src/commands/thread/spawn.ts, and the SDK acceptstitleon its thread spawn request.So this issue needs a decision before documentation: add a configurable naming prompt (a settings field or a
.bb/workspace file, exposed through the SDK and thebbCLI), or close this and document the existing--titleoverride instead. No pull request was opened.brzvsk commentedon Oct 19, 2026
+1 for making the thread-title prompt itself configurable — not just documenting
--title.My use case: I want every generated title to start with an emoji that hints at the kind of work (🐛 bug, 🔍 research, 📝 docs…), so threads are scannable in the sidebar. Manual
--titledoesn't help here — the whole point is that titles are generated automatically for every thread, including ones started from the composer.What I'd need:
generate-thread-metadatatemplate, not only extra instructions appended to it — the default wording ("sentence case", "no explanation", length limits) is exactly what I'd want to change.{{cleanedPrompt}},{{invokedCommands}}), with the existing reply cleanup and width clamp still applied.bb settings/ the SDK (a per-workspace.bb/override would be a nice bonus), with an easy reset to the built-in default.bb settings ai-services test thread-titleusing the custom prompt, so it can be checked before it goes live.It works across every AI service (bb cloud, Codex, plugin services), since bb owns the prompt and the services only answer it.