Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultMaxRequestBytes int64 = 32 * 1024 * 1024
DefaultMaxRequestBytes matches Anthropic's documented /v1/messages limit (32 MB). OpenAI/Gemini limits are similar or higher; we standardize on this so relay never rejects a body the upstream would accept. Override with RELAY_MAX_REQUEST_BYTES.
Variables ¶
This section is empty.
Functions ¶
func IsBodyTooLargeError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.