From 1ebdb1ba312bae431a16e9510bc966e6b4fa053f Mon Sep 17 00:00:00 2001 From: Isaac Francisco <78627776+isahers1@users.noreply.github.com> Date: Wed, 27 Aug 2025 11:20:06 -0700 Subject: [PATCH] chore: Update schema for new config allowed in LGP (#5875) --- libs/cli/langgraph_cli/config.py | 2 ++ libs/cli/schemas/schema.json | 11 +++++++++++ libs/cli/schemas/schema.v0.json | 11 +++++++++++ 3 files changed, 24 insertions(+) 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": []