pub fn encode_openai_request(
expr: &Expr,
options: &OpenAiCodecOptions,
) -> Result<Vec<u8>>Expand description
Encodes a model-request transcript into OpenAI chat-completion request JSON,
applying the model, streaming, and tools settings from options.