def _get_model_kwargs(self, **kwargs: Any) -> Dict[str, Any]:
        """Get the kwargs that need to be provided to the model invocation."""
        # Fix the input to work with the Databricks API
        if "tool_choice" in kwargs and "tools" not in kwargs:
            del kwargs["tool_choice"]

        return super()._get_model_kwargs(**kwargs)
Get the kwargs that need to be provided to the model invocation.
llama-index-integrations/llms/llama-index-llms-databricks/llama_index/llms/databricks/base.py