Skip to content

Comments

feat(gateway): add /autolabel command to auto-generate session titles#197

Open
esojourn wants to merge 1 commit intomoltis-org:mainfrom
esojourn:feat/autolabel
Open

feat(gateway): add /autolabel command to auto-generate session titles#197
esojourn wants to merge 1 commit intomoltis-org:mainfrom
esojourn:feat/autolabel

Conversation

@esojourn
Copy link

@esojourn esojourn commented Feb 21, 2026

Summary

  • Add /autolabel slash command that uses LLM to generate short, descriptive session titles from recent conversation history
  • Support both Web UI and Telegram bot channels
  • Register chat.autolabel RPC method following the existing chat.compact pattern, with no message persistence (title generation prompt/response not saved to session history)

Validation

Completed

  • cargo check passes (gateway + telegram crates)
  • biome check passes (no new warnings)
  • Web UI: /autolabel generates title and updates sidebar
  • Telegram: /autolabel registered as bot command, dispatched via dispatch_command

Remaining

  • cargo test — full test suite
  • cargo +nightly-2025-11-30 clippy --workspace --all-features --all-targets -- -D warnings
  • E2E test for /autolabel slash command

Manual QA

  1. Open Web UI → start a conversation → type /autolabel → verify title updates in header and sidebar
  2. Type /autolabel in an empty session → verify error message appears
  3. In Telegram → send /autolabel → verify bot replies with generated title

- use LLM to generate short titles from recent conversation history
- support both Web UI slash command and Telegram bot command
- register chat.autolabel RPC method following compact pattern
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant