(feat:attach) handle unsupported attachments

This commit is contained in:
ManishMadan2882
2025-04-07 20:15:11 +05:30
parent 244c9b96a2
commit 1f3d1cc73e
2 changed files with 54 additions and 7 deletions

View File

@@ -55,3 +55,12 @@ class BaseLLM(ABC):
def _supports_tools(self):
raise NotImplementedError("Subclass must implement _supports_tools method")
def get_supported_attachment_types(self):
"""
Return a list of MIME types supported by this LLM for file uploads.
Returns:
list: List of supported MIME types
"""
return [] # Default: no attachments supported