Files
bot-bottle/bot_bottle/orchestrator/http_contract.py
T
didericis-codex 2234145ab4
test / unit (pull_request) Waiting to run
test / integration-docker (pull_request) Blocked by required conditions
test / image-input-builds (pull_request) Waiting to run
test / coverage (pull_request) Blocked by required conditions
tracker-policy-pr / check-pr (pull_request) Failing after 10s
fix(orchestrator): bound streamed request bodies
2026-07-27 02:58:18 +00:00

12 lines
315 B
Python

"""Dependency-free constants shared by orchestrator HTTP clients and server."""
ORCHESTRATOR_AUTH_HEADER = "x-bot-bottle-orchestrator-auth"
MAX_BODY_BYTES = 1 * 1024 * 1024
REQUEST_BODY_TIMEOUT_SECONDS = 10.0
__all__ = [
"MAX_BODY_BYTES",
"ORCHESTRATOR_AUTH_HEADER",
"REQUEST_BODY_TIMEOUT_SECONDS",
]