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
Local llama.cpp models are extremely slow when session title generation is enabled #33126
This needs a latency breakdown per session start. Split timings for config load, external skill scan, first model call, title generation, and final response. Then local-model users can see whether the 20s delay came from title generation, skill inventory, or provider latency.
The observed --title test speedup is strong evidence title generation belongs behind a skip/defer policy. A regression can assert local llama.cpp with explicit title avoids the title agent path entirely.
I also don't have hard numbers, but I notice that title generation usually generates thousands of tokens which seems very overkill for a title. Maybe reasoning is being enabled or something for title generation which is probably unnecessary? Ticket #25456 seems to think so. I agree that this is probably undesirable by default.
I wouldn't mind nearly as much if it was just ~550 prompt tokens and ~20 output tokens. But 2k output tokens can take a long time on some models or providers. The actual output surely depends on the model but it seems very common for them to be chatty.
I also noticed that setting your own title while it is running:
Doesn't cancel the automatic title generation request.
Overwrites your title when it completes.
Getting more off-topic I wonder if title generation could also be handled differently. Like what if there was a tool to set the title. The system prompt tells the model to set the title near the start and whenever there are significant changes in direction. The tool starts returning errors once the user has explicitly edited the title and telling the model to stop calling it. (Probably a bad idea, IDK if I want my sessions changing title as they progress, but worth considering).
Activity
Necmttn commentedon Jun 21, 2026
This needs a latency breakdown per session start. Split timings for config load, external skill scan, first model call, title generation, and final response. Then local-model users can see whether the 20s delay came from title generation, skill inventory, or provider latency.
The observed
--title testspeedup is strong evidence title generation belongs behind a skip/defer policy. A regression can assert local llama.cpp with explicit title avoids the title agent path entirely.Generated with ax.
kevincox commentedon Jul 2, 2026
I also don't have hard numbers, but I notice that title generation usually generates thousands of tokens which seems very overkill for a title. Maybe reasoning is being enabled or something for title generation which is probably unnecessary? Ticket #25456 seems to think so. I agree that this is probably undesirable by default.
I wouldn't mind nearly as much if it was just ~550 prompt tokens and ~20 output tokens. But 2k output tokens can take a long time on some models or providers. The actual output surely depends on the model but it seems very common for them to be chatty.
I also noticed that setting your own title while it is running:
Getting more off-topic I wonder if title generation could also be handled differently. Like what if there was a tool to set the title. The system prompt tells the model to set the title near the start and whenever there are significant changes in direction. The tool starts returning errors once the user has explicitly edited the title and telling the model to stop calling it. (Probably a bad idea, IDK if I want my sessions changing title as they progress, but worth considering).
github-actions commentedon Sep 1, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.