agent_profile.rs

 1use std::sync::Arc;
 2
 3use gpui::SharedString;
 4use indexmap::IndexMap;
 5
 6/// A profile for the Zed Agent that controls its behavior.
 7#[derive(Debug, Clone)]
 8pub struct AgentProfile {
 9    /// The name of the profile.
10    pub name: SharedString,
11    pub tools: IndexMap<Arc<str>, bool>,
12    pub context_servers: IndexMap<Arc<str>, ContextServerPreset>,
13}
14
15#[derive(Debug, Clone)]
16pub struct ContextServerPreset {
17    pub tools: IndexMap<Arc<str>, bool>,
18}