|
320 | 320 | "oneOf": [{ "required": ["in_memory"] }, { "required": ["redis"] }], |
321 | 321 | "additionalProperties": false |
322 | 322 | }, |
| 323 | + "execution_logging": { |
| 324 | + "type": "object", |
| 325 | + "description": "Configures execution logging for tool calls.", |
| 326 | + "properties": { |
| 327 | + "enabled": { |
| 328 | + "description": "Whether execution logging is enabled.", |
| 329 | + "oneOf": [ |
| 330 | + { "type": "boolean", "default": false }, |
| 331 | + { "$ref": "#/$defs/envVarPattern" }, |
| 332 | + { "$ref": "#/$defs/filePattern" } |
| 333 | + ] |
| 334 | + }, |
| 335 | + "max_output_size": { |
| 336 | + "description": "The maximum size in bytes of captured tool output.", |
| 337 | + "oneOf": [ |
| 338 | + { "type": "integer", "default": 10485760 }, |
| 339 | + { "$ref": "#/$defs/envVarPattern" }, |
| 340 | + { "$ref": "#/$defs/filePattern" } |
| 341 | + ] |
| 342 | + }, |
| 343 | + "buffer_size": { |
| 344 | + "description": "The number of execution log entries to buffer in memory before flushing.", |
| 345 | + "oneOf": [ |
| 346 | + { "type": "integer", "default": 10000, "minimum": 1, "maximum": 1000000 }, |
| 347 | + { "$ref": "#/$defs/envVarPattern" }, |
| 348 | + { "$ref": "#/$defs/filePattern" } |
| 349 | + ] |
| 350 | + }, |
| 351 | + "write_batch_size": { |
| 352 | + "description": "The number of execution log entries to write per batch.", |
| 353 | + "oneOf": [ |
| 354 | + { "type": "integer", "default": 100, "minimum": 1, "maximum": 10000 }, |
| 355 | + { "$ref": "#/$defs/envVarPattern" }, |
| 356 | + { "$ref": "#/$defs/filePattern" } |
| 357 | + ] |
| 358 | + }, |
| 359 | + "write_batch_timeout": { |
| 360 | + "description": "The maximum time to wait before flushing a partial batch as a duration string (e.g. '200ms'). Maximum '10s'.", |
| 361 | + "oneOf": [ |
| 362 | + { "type": "string", "default": "200ms" }, |
| 363 | + { "$ref": "#/$defs/envVarPattern" }, |
| 364 | + { "$ref": "#/$defs/filePattern" } |
| 365 | + ] |
| 366 | + }, |
| 367 | + "drain_timeout": { |
| 368 | + "description": "The maximum time to wait for buffered entries to drain on shutdown as a duration string (e.g. '30s'). Maximum '5m'.", |
| 369 | + "oneOf": [ |
| 370 | + { "type": "string", "default": "30s" }, |
| 371 | + { "$ref": "#/$defs/envVarPattern" }, |
| 372 | + { "$ref": "#/$defs/filePattern" } |
| 373 | + ] |
| 374 | + }, |
| 375 | + "config_cache_ttl": { |
| 376 | + "description": "The TTL for caching execution logging configuration as a duration string (e.g. '10s'). Maximum '1h'.", |
| 377 | + "oneOf": [ |
| 378 | + { "type": "string", "default": "10s" }, |
| 379 | + { "$ref": "#/$defs/envVarPattern" }, |
| 380 | + { "$ref": "#/$defs/filePattern" } |
| 381 | + ] |
| 382 | + }, |
| 383 | + "coordinator_url": { |
| 384 | + "description": "The URL of the execution logging coordinator service.", |
| 385 | + "oneOf": [ |
| 386 | + { "type": "string", "format": "uri" }, |
| 387 | + { "$ref": "#/$defs/envVarPattern" }, |
| 388 | + { "$ref": "#/$defs/filePattern" } |
| 389 | + ] |
| 390 | + }, |
| 391 | + "cleanup": { |
| 392 | + "type": "object", |
| 393 | + "description": "Configures automatic cleanup of old execution logs.", |
| 394 | + "properties": { |
| 395 | + "batch_size": { |
| 396 | + "description": "The number of execution log entries to process per cleanup batch.", |
| 397 | + "oneOf": [ |
| 398 | + { "type": "integer", "default": 1000, "minimum": 1, "maximum": 100000 }, |
| 399 | + { "$ref": "#/$defs/envVarPattern" }, |
| 400 | + { "$ref": "#/$defs/filePattern" } |
| 401 | + ] |
| 402 | + }, |
| 403 | + "mark_interval": { |
| 404 | + "description": "The interval between cleanup marking passes as a duration string (e.g. '30m').", |
| 405 | + "oneOf": [ |
| 406 | + { "type": "string", "default": "30m" }, |
| 407 | + { "$ref": "#/$defs/envVarPattern" }, |
| 408 | + { "$ref": "#/$defs/filePattern" } |
| 409 | + ] |
| 410 | + }, |
| 411 | + "sweep_batch_interval": { |
| 412 | + "description": "The interval between cleanup sweep batches as a duration string (e.g. '5s').", |
| 413 | + "oneOf": [ |
| 414 | + { "type": "string", "default": "5s" }, |
| 415 | + { "$ref": "#/$defs/envVarPattern" }, |
| 416 | + { "$ref": "#/$defs/filePattern" } |
| 417 | + ] |
| 418 | + } |
| 419 | + }, |
| 420 | + "additionalProperties": false |
| 421 | + } |
| 422 | + }, |
| 423 | + "additionalProperties": false |
| 424 | + }, |
323 | 425 | "llm": { |
324 | 426 | "type": "object", |
325 | 427 | "description": "Configures the language models that can handle requests.", |
|
0 commit comments