Skip to main content

is_anthropic_thinking_envelope

Function is_anthropic_thinking_envelope 

Source
pub fn is_anthropic_thinking_envelope(encrypted_content: &str) -> bool
Expand description

Returns true when a Responses encrypted_content value holds Anthropic thinking that Switchyard packed for a Responses client, rather than ciphertext from an OpenAI provider. Only Switchyard can read this value, so an OpenAI provider cannot decrypt it.