Add Discord thread title auto-rename after session naming - #24311
Closed
0fflineDocs wants to merge 1 commit into
Closed
Add Discord thread title auto-rename after session naming#243110fflineDocs wants to merge 1 commit into
0fflineDocs wants to merge 1 commit into
Conversation
Collaborator
0fflineDocs
force-pushed
the
feat/discord-thread-title-rename-offlinedocs
branch
from
May 12, 2026 11:07
4fda0fe to
ecf8082
Compare
Author
This was referenced May 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This adds Discord thread renaming support so auto-generated session titles can update the backing Discord thread name after the title is produced.
Changes
rename_thread(thread_id, new_name)to the Discord platform adaptergateway/run.pymaybe_auto_title(..., title_callback=...)Why
Previously, auto-titling could generate a better session title internally, but Discord thread names were not updated to match. This left Discord threads with stale or generic names even when the agent had already produced a stronger title.
Validation
bash
pytest -q tests/gateway/test_discord_thread_title_rename.py tests/gateway/test_telegram_topic_mode.py -q