Download codex-rs/app-server-protocol/src/protocol/v2/current_time.rs from SaylorTwift/codex: direct link, hf CLI and curl.
- Browser
- Download file 560 Bytes
-
https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/app-server-protocol/src/protocol/v2/current_time.rs
- Command line
-
hf download hf://SaylorTwift/codex/codex-rs/app-server-protocol/src/protocol/v2/current_time.rs
-
curl -L -o current_time.rs https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/app-server-protocol/src/protocol/v2/current_time.rs
560 Bytes
| use crate::JsonSchema; | |
| use crate::TS; | |
| use serde::Deserialize; | |
| use serde::Serialize; | |
| pub struct CurrentTimeReadParams { | |
| pub thread_id: String, | |
| } | |
| pub struct CurrentTimeReadResponse { | |
| /// Current time as whole Unix seconds. | |
| pub current_time_at: i64, | |
| } | |