Spaces:
Runtime error
Runtime error
File size: 232 Bytes
d64fd55 | 1 2 3 4 5 6 7 8 9 10 | from abc import ABC, abstractmethod
from typing import Dict, Any, Union
from pydantic import BaseModel
class BaseAgent(ABC):
@abstractmethod
def run(self, *args, **kwargs) -> Union[Dict[str, Any], BaseModel]:
pass
|