From 261e2ee8621af0dcae489ad801a3d49f4029eb09 Mon Sep 17 00:00:00 2001 From: Teknium Date: Mon, 6 Apr 2026 12:12:50 -0700 Subject: [PATCH] fix: restore Path import in env_passthrough.py (removed by #5526) The ContextVar migration removed 'from pathlib import Path' but Path is still used in _load_config_passthrough(). Without this import, config-based env passthrough would raise NameError. --- tools/env_passthrough.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/env_passthrough.py b/tools/env_passthrough.py index e8dc51272..1c70d518f 100644 --- a/tools/env_passthrough.py +++ b/tools/env_passthrough.py @@ -22,6 +22,7 @@ from __future__ import annotations import logging import os from contextvars import ContextVar +from pathlib import Path from typing import Iterable logger = logging.getLogger(__name__)