Skip to main content

default_tool_format

Function default_tool_format 

Source
pub fn default_tool_format(model: &str, provider: &str) -> String
Expand description

Resolve the default tool format for a model+provider combination. Priority: alias tool_format (matched by model ID) > provider feature > “text”.