Download codex-rs/app-server-protocol/src/protocol/v2/feedback.rs from SaylorTwift/codex: direct link, hf CLI and curl.
- Browser
- Download file 1.21 kB
-
https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/app-server-protocol/src/protocol/v2/feedback.rs
- Command line
-
hf download hf://SaylorTwift/codex/codex-rs/app-server-protocol/src/protocol/v2/feedback.rs
-
curl -L -o feedback.rs https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/app-server-protocol/src/protocol/v2/feedback.rs
1.21 kB
| use crate::JsonSchema; | |
| use crate::TS; | |
| use serde::Deserialize; | |
| use serde::Serialize; | |
| use std::collections::BTreeMap; | |
| use std::path::PathBuf; | |
| pub struct FeedbackUploadParams { | |
| pub classification: String, | |
| pub reason: Option<String>, | |
| pub thread_id: Option<String>, | |
| pub include_logs: bool, | |
| pub extra_log_files: Option<Vec<PathBuf>>, | |
| pub tags: Option<BTreeMap<String, String>>, | |
| } | |
| pub struct FeedbackUploadResponse { | |
| pub thread_id: String, | |
| /// Whitespace-normalized SHA-256 of the session base instructions, matching the | |
| /// uploaded `prompt_hash` tag. Does not include later developer messages. | |
| /// Null when the reported rollout has no prompt metadata. | |
| pub prompt_hash: Option<String>, | |
| } | |