assistant2: Rename key context to AgentPanel (#27859)

This PR renames the key context for the Agent Panel from
"AssistantPanel2" to "AgentPanel".

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2025-04-01 16:42:31 +00:00
committed by GitHub
parent 0ad4656489
commit e63df58adc
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1182,7 +1182,7 @@ impl AssistantPanel {
fn key_context(&self) -> KeyContext {
let mut key_context = KeyContext::new_with_defaults();
key_context.add("AssistantPanel2");
key_context.add("AgentPanel");
if matches!(self.active_view, ActiveView::PromptEditor) {
key_context.add("prompt_editor");
}