constants.py
1 DEFAULT_COMMUNICATION_TIMEOUT = 600 # 10 minutes 2 HEALTH_CHECK_TTL_SECONDS = ( 3 60 # 60 seconds - time after which a health check is considered stale 4 ) 5 HEALTH_CHECK_INTERVAL_SECONDS = 10 # 10 seconds - interval between health checks 6 TEXT_ARTIFACT_CONTEXT_MAX_LENGTH_CAPACITY = ( 7 200000 # maximum number of characters that can be loaded from a text artifact 8 ) 9 TEXT_ARTIFACT_CONTEXT_DEFAULT_LENGTH = ( 10 100000 # default number of characters to load from a text artifact 11 ) 12 13 # Extension URIs 14 EXTENSION_URI_SCHEMAS = "https://solace.com/a2a/extensions/sam/schemas" 15 EXTENSION_URI_AGENT_TYPE = "https://solace.com/a2a/extensions/agent-type" 16 17 # System artifact tags (prefixed with __ to distinguish from user tags) 18 ARTIFACT_TAG_USER_UPLOADED = "__user_uploaded" 19 ARTIFACT_TAG_WORKING = "__working"