Skip to main content

prepare_request_for_target

Function prepare_request_for_target 

Source
pub fn prepare_request_for_target(request: &mut LlmRequest, target: &ModelId)
Expand description

Applies a selected target model.

Preserved built-in bodies get the new model so exact replay keeps caller fields that are not represented in the normalized request. Other preserved bodies are removed.