pub enum CodexPatchMode {
Default,
ChatGptBridge,
ImagegenBridge,
OfficialRelayBridge,
OfficialImagegenBridge,
}Variants§
Default
Keep the historical codex-helper patch behavior.
ChatGptBridge
Keep Codex/ChatGPT account auth for app/mobile features while model traffic goes through codex-helper.
ImagegenBridge
Use a minimal ChatGPT-looking auth facade to expose Codex hosted image generation while request credentials still come from codex-helper routing/upstream configuration.
OfficialRelayBridge
Advertise the local relay as the official OpenAI Responses provider so Codex can use first-party HTTP features that helper can safely forward, starting with remote compaction v1. Request credentials still come from codex-helper routing/upstream configuration.
OfficialImagegenBridge
Combine official relay provider identity for remote compaction with the image generation ChatGPT auth facade. Request credentials still come from codex-helper routing/upstream configuration.
Implementations§
Source§impl CodexPatchMode
impl CodexPatchMode
pub fn as_str(self) -> &'static str
pub fn as_preset_str(self) -> &'static str
pub fn is_default(self) -> bool
pub fn strips_codex_client_auth(self) -> bool
pub fn enables_official_relay_features(self) -> bool
pub fn enables_imagegen_facade(self) -> bool
Trait Implementations§
Source§impl Clone for CodexPatchMode
impl Clone for CodexPatchMode
Source§fn clone(&self) -> CodexPatchMode
fn clone(&self) -> CodexPatchMode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for CodexPatchMode
Source§impl Debug for CodexPatchMode
impl Debug for CodexPatchMode
Source§impl Default for CodexPatchMode
impl Default for CodexPatchMode
Source§fn default() -> CodexPatchMode
fn default() -> CodexPatchMode
Source§impl<'de> Deserialize<'de> for CodexPatchMode
impl<'de> Deserialize<'de> for CodexPatchMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Display for CodexPatchMode
impl Display for CodexPatchMode
impl Eq for CodexPatchMode
Source§impl PartialEq for CodexPatchMode
impl PartialEq for CodexPatchMode
Source§impl Serialize for CodexPatchMode
impl Serialize for CodexPatchMode
impl StructuralPartialEq for CodexPatchMode
Auto Trait Implementations§
impl Freeze for CodexPatchMode
impl RefUnwindSafe for CodexPatchMode
impl Send for CodexPatchMode
impl Sync for CodexPatchMode
impl Unpin for CodexPatchMode
impl UnsafeUnpin for CodexPatchMode
impl UnwindSafe for CodexPatchMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.