Skip to main content

recommend

Function recommend 

Source
pub fn recommend(
    input: &RecommendationInput,
    response: Option<&DecisionResponse>,
) -> Result<WorkflowRecommendation, RecommendationError>
Expand description

Combine deterministic mode policy and optional typed model advice.

The effective mode is always the explicit user mode or deterministic mode. No contract, permission, test, or delivery gate is modified.

§Errors

Returns an error for unsafe input or an incompatible saved response.