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