mirror of
https://github.com/openai/codex.git
synced 2026-05-04 05:11:37 +03:00
Add analytics for /rename and /fork (#10655)
This commit is contained in:
@@ -3123,6 +3123,7 @@ impl ChatWidget {
|
||||
self.open_review_popup();
|
||||
}
|
||||
SlashCommand::Rename => {
|
||||
self.otel_manager.counter("codex.thread.rename", 1, &[]);
|
||||
self.show_rename_prompt();
|
||||
}
|
||||
SlashCommand::Model => {
|
||||
@@ -3342,6 +3343,7 @@ impl ChatWidget {
|
||||
let trimmed = args.trim();
|
||||
match cmd {
|
||||
SlashCommand::Rename if !trimmed.is_empty() => {
|
||||
self.otel_manager.counter("codex.thread.rename", 1, &[]);
|
||||
let Some((prepared_args, _prepared_elements)) =
|
||||
self.bottom_pane.prepare_inline_args_submission(false)
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user