feat: support llm env in env file (#251)

This commit is contained in:
DanielWalnut
2025-05-28 01:21:40 -07:00
committed by GitHub
parent 462752b462
commit 56e35c6b7f
2 changed files with 31 additions and 6 deletions

View File

@@ -18,6 +18,8 @@ def replace_env_vars(value: str) -> str:
def process_dict(config: Dict[str, Any]) -> Dict[str, Any]:
"""Recursively process dictionary to replace environment variables."""
if not config:
return {}
result = {}
for key, value in config.items():
if isinstance(value, dict):