Download codex-rs/protocol/src/memory_citation.rs from SaylorTwift/codex: direct link, hf CLI and curl.
- Browser
- Download file 560 Bytes
-
https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/protocol/src/memory_citation.rs
- Command line
-
hf download hf://SaylorTwift/codex/codex-rs/protocol/src/memory_citation.rs
-
curl -L -o memory_citation.rs https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/protocol/src/memory_citation.rs
560 Bytes
| use schemars::JsonSchema; | |
| use serde::Deserialize; | |
| use serde::Serialize; | |
| use ts_rs::TS; | |
| pub struct MemoryCitation { | |
| pub entries: Vec<MemoryCitationEntry>, | |
| pub rollout_ids: Vec<String>, | |
| } | |
| pub struct MemoryCitationEntry { | |
| pub path: String, | |
| pub line_start: u32, | |
| pub line_end: u32, | |
| pub note: String, | |
| } | |