Skip to main content

check_extra

Function check_extra 

Source
pub fn check_extra(req: &ChatRequest) -> Result<(), LlmError>
Expand description

Reject extra keys that would silently override provider-managed fields. Custom ChatModel implementations should call this before building a body.