#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2025/4/17 15:40 # @Author : old-tom # @File : __init__.py # @Project : reActLLMDemo # @Desc : from llmtools.tool_impl import play_video, split_screen, play_video_record, switch_page, zoom_in, view_flight_details from langgraph.prebuilt import ToolNode # 工具列表 tools = [play_video, split_screen, play_video_record, switch_page, zoom_in, view_flight_details] # 工具节点,ToolNode 内置了工具调用函数及异常处理 tool_node = ToolNode(tools=tools)