Skip to main content

effective_from_control_response

Function effective_from_control_response 

Source
pub fn effective_from_control_response(
    frame: &Value,
) -> Option<EffectiveRuntime>
Expand description

The effective runtime in a get_settings answer, or None for any other frame, an error answer (a CLI that has no get_settings) or one without applied. The shape is {type: control_response, response: {subtype: success, request_id, response: {applied: {model, effort, ...}}}}.