mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-26 23:34:47 +08:00
fix: use return value of resolve_env_variables in config loading
This commit is contained in:
@@ -72,7 +72,7 @@ class AppConfig(BaseModel):
|
|||||||
resolved_path = cls.resolve_config_path(config_path)
|
resolved_path = cls.resolve_config_path(config_path)
|
||||||
with open(resolved_path) as f:
|
with open(resolved_path) as f:
|
||||||
config_data = yaml.safe_load(f)
|
config_data = yaml.safe_load(f)
|
||||||
cls.resolve_env_variables(config_data)
|
config_data = cls.resolve_env_variables(config_data)
|
||||||
|
|
||||||
# Load title config if present
|
# Load title config if present
|
||||||
if "title" in config_data:
|
if "title" in config_data:
|
||||||
|
|||||||
Reference in New Issue
Block a user