mirror of
https://github.com/openai/codex.git
synced 2026-11-13 14:46:14 +00:00
Allow naming sessions with /new and /clear (#34605)
## What changed - Accept an optional session name after `/new` or `/clear`. - Set the requested name through the app server when starting the new thread and update the attached session with that name. - Report naming failures in the chat while still attaching the newly created thread. ## Testing - Cover named `/new` and `/clear` dispatch, app-server name persistence, and the existing unnamed `/clear` behavior. GitOrigin-RevId: 570886abb4af522123f0693ce05d2415e1c0d902
This commit is contained in:
1 parent
2497972808
commit
25d2dfcad0
8 files changed
+149
-21
No files matched your search
@@ -155,6 +155,8 @@ impl SlashCommand {
|
||||
self,
|
||||
SlashCommand::Review
|
||||
| SlashCommand::Rename
|
||||
| SlashCommand::New
|
||||
| SlashCommand::Clear
|
||||
| SlashCommand::Plan
|
||||
| SlashCommand::Goal
|
||||
| SlashCommand::Ide
|
||||
|
||||
Reference in new issue
Block a user