Skip to main content

needs_output_schema_processor

Function needs_output_schema_processor 

Source
pub fn needs_output_schema_processor(llm: Option<&dyn Llm>) -> bool
Expand description

Whether llm is a Gemini model that needs the set_model_response tool workaround because it does not support output schema with tools natively.