9 lines
152 B
Python
9 lines
152 B
Python
|
|
from typing import Any
|
||
|
|
from pydantic import BaseModel
|
||
|
|
|
||
|
|
|
||
|
|
class ToolInput(BaseModel):
|
||
|
|
"""工具调用请求体"""
|
||
|
|
tool_name: str
|
||
|
|
payload: Any
|