Skip to main content

detect_tool_format

Function detect_tool_format 

Source
pub fn detect_tool_format(model: &str, api_base: &str) -> ToolFormat
Expand description

Detect API format from model name or API base.