export function resolveToolChoice(options, tools, shouldUseTools) {
    if (!shouldUseTools || !tools || Object.keys(tools).length === 0) {
        return "none";
    }
    return options.toolChoice ?? "auto";
}
