Download codex-rs/app-server-protocol/src/protocol/v2/memory.rs from SaylorTwift/codex: direct link, hf CLI and curl.
- Browser
- Download file 738 Bytes
-
https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/app-server-protocol/src/protocol/v2/memory.rs
- Command line
-
hf download hf://SaylorTwift/codex/codex-rs/app-server-protocol/src/protocol/v2/memory.rs
-
curl -L -o memory.rs https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/app-server-protocol/src/protocol/v2/memory.rs
738 Bytes
| //! Readiness for selecting v2 memory context after background consolidation. | |
| use crate::JsonSchema; | |
| use crate::TS; | |
| use serde::Deserialize; | |
| use serde::Serialize; | |
| pub struct MemoryStatusParams { | |
| /// Required distinct consolidated threads. Defaults to 20; supported range is 1..=4096. | |
| pub min_consolidated_threads: Option<u32>, | |
| } | |
| pub struct MemoryStatusResponse { | |
| pub v2_consolidated_threads: u32, | |
| pub v2_ready: bool, | |
| } | |