chore: (trigger) add WEBHOOK_REQUEST_BODY_MAX_SIZE (#25217)

This commit is contained in:
非法操作
2025-09-05 12:23:11 +08:00
committed by GitHub
parent 88af8ed374
commit 68f73410fc
7 changed files with 35 additions and 1 deletions

View File

@ -147,6 +147,17 @@ class CodeExecutionSandboxConfig(BaseSettings):
)
class TriggerConfig(BaseSettings):
"""
Configuration for trigger
"""
WEBHOOK_REQUEST_BODY_MAX_SIZE: PositiveInt = Field(
description="Maximum allowed size for webhook request bodies in bytes",
default=10485760,
)
class PluginConfig(BaseSettings):
"""
Plugin configs
@ -994,6 +1005,7 @@ class FeatureConfig(
AuthConfig, # Changed from OAuthConfig to AuthConfig
BillingConfig,
CodeExecutionSandboxConfig,
TriggerConfig,
PluginConfig,
MarketplaceConfig,
DataSetConfig,