Skip to main content

encode_aggregated_response_with_extensions

Function encode_aggregated_response_with_extensions 

Source
pub fn encode_aggregated_response_with_extensions(
    agg: &AggLlmResponse,
    wire_format: WireFormat,
    served_model: Option<&str>,
    request_extensions: &ProviderExtensions,
) -> Result<Value>
Expand description

Encodes an aggregated response, honouring request extensions.

Identical to encode_aggregated_response except that Codex tool namespaces recorded on the request are restored on the encoded body.