You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
534 B

4 months ago
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2025/4/17 15:40
# @Author : old-tom
# @File : __init__.py
# @Project : reActLLMDemo
# @Desc :
4 months ago
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)