Add /debug-config slash command (#10642)

<img width="409" height="175" alt="image"
src="https://github.com/user-attachments/assets/76efe9c5-8375-4af3-b6af-bd9e162c1bc3"
/>
This commit is contained in:
gt-oai authored and GitHub committed 2026-02-04 22:26:17 +00:00
1 parent 7c6d21a414
commit d452bb3ae5
5 files changed
+355

No files matched your search

+7
View File
@@ -3006,6 +3006,9 @@ impl ChatWidget {
SlashCommand::Status => {
self.add_status_output();
}
SlashCommand::DebugConfig => {
self.add_debug_config_output();
}
SlashCommand::Ps => {
self.add_ps_output();
}
@@ -3781,6 +3784,10 @@ impl ChatWidget {
));
}
pub(crate) fn add_debug_config_output(&mut self) {
self.add_to_history(crate::debug_config::new_debug_config_output(&self.config));
}
pub(crate) fn add_ps_output(&mut self) {
let processes = self
.unified_exec_processes