llama.cpp/tools/server/webui/src/lib/stores
Rohan Jain 974c8c94cc
webui: add setting for first-line chat titles (#21797)
* webui: add setting for first-line chat titles

Add an opt-in setting (`titleGenerationUseFirstLine`) to use the first
non-empty line of a prompt as the generated conversation title.

Previously, the complete multi-line prompt was being used, which created
long titles for complex queries. Coupled with
"Ask for confirmation before changing conversation title", the dialog
would overflow.

* Update tools/server/webui/src/lib/utils/text.ts

Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>

* Update tools/server/webui/src/lib/utils/text.ts

Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>

* webui: Run build to update the bundle

As requested in:
https://github.com/ggml-org/llama.cpp/pull/21797#pullrequestreview-4094935065

* webui: Fix missing import for NEWLINE_SEPARATOR

---------

Co-authored-by: Aleksander Grygier <aleksander.grygier@gmail.com>
2026-04-13 09:30:46 +02:00
..
agentic.svelte.ts webui : store reasoning_content so it is sent back in subsequent requests (#21249) 2026-04-07 13:32:44 +02:00
chat.svelte.ts webui: add setting for first-line chat titles (#21797) 2026-04-13 09:30:46 +02:00
conversations.svelte.ts webui: add setting for first-line chat titles (#21797) 2026-04-13 09:30:46 +02:00
mcp-resources.svelte.ts webui: Agentic Loop + MCP Client with support for Tools, Resources and Prompts (#18655) 2026-03-06 10:00:39 +01:00
mcp.svelte.ts webui: MCP Diagnostics improvements (#21803) 2026-04-13 07:58:38 +02:00
models.svelte.ts Add SLEEPING status to the WebUI model selector (#20949) 2026-03-25 11:02:32 +01:00
persisted.svelte.ts webui: introduce OpenAI-compatible model selector in JSON payload (#16562) 2025-10-22 16:58:23 +02:00
server.svelte.ts Pre-MCP UI and architecture cleanup (#19685) 2026-02-17 13:47:45 +01:00
settings.svelte.ts webui: add "Send message on Enter" setting (#21577) 2026-04-09 12:26:27 +02:00