Amitkasar's picture
changed the project structure and ui , updated security and enhanced the project
3f78860
Raw History Blame Contribute Delete
229 Bytes
from abc import ABC, abstractmethod
class BaseLLMClient(ABC):
@abstractmethod
def invoke(self, messages) -> tuple[str, dict | None]:
"""Invoke the LLM. Returns (content_str, token_usage_or_None)."""
...