Commit Graph
3 Commits
Author SHA1 Message Date
linkliti a159b4b624 fix(chat-naming): exclude greeting seed from naming and schedule from monologue_start
The agent-init greeting extension seeds every new chat with a synthetic user turn that chat naming treated as a real user message, so fresh chats were named after the greeting and later band-aids delayed or re-defaulted naming to escape the trap. Mark the seed turn with initial_seed metadata at creation, skip marked turns in user-message selection so seed-only chats schedule no Utility Model call and a real first user message names the chat immediately, and schedule naming from monologue_start again since the background task cannot delay the Main Model.

Validation: pytest plugins/_chat_naming/tests/test_chat_naming.py tests/test_initial_message.py (19 passed) on the framework runtime.
2026-10-13 18:06:47 +03:00
Alessandro 01e9536c35 Defer automatic chat naming until after responses
Run the Utility Model naming task from monologue_end so it cannot delay the Main Model's first token. Keep the existing background task, naming safeguards, and configuration behavior unchanged.
2026-08-27 14:13:29 +02:00
frdel b6be345a56 Chat rendering/pagination, Add chat-naming and pin-to-top plugins
Refactor of messages.js to support lazy rendering.
Move chat rename functionality out of core and into a new _chat_naming plugin, and add a built-in _pin_to_top plugin for sidebar pinning. The chat-naming plugin includes API handlers, prompts, helper logic for selecting user messages and budgeted Utility Model calls, a python monologue_start extension, web UI (modal, store, config, sidebar action), and comprehensive tests. Removed the old core renaming extension and deprecated prompts/tests. Also added pin-to-top plugin files (API, helpers, webui store, tests/docs) and updated various AGENTS.md docs to reflect the new plugins and lifecycle clarifications. Minor UI/js tweak: reorder speak/copy buttons in browser tool handler and add a new webui message-window.js along with related webui/store/component updates and test adjustments.
2026-07-29 08:17:50 +02:00