mirror of
https://github.com/openai/codex.git
synced 2026-05-02 12:21:26 +03:00
simplify experimental enum variant support
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -30,8 +30,6 @@ pub enum ExperimentalEnumVariantEncoding {
|
||||
StringLiteral,
|
||||
/// A tagged object arm, such as `{ "type": "chatgptAuthTokens", ... }`.
|
||||
TaggedObject { tag_name: &'static str },
|
||||
/// An externally tagged object arm, such as `{ "reject": { ... } }`.
|
||||
ExternallyTaggedObject,
|
||||
}
|
||||
|
||||
/// Describes an experimental enum variant on a specific type.
|
||||
|
||||
Reference in New Issue
Block a user