feat(config): add actionable startup diagnostics and WebUI recovery (#5110)

This commit is contained in:
chengyongru authored and GitHub committed 2026-07-28 18:52:05 +08:00
1 parent 76ab04ac48
commit 0c6c0438d4
19 files changed
+1425 -64

No files matched your search

+4 -1
View File
@@ -105,7 +105,10 @@ class Nanobot:
if not resolved.exists():
raise FileNotFoundError(f"Config not found: {resolved}")
config: Config = resolve_config_env_vars(load_config(resolved))
config: Config = resolve_config_env_vars(
load_config(resolved),
config_path=resolved,
)
if workspace is not None:
config.agents.defaults.workspace = str(
Path(workspace).expanduser().resolve()