zagens-cli 0.8.3

Zagens headless CLI + HTTP/SSE runtime sidecar (`zagens`, `zagens-runtime` binaries)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Turn control — interrupt/steer via Deref; compaction via orchestrator + host.

use anyhow::Result;

use super::{CompactThreadRequest, RuntimeThreadManager, TurnRecord};

impl RuntimeThreadManager {
    pub async fn compact_thread(
        &self,
        thread_id: &str,
        req: CompactThreadRequest,
    ) -> Result<TurnRecord> {
        zagens_runtime_orchestrator::runtime_threads::turn_control::compact_thread(
            self, self, thread_id, req,
        )
        .await
    }
}