def to_gemini_tools()

in aidial_adapter_vertexai/chat/static_tools.py [0:0]


    def to_gemini_tools(self) -> List[GeminiTool]:
        ret: List[GeminiTool] = []
        for tool in self.functions:
            ret.extend(
                GoogleSearchGroundingTool.parse_gemini_tools(tool)
                or unknown_tool_name(tool)
            )
        return ret