Skip to content

Commit

Permalink
chore(provider): add document capability
Browse files Browse the repository at this point in the history
  • Loading branch information
AAClause committed Jan 26, 2025
1 parent 2066b96 commit 95c3a50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions basilisk/provider_capability.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@


class ProviderCapability(Enum):
DOCUMENT = "document"
IMAGE = "image"
TEXT = "text"
STT = "stt"
Expand Down
1 change: 1 addition & 0 deletions basilisk/provider_engine/anthropic_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class AnthropicEngine(BaseEngine):
capabilities: set[ProviderCapability] = {
ProviderCapability.TEXT,
ProviderCapability.IMAGE,
ProviderCapability.DOCUMENT,
}
supported_attachment_formats: set[str] = {
"image/gif",
Expand Down

0 comments on commit 95c3a50

Please sign in to comment.