Codumentor logo Codumentor

Auto Title Plugin

The Auto Title plugin gives each conversation a meaningful, LLM-generated title
automatically — and, optionally, watches for the discussion drifting away from
that title and suggests a fresh one.

Topic-shift retitling is experimental. Defaults are conservative: first-turn
naming on, topic-shift retitling off.

Overview

  1. First-turn naming (on by default). When a conversation that has no title finishes its first turn, the plugin names it from the user's message and the assistant's reply. The title is generated in the same language the user wrote in.
  2. Topic-shift retitling (opt-in). After later turns it can ask whether the topic has shifted. Short conversations (below min_context_chars_for_shift, default 10 000 characters) skip this check. On a shift, it renames the conversation and posts a transcript card suggesting that a new conversation for the new topic usually works better.

The sidebar (and other open tabs) updates live — no refresh needed. Titling
runs in the background, so the title may appear a moment after the reply.

It only runs in the web/API UI (where conversations have titles). In the
CLI/TUI it does nothing.

Configuration

plugins:
  - module: codumentor.plugins.auto_title
    class: AutoTitlePlugin
    args:
      enabled: true
      name_after_first_turn: true
      max_title_chars: 60
      extra_instruction: ""
      rename_on_topic_shift: false
      topic_shift_turns: 2
      min_context_chars_for_shift: 10000
      model_role: auto_title
      temperature: 0.3
      max_tokens: 200
      request_timeout_seconds: 60.0

Parameters

The topic-shift card

When a shift is detected, a transcript card appears:

Notes