Skip to main content

convert_tool_choice

Function convert_tool_choice 

Source
pub fn convert_tool_choice(choice: ToolChoice) -> ChatToolChoice
Expand description

Convert Responses API tool choice to Chat API tool choice.