otherone_context/
types.rs1use otherone_storage::types::DatabaseConfig;
6
7#[derive(Debug, Clone, PartialEq, Eq)]
9pub enum ContextLoadType {
10 Database,
11 LocalFile,
12}
13
14#[derive(Debug, Clone)]
16pub struct CombineContextOptions {
17 pub session_id: String,
19 pub load_type: ContextLoadType,
21 pub provider: otherone_ai::types::ProviderType,
23 pub context_window: u32,
25 pub threshold_percentage: Option<f32>,
27 pub ai: Option<serde_json::Value>,
29 pub system_prompt: Option<String>,
31 pub tools: Option<Vec<otherone_ai::types::Tool>>,
33 pub database_config: Option<DatabaseConfig>,
35}