assistant2: Rename assistant2 actions to agent (#27877)

This PR renames the `assistant2` actions to `agent`.

Note that any `assistant` actions have been left as-is for now so that
there aren't any changes to users not in the feature flag.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-04-01 17:25:30 -04:00 committed by GitHub
parent 1567967309
commit 8f25251faf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 51 additions and 51 deletions

View file

@ -43,7 +43,7 @@ pub use crate::thread_store::ThreadStore;
pub use assistant_diff::{AssistantDiff, AssistantDiffToolbar};
actions!(
assistant2,
agent,
[
NewThread,
NewPromptEditor,
@ -87,9 +87,9 @@ impl ManageProfiles {
}
}
impl_actions!(assistant, [ManageProfiles]);
impl_actions!(agent, [ManageProfiles]);
const NAMESPACE: &str = "assistant2";
const NAMESPACE: &str = "agent";
/// Initializes the `assistant2` crate.
pub fn init(