Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/mcp_server_appwrite/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ def _resolve_server_version() -> str:
EXCLUDED_SERVICES: frozenset[str] = frozenset()

MAX_FETCH_BYTES = 25 * 1024 * 1024 # 25 MB cap on server-fetched files
MAX_INLINE_BYTES = 256 * 1024 # 256 KB cap on decoded inline content
# Match Cloud/agent chat attachment max (10 MB). Hosted uploads resolve
# turn attachments to inline base64; keep this at least that large.
MAX_INLINE_BYTES = 10 * 1024 * 1024 # 10 MB cap on decoded inline content
FETCH_TIMEOUT_SECONDS = 30.0
FETCH_MAX_REDIRECTS = 5

Expand Down
Loading