[Bug]: A thread whose first message is only a link gets a generic title when text generation can't open the link #18060
Before submitting#
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area#
apps/server
Steps to reproduce#
- In Settings, set the text generation model to Claude, Haiku 5.5, effort Low.
- Start a new thread whose first message is only a public X post URL, for example
https://x.com/<handle>/status/<id>. - Read the generated title.
Expected behavior#
The title names what the post is about. The thread title prompt tells the model: "When a URL or attachment is the only source of the subject, use available tools to inspect it directly."
Actual behavior#
The title names the link or its author and not the subject, for example "Review Shared X Post by ", "Review Linked X Post" or "Inspect X post ". In my runs, right-click regenerate gave a good title once the assistant had read the post, so only the first title was affected.
Cause and what I checked#
The Claude title path starts the CLI with --tools "" (ClaudeTextGeneration.ts), so the model has nothing to open the link with. The Codex path gave the same generic titles in my runs, but I did not isolate why.
I ran T3's own title code over 12 real first messages (4 of them only an X link, 8 more led by a link) and compared seven model settings. That run used a checkout of my fork that is 1,460 commits behind main, so I re-read the code I cite here against main at 716357cb (2026-10-10): the title prompt now lives in packages/provider-core/src/server/textGenerationPrompts.ts, and the --tools "" argument, the Codex read-only sandbox and the gpt-6-luna default are all still there. I did not rerun the comparison on main. One person rated each title acceptable or not, without knowing which model wrote it. Counts are bare-link first titles rated acceptable out of 4:
| Text generation setting | Bare-link first titles acceptable |
|---|---|
| Claude Haiku 5.5, Low | 0/4 |
| Claude Haiku 5.5, Medium | 0/4 |
| Codex GPT-6 Luna, Low (the default) | 0/4 |
| Cursor Haiku 5.5, Low (cursor-agent CLI) | 4/4 |
| Cursor GPT-5.6 Luna, Low (cursor-agent CLI) | 4/4 |
On regenerate after the assistant had already read the link, every setting scored about the same, so the gap is specific to first titles.
I also tried the Cursor provider inside the app, using regenerate on a fresh thread with a bare link and no assistant reply. With Thinking On the title named the subject in 2 of 2 runs (13.6 s and 15.1 s). With Thinking Off it did not in 0 of 2 runs (4.6 s and 7.3 s). So on that path the model only opens the link when it thinks first.
Notes and limits#
- Four items per setting is a small sample, and one person did the rating.
- The Cursor rows in the table ran through the
cursor-agentCLI, not T3's Cursor SDK path. The in-app Cursor check above is separate and has only 2 runs per setting. - I did not observe a first title on the Claude provider in the app itself. The Claude result comes from running T3's
ClaudeTextGenerationdirectly, plus one in-app regenerate on a link-only thread that gave "Review Shared X Post by ". The in-app checks ran on the nightly shown under Version or commit. - Possible directions, for the maintainers to judge: let the title step read a link when the message is only a link, resolve such links before the title call the way
ThreadTitleLinksresolves source control links, or note this limit in the settings text. - Separate from this report, #15230 describes
gpt-6-lunabeing rejected on Codex ChatGPT accounts, which affects the same default.
Impact#
Minor bug or occasional failure
Version or commit#
0.0.46-nightly.20261010.2948 (source cited against main @ 716357cb)
Environment#
Linux 7.2.9 (WSL2, x86_64), T3 desktop nightly. Text generation: Claude Haiku 5.5 on the Claude provider, effort Low; also the default, GPT-6 Luna on Codex, Low.
Logs or stack traces#
Screenshots, recordings, or supporting files#
No response
Workaround#
Right-click the thread and choose regenerate title after the assistant has read the link. On the Cursor provider, Haiku 5.5 with Thinking On named the subject on a bare link in 2 of 2 in-app runs.
bompus(GitHub profile, opens in a new tab) added labelsbug
bompus(GitHub profile, opens in a new tab) added labelsneeds-triage
juliusmarminge removed labelsbug
juliusmarminge removed labelsneeds-triage
juliusmarminge added labelsenhancement
juliusmarminge added labelsvia-triage
I'm not planning a PR for this. It's labeled an enhancement and no maintainer has approved a direction yet, so assignment is Julius's call under the prior-approval rule. No objection to someone else picking it up once a direction is approved.
5. I'm not planning a PR for this. It's labeled an enhancement and no maintainer has approved a direction yet, so assignment is Julius's call under the prior-approval rule. No objection to someone else picking it up once a direction is approved.
Thanks Again :)
Sign in to join this conversation.
Hi @juliusmarminge , I’m interested in contributing to this improvement. I noticed it has been classified as an enhancement, and I’ve read the requirement for explicit approval of the direction and scope.
Would you prefer bounded link resolution before title generation, or another approach? I’d be happy to investigate the approved direction, including provider compatibility, latency, and fallback behaviour when a link cannot be read.
If this is something you’d like pursued and nobody is already working on it, could you please confirm the scope and assign it to me? I’m happy to open an Ideas discussion if preferred. Thanks!