mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
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.
This commit is contained in:
parent
878b1d3d33
commit
261e2ee862
1 changed files with 1 additions and 0 deletions
|
|
@ -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__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue