feat(cli): enhance agent loading with optional config parameter for improved initialization

This commit is contained in:
X-iZhang
2026-02-25 00:35:40 +00:00
parent 7a6488d51d
commit abf783d2d3
8 changed files with 205 additions and 128 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ def _run_serve_once(
def _fake_ensure_dirs():
order.append(("ensure_dirs", None))
def _fake_load_agent(workspace_dir=None, checkpointer=None):
def _fake_load_agent(workspace_dir=None, checkpointer=None, config=None):
captured["workspace_dir"] = workspace_dir
return object()