//#region src/domains/run/constants/execution-limits/defaults.ts
/**
* Run-API specific execution limit constants that control runtime behavior.
* These are used as defaults when user configuration is null/undefined.
*/
const executionLimitsDefaults = {
	AGENT_EXECUTION_MAX_CONSECUTIVE_ERRORS: 3,
	AGENT_EXECUTION_MAX_GENERATION_STEPS: 50,
	LLM_GENERATION_FIRST_CALL_TIMEOUT_MS_STREAMING: 27e4,
	LLM_GENERATION_FIRST_CALL_TIMEOUT_MS_NON_STREAMING: 9e4,
	LLM_GENERATION_SUBSEQUENT_CALL_TIMEOUT_MS: 9e4,
	LLM_GENERATION_MAX_ALLOWED_TIMEOUT_MS: 6e5,
	FUNCTION_TOOL_EXECUTION_TIMEOUT_MS_DEFAULT: 3e4,
	FUNCTION_TOOL_SANDBOX_VCPUS_DEFAULT: 4,
	FUNCTION_TOOL_SANDBOX_POOL_TTL_MS: 3e5,
	FUNCTION_TOOL_SANDBOX_MAX_USE_COUNT: 50,
	FUNCTION_TOOL_SANDBOX_MAX_OUTPUT_SIZE_BYTES: 1048576,
	FUNCTION_TOOL_SANDBOX_QUEUE_WAIT_TIMEOUT_MS: 3e4,
	FUNCTION_TOOL_SANDBOX_CLEANUP_INTERVAL_MS: 6e4,
	MCP_TOOL_REQUEST_TIMEOUT_MS_DEFAULT: 6e4,
	DELEGATION_TOOL_BACKOFF_INITIAL_INTERVAL_MS: 100,
	DELEGATION_TOOL_BACKOFF_MAX_INTERVAL_MS: 1e4,
	DELEGATION_TOOL_BACKOFF_EXPONENT: 2,
	DELEGATION_TOOL_BACKOFF_MAX_ELAPSED_TIME_MS: 2e4,
	A2A_BACKOFF_INITIAL_INTERVAL_MS: 500,
	A2A_BACKOFF_MAX_INTERVAL_MS: 6e4,
	A2A_BACKOFF_EXPONENT: 1.5,
	A2A_BACKOFF_MAX_ELAPSED_TIME_MS: 3e4,
	ARTIFACT_GENERATION_MAX_RETRIES: 3,
	ARTIFACT_SESSION_MAX_PENDING: 100,
	ARTIFACT_SESSION_MAX_PREVIOUS_SUMMARIES: 3,
	ARTIFACT_GENERATION_BACKOFF_INITIAL_MS: 1e3,
	ARTIFACT_GENERATION_BACKOFF_MAX_MS: 1e4,
	SESSION_TOOL_RESULT_CACHE_TIMEOUT_MS: 3e5,
	SESSION_CLEANUP_INTERVAL_MS: 6e4,
	STATUS_UPDATE_DEFAULT_NUM_EVENTS: 1,
	STATUS_UPDATE_DEFAULT_INTERVAL_SECONDS: 2,
	STREAM_PARSER_MAX_SNAPSHOT_SIZE: 100,
	STREAM_PARSER_MAX_STREAMED_SIZE: 1e3,
	STREAM_PARSER_MAX_COLLECTED_PARTS: 1e4,
	STREAM_BUFFER_MAX_SIZE_BYTES: 5242880,
	STREAM_TEXT_GAP_THRESHOLD_MS: 2e3,
	STREAM_MAX_LIFETIME_MS: 6e5,
	CONVERSATION_HISTORY_DEFAULT_LIMIT: 50,
	CONVERSATION_ARTIFACTS_LIMIT: 12,
	COMPRESSION_HARD_LIMIT: 12e4,
	COMPRESSION_SAFETY_BUFFER: 2e4,
	COMPRESSION_ENABLED: true,
	DURABLE_LLM_GENERATION_TIMEOUT_MS: 3600 * 1e3,
	DURABLE_MCP_TOOL_TIMEOUT_MS: 1800 * 1e3,
	DURABLE_FUNCTION_TOOL_TIMEOUT_MS: 600 * 1e3,
	DURABLE_TOOL_APPROVAL_TIMEOUT_MS: 1800 * 1e3
};

//#endregion
export { executionLimitsDefaults };