Loading

摘要: from abc import ABC,abstractmethod from pydantic import BaseModel # 定义一个抽象基类 class Tool(baseModel,ABC): @abstractmethod def invoke(): print(123) # 实例化 阅读全文
posted @ 2024-10-21 13:53 踩坑大王 阅读(15) 评论(0) 推荐(0)