Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 94 additions & 0 deletions engine/config/2.0/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,100 @@
"oneOf": [{ "required": ["in_memory"] }, { "required": ["redis"] }],
"additionalProperties": false
},
"execution_logging": {
"type": "object",
"description": "Configures execution logging for tool calls.",
"properties": {
"enabled": {
"description": "Whether execution logging is enabled.",
"oneOf": [
{ "type": "boolean", "default": false },
{ "$ref": "#/$defs/envVarPattern" },
{ "$ref": "#/$defs/filePattern" }
]
},
"max_output_size": {
"description": "The maximum size in bytes of captured tool output.",
"oneOf": [
{ "type": "integer", "default": 10485760 },
{ "$ref": "#/$defs/envVarPattern" },
{ "$ref": "#/$defs/filePattern" }
]
},
"buffer_size": {
"description": "The number of execution log entries to buffer in memory before flushing.",
"oneOf": [
{ "type": "integer", "default": 10000, "minimum": 1, "maximum": 1000000 },
{ "$ref": "#/$defs/envVarPattern" },
{ "$ref": "#/$defs/filePattern" }
]
},
"write_batch_size": {
"description": "The number of execution log entries to write per batch.",
"oneOf": [
{ "type": "integer", "default": 100, "minimum": 1, "maximum": 10000 },
{ "$ref": "#/$defs/envVarPattern" },
{ "$ref": "#/$defs/filePattern" }
]
},
"write_batch_timeout": {
"description": "The maximum time to wait before flushing a partial batch as a duration string (e.g. '200ms'). Maximum '10s'.",
"oneOf": [
{ "type": "string", "default": "200ms" },
{ "$ref": "#/$defs/envVarPattern" },
{ "$ref": "#/$defs/filePattern" }
]
},
"drain_timeout": {
"description": "The maximum time to wait for buffered entries to drain on shutdown as a duration string (e.g. '30s'). Maximum '5m'.",
"oneOf": [
{ "type": "string", "default": "30s" },
{ "$ref": "#/$defs/envVarPattern" },
{ "$ref": "#/$defs/filePattern" }
]
},
"config_cache_ttl": {
"description": "The TTL for caching execution logging configuration as a duration string (e.g. '10s'). Maximum '1h'.",
"oneOf": [
{ "type": "string", "default": "10s" },
{ "$ref": "#/$defs/envVarPattern" },
{ "$ref": "#/$defs/filePattern" }
]
},
"cleanup": {
"type": "object",
"description": "Configures automatic cleanup of old execution logs.",
"properties": {
"batch_size": {
"description": "The number of execution log entries to process per cleanup batch.",
"oneOf": [
{ "type": "integer", "default": 1000, "minimum": 1, "maximum": 100000 },
{ "$ref": "#/$defs/envVarPattern" },
{ "$ref": "#/$defs/filePattern" }
]
},
"mark_interval": {
"description": "The interval between cleanup marking passes as a duration string (e.g. '30m').",
"oneOf": [
{ "type": "string", "default": "30m" },
{ "$ref": "#/$defs/envVarPattern" },
{ "$ref": "#/$defs/filePattern" }
]
},
"sweep_batch_interval": {
"description": "The interval between cleanup sweep batches as a duration string (e.g. '5s').",
"oneOf": [
{ "type": "string", "default": "5s" },
{ "$ref": "#/$defs/envVarPattern" },
{ "$ref": "#/$defs/filePattern" }
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"llm": {
"type": "object",
"description": "Configures the language models that can handle requests.",
Expand Down