Download codex-rs/code-mode-protocol/src/response.rs from SaylorTwift/codex: direct link, hf CLI and curl.
- Browser
- Download file 689 Bytes
-
https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/code-mode-protocol/src/response.rs
- Command line
-
hf download hf://SaylorTwift/codex/codex-rs/code-mode-protocol/src/response.rs
-
curl -L -o response.rs https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/code-mode-protocol/src/response.rs
689 Bytes
| use serde::Deserialize; | |
| use serde::Serialize; | |
| pub enum ImageDetail { | |
| Auto, | |
| Low, | |
| High, | |
| Original, | |
| } | |
| pub const DEFAULT_IMAGE_DETAIL: ImageDetail = ImageDetail::High; | |
| pub enum FunctionCallOutputContentItem { | |
| InputText { | |
| text: String, | |
| }, | |
| InputImage { | |
| image_url: String, | |
| detail: Option<ImageDetail>, | |
| }, | |
| InputAudio { | |
| audio_url: String, | |
| }, | |
| } | |