diff --git a/libs/cli/langgraph_cli/config.py b/libs/cli/langgraph_cli/config.py index d631bc5f1..229ceb732 100644 --- a/libs/cli/langgraph_cli/config.py +++ b/libs/cli/langgraph_cli/config.py @@ -357,6 +357,8 @@ class HttpConfig(TypedDict, total=False): You can include or exclude headers as configurable values to condition your agent's behavior or permissions on a request's headers.""" + logging_headers: Optional[ConfigurableHeaderConfig] + """Optional. Defines which headers are excluded from logging.""" class Config(TypedDict, total=False): diff --git a/libs/cli/schemas/schema.json b/libs/cli/schemas/schema.json index b3de933a0..21dd34a39 100644 --- a/libs/cli/schemas/schema.json +++ b/libs/cli/schemas/schema.json @@ -576,6 +576,17 @@ "disable_threads": { "type": "boolean", "description": "Optional. If True, /threads routes are removed.\n\nDefault is False.\n" + }, + "logging_headers": { + "anyOf": [ + { + "$ref": "#/$defs/ConfigurableHeaderConfig" + }, + { + "type": "null" + } + ], + "description": "Optional. Defines which headers are excluded from logging." } }, "required": [] diff --git a/libs/cli/schemas/schema.v0.json b/libs/cli/schemas/schema.v0.json index b3de933a0..21dd34a39 100644 --- a/libs/cli/schemas/schema.v0.json +++ b/libs/cli/schemas/schema.v0.json @@ -576,6 +576,17 @@ "disable_threads": { "type": "boolean", "description": "Optional. If True, /threads routes are removed.\n\nDefault is False.\n" + }, + "logging_headers": { + "anyOf": [ + { + "$ref": "#/$defs/ConfigurableHeaderConfig" + }, + { + "type": "null" + } + ], + "description": "Optional. Defines which headers are excluded from logging." } }, "required": []