Files
sentclaw/backend/app/llm/base.py
T
2026-04-07 16:05:05 +08:00

15 lines
280 B
Python

from abc import ABC, abstractmethod
class BaseLLMClient(ABC):
def __init__(self, config):
self.config = config
@abstractmethod
def chat(self, messages, **kwargs):
pass
@abstractmethod
def stream_chat(self, messages, **kwargs):
pass