Skip to main content

ai_agent/services/compact/
api_microcompact.rs

1pub fn get_api_context_management(
2    _options: Option<ContextManagementOptions>,
3) -> Option<ContextManagementConfig> {
4    None
5}
6
7#[derive(Debug, Clone)]
8pub struct ContextManagementOptions {
9    pub has_thinking: bool,
10}
11
12#[derive(Debug, Clone)]
13pub struct ContextManagementConfig {
14    pub edits: Vec<ContextEditStrategy>,
15}
16
17#[derive(Debug, Clone)]
18pub struct ContextEditStrategy {
19    pub strategy_type: String,
20}