Skip to main content

vv_agent/prompt/builder/
options.rs

1use std::collections::BTreeMap;
2use std::path::PathBuf;
3
4use serde_json::Value;
5
6#[derive(Clone)]
7pub struct BuildSystemPromptOptions {
8    pub language: String,
9    pub allow_interruption: bool,
10    pub use_workspace: bool,
11    pub enable_todo_management: bool,
12    pub agent_type: Option<String>,
13    pub available_sub_agents: BTreeMap<String, String>,
14    pub available_skills: Option<Value>,
15    pub workspace: Option<PathBuf>,
16    pub current_time_utc: Option<String>,
17    pub session_memory_enabled: bool,
18    pub session_memory_context: String,
19}
20
21impl Default for BuildSystemPromptOptions {
22    fn default() -> Self {
23        Self {
24            language: "en-US".to_string(),
25            allow_interruption: true,
26            use_workspace: true,
27            enable_todo_management: true,
28            agent_type: None,
29            available_sub_agents: BTreeMap::new(),
30            available_skills: None,
31            workspace: None,
32            current_time_utc: None,
33            session_memory_enabled: false,
34            session_memory_context: String::new(),
35        }
36    }
37}