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.
1.2 KiB
Chat Naming
Chat Naming adds a standard sidebar action for manually renaming chats and tasks. Its modal can ask the chat's configured Utility Model to suggest a concise name from recent user messages.
Automatic naming is configured per project and agent profile. By default, it reviews the name after every user message using recent user-only context, changing it when the topic changes. A chat renamed by hand stays as named until automatic naming is turned back on for that chat. Its Utility Model call runs as a background task, so it never delays the Main Model, and the synthetic initial greeting seed never names a chat. Select Only once to name an unnamed chat from its first user message instead. Previously saved settings are preserved; switch existing Only once configurations to After every user message to enable topic updates.
Use /rename New Chat Name to rename the current chat directly. That manual name is kept until /rename auto, which generates a name with the configured Utility Model and turns automatic naming back on for the chat.
Subordinate chats keep their delegation labels. Automatic naming does not overwrite them; an explicit rename action or a new call_subordinate name can change them.